fix(inspector2): Report must have status field (#3419)

This commit is contained in:
Pepe Fagoaga
2024-02-20 12:58:03 +01:00
committed by GitHub
parent bdf3236350
commit 753f32b4cb
3 changed files with 9 additions and 8 deletions

View File

@@ -176,7 +176,7 @@ class Test_inspector2_active_findings_exist:
assert result[0].status == "FAIL"
assert (
result[0].status_extended
== "There are 1 ACTIVE Inspector2 findings."
== "There are 1 active Inspector2 findings."
)
assert result[0].resource_id == AWS_ACCOUNT_NUMBER
assert (
@@ -242,7 +242,7 @@ class Test_inspector2_active_findings_exist:
assert result[0].status == "FAIL"
assert (
result[0].status_extended
== "There are 1 ACTIVE Inspector2 findings."
== "There are 1 active Inspector2 findings."
)
assert result[0].resource_id == AWS_ACCOUNT_NUMBER
assert (