Security Compass

Get the per-countermeasure coverage audit

Requires current repository visibility for the mapped repository; inaccessible mappings return 404. Read the per-countermeasure coverage breakdown recorded by the last successful sync: for each SD Elements task, whether ZeroPath covers it with built-in analysis ('sast'), an auto-generated natural-language rule ('nl_rule'), or not at all ('unsupported', with the catalog's reject reason when known). The audit is null before the first successful sync.

post/api/v2/securityCompass/getMappingAudit

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring required

Organization that owns the integration.

mappingIdstring required

cuid of the project mapping whose audit to read.

Response

The mapping audit

mappingIdstring required
sdeProjectIdstring required
repositoryNamestring required
lastSyncAtstring date-time nullable required

Completion time of the last successful sync; null before the first one.

supportedCountinteger required

Countermeasures ZeroPath covers (built-in analysis or generated rule).

totalCountinteger nullable required

Total countermeasures in the audit; null before the first successful sync.

Changes

No recorded changes to this operation across all 1 revision of this API.