SCA API 2.0
/- Apply Project Policies on Inventory
Get Project Policy
Update Project Policy
Delete Project Policy
Update Project Policy Priorities
Get Project Policies
Create Project Policy
Apply Project Policies on...
After initiating this call, the process will be performed asynchronously in the background. To check the status of the process and retrieve the final outcome, use the "Get Async Process Status" request.
Security
bearer-key
POST
curl -i -X POST \
'https://api-saas.mend.io/api/v2.0/projects/{projectToken}/policies/apply' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "supportToken": "1171c60d", "retVal": { "contextUuid": "caf69794-9882-4b55-82db-6b6da4fe2a26", "uuid": "caf69794-9882-4b55-82db-6b6da4fe2a92", "status": "PENDING", "contextType": "DOMAIN", "created": "2019-08-24T14:15:22Z", "modified": "2019-08-24T14:15:22Z", "processType": "APPLY_POLICIES", "messageContentSha1": "fb4016165697cc32d0b90ccc82e3c2c846eb01b7", "requestToken": "2cd6a43b", "userEmail": "sample@mail.com" } }