Skip to content

Update single Whitelist Rule

Request

Updates the properties of a single whitelist rule of an organization, including matching libraries, their vulnerability scores and the actions to take

Security
bearer-key
Path
orgTokenstringrequired

org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).

uuidstringrequired

AllowList rule UUID

Bodyapplication/jsonrequired
regexstring(White List Regex Rule)
Example:"*aa*"
descriptionstring(White List Description)
Example:"description for white list"
PUT
/api/v2.0/orgs/{orgToken}/settings/whiteList/{uuid}
{ "regex": "*aa*", "description": "description for white list" }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(WhiteListRuleDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "regexType": "BY_NAME", "regex": "*aa*", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "description": "Sample description" } }