PaC - Disabling Policy Blocks when no specified
Closed this issue · 0 comments
GeekMasher commented
Describe the bug
When a block like Secret Scanning is not present and no check will be performed, the engine shouldn't request those endpoints and perform the tests in the first place. This should act the same as disabling a check using the CLI
To Reproduce
Steps to reproduce the behavior:
- Create a policy without
secretscanning
block - See that the API and block is still ran
Expected behavior
This block shouldn't be checked