Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-903 Findings from the Threat Model Source-to-image (S2I) Builder Image 1.3.8
  3. BUILD-914

T2129: Exercise security best practices for access management in microservices

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • False
    • None
    • False
    • SECFLOWOTL-30 - s2i Security Review

      Security strategies for access management (MS-SS-2)

      • Define and provision access policies to all APIs and their resources through an access server. Usually, coarse level access policies such as ""Permit to call for a given set of addressable functionalities"" are defined and enforced at the initial API Gateway while the finer grain authorization (specific to particular microservices' business logic) are defined and enforced closer to the microservices (e.g. at the microgateway or the microservice itself).
      • Allow microservices to cache access policies at the time the access server becomes unavailable. These caches must expire after a set period of time depending on environment and infrastructure parameters.
      • Use standardized tokens encoded in platform-independent format (e.g. OAuth 2.0 token formatted in JSON) to communicate the access decisions by the access servers to microservices. These tokens should be either handle-based or assertion bearing. For more information on OAuth 2.0, please see [T1887: Decide on the right OAuth 2.0 flow for your application|/library/tasks/T1887/].
      • Carefully control the scope of internal authorization tokens appended by the micro gateway to each request. For example, in a request for transaction, the internal authorization token's scope should be limited to only involve the API endpoints that must be accessed for that transaction.

      Imported from SD Elements: https://redhat.sdelements.com/bunits/psse-secure-development/group-2-extended-functionality-offerings/openshift-source-to-image-s2i-builder-image/tasks/phase/architecture-design/106-T2129/

              gkamathe@redhat.com Gaurav Kamathe
              sdelements Jira-SD-Elements-Integration Bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: