Skip to content

Update Multiple In-House Rules

Request

Updates the pattern-mat§ching rules of an In-House library rule

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
Array [
uuidstring(Proprietary Rule UUID)required
Example:"123e4567-e89b-12d3-a456-426655440000"
typestring(Proprietary Rule Regex Type)
Enum:"NAME""LIBRARY_COORDINATES""ARTIFACT_ID"
Example:"NAME"
regexstring(Proprietary Regex Rule)
Example:"*aa*"
descriptionstring(Proprietary Description)
Example:"description for white list"
emptyboolean
]
PUT
/api/v2.0/orgs/{orgToken}/settings/inHouse/rules
[ { "uuid": "123e4567-e89b-12d3-a456-426655440000", "type": "NAME", "regex": "*aa*", "description": "description for white list", "empty": true } ]

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(MessageDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "message": "Success!" } }