- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-31-2020 12:27 AM - last edited on 09-02-2020 10:47 AM by CHopson
Policy Name : AWS RDS instance with Multi-Availability Zone disabled.
Policy Mode : Prisma Cloud Default
RQL : config where cloud.type = 'aws' AND api.name = 'aws-rds-describe-db-instances' AND json.rule = '(engine does not contain aurora and engine does not contain sqlserver and engine does not contain docdb) and (multiAZ is false or multiAZ does not exist)'
Why exclude the aurora, sqlserver, and docdb engines?
09-14-2022 07:51 AM
Before RQL fix:
config where cloud.type = 'aws' AND api.name = 'aws-rds-describe-db-instances' AND json.rule = 'multiAZ is false or multiAZ does not exist'
At one point it incorrectly was alerting on an Aurora DB, regardless of the multi-AZ configuration. The issue is that it was looking for the JSON item multiAZ is false or multiAZ does not exist, but for an Aurora DB, the JSON always returns the multi-AZ configuration as false (even if it is configured properly in a multi-az operation).
To avoid false positives, RQL is updated to ignore Microsoft sql and aurora database and look for Multi-AZ for other databases.
Multi AZ deployments for Oracle, PostgreSQL, MySQL, and MariaDB DB instances use Amazon's failover technology.
SQL Server DB instances use SQL Server Database Mirroring (DBM).
Regards,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!