[Backend] Add scan profile to project type

Add Security Scan Profile to Project Type

Description

Add a new security scan profile field to the project type and introducing appropriate permissions.

Requirements

Backend Changes

  • Add security scan profile field to project type.
  • Create new read_security_scan_profiles permission.
  • Assign permission to developer role and above.
  • Return list of scan profiles attached to a project.
  • Implement scan type as an enum.

API Response

The endpoint should return scan profiles with the following structure:

  • List of scan profiles associated with the project
  • Scan type represented as an enum value

Permissions

  • New permission: read_security_scan_profiles
  • Scope: Developer role and higher access levels

Description was generated using AI

Edited by Gal Katz