Security Compass

Sync rules for a mapping

Enqueue a background rule sync for one mapping: SD Elements countermeasures are fetched, classified (built-in SAST coverage / natural-language rule / unsupported), and ZeroPath rules are created or updated. Returns immediately with status 'enqueued'; poll securityCompass.getIntegration (ruleSync.state) or securityCompass.getMappingAudit for the outcome. Fails with 409 while a sync is already running for the mapping.

post/api/v2/securityCompass/syncRules

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 to sync.

Response

Enqueue confirmation

status'enqueued' required

The sync runs in the background. Poll securityCompass.getIntegration (ruleSync.state) or securityCompass.getMappingAudit for the result.

Changes

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