Annotate a finding
The UUID of the finding to annotate
The annotation type
DETECTOR_FALSE_POSITIVE
COMPANY_IGNORED_FALSE_POSITIVE
DETECTOR_TRUE_POSITIVE
The comment to add to the annotation
Whether the annotation applies to all findings of this sensitive data (defaults to true)
true
curl -L \ --request POST \ --url 'https://api.nightfall.ai/dlp/v1/findings/{findingId}/annotate' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "type": "DETECTOR_FALSE_POSITIVE", "comment": "text", "autoApply": true }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "type": "DETECTOR_FALSE_POSITIVE", "comment": "text", "autoApply": true }