Implement Additional Metrics for Security Policies Group

Proposal

The following metrics will be tracked and will be made available in SiSense:

General Metrics

  1. The number of projects with at least one active security policy of any kind.
  2. The total number of users who have committed to a merge request in a project with at least one active security policy.

Scan Execution Policy Metrics

  1. The total number of scan execution security policies at the group or sub-group levels.
  2. The total number of active scan execution security policies at the group or sub-group levels.
  3. The total number of scan execution security policies at the group or sub-group levels multiplied by the number of projects that they impact.
  4. The total number of active scan execution security policies at the group or sub-group levels multiplied by the number of projects that they impact.
  5. The total number of scan execution security policies at the project level.
  6. The total number of active scan execution security policies at the project level.

Scan Result Policy Metrics

  1. The total number of scan result security policies at the group or sub-group levels.
  2. The total number of active scan result security policies at the group or sub-group levels.
  3. The total number of scan result security policies at the group or sub-group levels multiplied by the number of projects that they impact.
  4. The total number of active scan result security policies at the group or sub-group levels multiplied by the number of projects that they impact.
  5. The total number of scan result security policies at the project level.
  6. The total number of active scan result security policies at the project level.

Scan Result -> Security Scanning Policy Metrics

  1. The total number of scan result security policies at the group or sub-group levels with at least one "security scanning" rule.
  2. The total number of active scan result security policies at the group or sub-group levels with at least one "security scanning" rule.
  3. The total number of scan result security policies at the group or sub-group levels with at least one "security scanning" rule multiplied by the number of projects that they impact.
  4. The total number of active scan result security policies at the group or sub-group levels with at least one "security scanning" rule multiplied by the number of projects that they impact.
  5. The total number of scan result security policies at the project level with at least one "security scanning" rule.
  6. The total number of active scan result security policies at the project level with at least one "security scanning" rule.

Scan Result -> License Scanning Policy Metrics

  1. The total number of scan result security policies at the group or sub-group levels with at least one "license scanning" rule.
  2. The total number of active scan result security policies at the group or sub-group levels with at least one "license scanning" rule.
  3. The total number of scan result security policies at the group or sub-group levels with at least one "license scanning" rule multiplied by the number of projects that they impact.
  4. The total number of active scan result security policies at the group or sub-group levels with at least one "license scanning" rule multiplied by the number of projects that they impact.
  5. The total number of scan result security policies at the project level with at least one "license scanning" rule.
  6. The total number of active scan result security policies at the project level with at least one "license scanning" rule.
Edited by 🤖 GitLab Bot 🤖