Skip to content

Update security policies graphql API to filter policies by scope

Why are we doing this work

Currently, when a security policy is scoped to a specific project(s), the policy is still visible on the policies page for the projects that are not in the scoped projects. As a part of this issue, we want to fix this behavior by introducing a new filter param (includeUnscoped) which defaults to true.

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps