Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #329362
Closed
Open
Issue created Apr 28, 2021 by Sam Kerr@stkerr🎙Developer0 of 6 checklist items completed0/6 checklist items

New Audit Event: Compliance framework label on project changed

Release notes

Problem to solve

Users may change the compliance framework label on a project. This change could be potentially controversial or unintended, so organizations wish to be able to have a record of this happening. Today, there is no audit event created for any changes to this label.

Proposal

Create a new audit event in the audit log when a project's compliance framework label changes.

Implementation Plan

  • Add Auditable concern to ComplianceManagement::ComplianceFramework::ProjectSetting.
    As the join table between Project and ComplianceManagement::Framework, the creation or destruction of a row represents when a framework is added or removed from a project.
  • Add specs to assert that the audit event is created when:
    • A project has a new framework added to it.
    • A project has a framework removed.
Edited Jun 03, 2021 by Max Woolf
Assignee
Assign to
Time tracking