Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-4807

Address sonar security hotspot in ACM

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • None
    • None
    • None

      The team decided to disable default CSRF Spring protection and not implement CSRF tokens validation. ACM is a stateless REST API that is not as vulnerable to CSRF attacks as web applications running in web browsers are. ACM  does not manage sessions, each request requires the authentication token in the header.

      See https://docs.spring.io/spring-security/site/docs/5.3.8.RELEASE/reference/html5/#csrf

      So, we can suppress this warning in sonar

            Unassigned Unassigned
            saul.gill Saul Gill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: