v1
latestOpenAPI 3.1.02026-07-245531,0212.1 MBList file violations
Get the list of file violations.
Query parameters
Filter the file violations by policy. Specify the unique ID of the Sensitive Data Governance policy. Get the ID of the policy using the 'List all configured policies' API.
The token to access the next page of results. Use the token value received in the previous response's parameter 'pageToken'.
Filter and list the file violations by the following violation type:
All - List all, critical and non critical violations. critical - List only critical violations. nonCritical - List only non critical violations.
Filter and list the file violations by the following violation status:
pendingOnAdmin - List all file violations on which admin action is pending. pendingOnUser - List all file violations on which user action is pending.
Filter and list all file violations for a user with matching user name or email address.
Filter and list the file violations based on their resolution type as follows:
active - List all active file violations. resolved - List all file violations that are resolved. quarantined - List all file violations which are quarantined.
Response
OK
Example response
{
"violations": [
{
"id": 1,
"resourceParentID": 2,
"violatedPolicies": [
1,
2,
3
],
"violatedDatatypes": [
52
],
"versionCount": 1,
"lastUpdated": "2019-10-12T07:20:50Z",
"datatypeCount": 1,
"version": 16,
"resourceID": 1000001,
"violationStatus": "Pending on user",
"mimetype": "text/plain",
"severity": "Critical",
"username": "Username",
"deviceName": "DDSPL2291",
"fileName": "aadhar.txt",
"violatedPoliciesName": [
"aadhar_policy",
"pan_policy",
"credit_policy"
],
"sensitiveDataFound": "aadhar_data",
"resolutionDetails": {
"14": "False Positive"
},
"comments": "Additional Comment",
"violationReportedOn": "2019-10-12T07:20:50Z",
"resolvedOn": "2019-10-12T07:20:50Z"
}
]
}