Skip to main content

Directing Your Scan: Blacklist, Whitelist & Hotstart 🎯

Gain finer control over how Escape interacts with your API by employing the Blacklist, Whitelist, and Hotstart features.

Blacklist 🚫

Identify the operations that you'd like Escape to skip during its security tests. By blacklisting certain operations, you can ensure these won't be evaluated during the scan. The blacklist parameter is part of the global params keys, referenced here.

{
"params": {
"blacklist": {
"mutation": [
"**operationName**"
],
"objects": [
"**objectName**"
],
"query": [
"**queryName**"
]
}
}
}

Whitelist ✅

By employing a whitelist, you instruct Escape to focus its exploration phase solely on the specified operations. This can make the scan process faster, as Escape narrows its evaluation to just these queries.

{
"whitelist": [
"query { child(parentId: \"b63f4020-45f6-4f33-9747-32ac8f270097\" ) { id name birthdate }}",
"query { bank(account: 1337) { id address }}"
]
}

Hotstart 🚀

Enhance the potency of your scans! By providing legitimate requests via the Hotstart feature, you arm Escape with deeper insights into your application's business logic. This enables Escape to operate with increased efficiency and precision.

The queries and mutations you provide should be listed under the hotstart key. You have the freedom to provide multiple queries, with varying parameters and complexities.

{
"hotstart": [
"query { child(parentId: \"b63f4020-45f6-4f33-9747-32ac8f270097\" ) { id name birthdate }}",
"query { bank(account: 1337) { id address }}"
]
}