SCA API 2.0
//
Create Single In-House Ru...
Creates a single In-House rule to match libraries by name or maven coordinates (artifact id, group id) and designate these libraries as known, trusted entities
Security
bearer-key
POST
{ "type": "NAME", "regex": "*aa*", "description": "description for inHouse rule", "empty": true }
OK
- warningMessage: Serves as an alert to inform you about the status of the rule being updated. The warning message will provide information about whether the rule already exists or if some of the rules are already present
Example:
{ "warningMessage": "item already exists" }
Response
{ "additionalData": { "warningMessage": "item already exists" }, "supportToken": "1171c60d", "retVal": { "uuid": "string", "type": "NAME", "regex": ".*a*", "description": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "string", "empty": true } }