Search List of Blocked Commands
Search List of Blocked Commands is a configuration-based API, that helps you to search list of blocked commands.
The API can be executed only by the Manager user role.
Input ParametersInput Parameters
| Parameter | Mandatory/Optional | Data Type | Description |
|---|---|---|---|
| Authorization | Mandatory | String | Authorization token to authenticate to the Qualys Enterprise TruRisk™ Platform. Prepend the token with 'Bearer', followed by a space. For example: Bearer . |
API Request
curl -X POST 'https://<qualys_base_url>/sm/v1/block-commands/search'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {{authToken}}'
--data ''
Response
{
"body": {
"totalCount": 1,
"list": [
{
"languageId": 201,
"commandId": 102,
"language": "PowerShell-Command",
"platform": "WINDOWS",
"commands": [
"runas",
" Get-Service",
" rmdir",
" icacls",
" New-ScheduledTask",
" del",
" curl",
" netsh advfirewall"
]
}
]
}
}