Closed vatsalgit5118 closed 1 year ago
@rezoan please review
@rezoan ,
In the snapshot, the resource is not available. So, that policy will skip at the time of executing the compliance.
And the default value of rds_encrypt_key
is true. So in the result, it shows the true
.
@vatsalgit5118 is there any way i can test the scenario (how the policy get skipped if resource not available) without connecting to cloud?
@rezoan, If the cloud does not have the required resource, a snapshot will not be created for the corresponding master snapshot. The master snapshot ID is included in the list of master test cases. Since the snapshot list is empty, no test cases will be executed for that master snapshot, causing it to be skipped.
@rezoan, I have updated the PR based on the found bugs.
all the snapshots are getting generated.
Created AWS policies to check,