Skip to content

Add Whitelist Rules

Request

Creates multiple new whitelist rules for an organization, defining which libraries to match, their vulnerability scores and the actions to take. Whitelisted libraries have been pre-approved by your organization so no policy alerts will be created for them during scans, and they will be ignored by all organizational policies.

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).

Bodyapplication/jsonrequired
rulesArray of objects(CreateWhiteListRuleRequestDTO)
POST
/api/v2.0/orgs/{orgToken}/settings/whiteList/rules
{ "rules": [ {} ] }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValArray of objects(WhiteListRuleDTO)
Response
{ "supportToken": "1171c60d", "retVal": [ {} ] }