mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-27 22:04:20 +00:00
fix(sdk): gate external mutelist delegate to non-builtin providers
- Azure/Cloudflare set per-finding mutelist args inside the loop; the external else-branch was overwriting them - Use is_builtin_provider to scope get_mutelist_finding_args to truly external providers
This commit is contained in:
1 parent
b25a8e5b6e
commit
03cacb83d1
1 file changed
+1
-1
@@ -797,7 +797,7 @@ def execute(
|
||||
is_finding_muted_args["org_domain"] = (
|
||||
global_provider.identity.org_domain
|
||||
)
|
||||
else:
|
||||
elif not is_builtin_provider(global_provider.type):
|
||||
# External/custom provider — delegate identity args
|
||||
is_finding_muted_args = global_provider.get_mutelist_finding_args()
|
||||
|
||||
|
||||
Reference in new issue
Block a user