Description: Retrieves repository configurations.
Since: 3.41.4
Security: Requires a user with admin permissions.
Usage: GET api/v1/repos_config/{repo_name}
Consumes: application/json
Sample Response
{ "repo_config":{ "vuln_contextual_analysis":true, "retention_in_days":80, "exposure": { "scanners_category": { "malicious_code_scan": true, "services_scan": true, "secrets_scan": true, "iac_scan": false, "applications_scan": false } } }, "repo_paths_config":{ "patterns":[ { "include":"core/**", "exclude":"core/external/**", "index_new_artifacts":true, "retention_in_days":45 } ], "all_other_artifacts":{ "index_new_artifacts":true, "retention_in_days":60 } } }
Response Codes:
403: Forbidden
401: Unauthorized
500: Internal Server Error