RDS Default Port Check
Rule Details
Parameter |
Description |
---|---|
Rule Name |
rds-instance-port-check |
Identifier |
RDS Default Port Check |
Description |
If an RDS instance has unallowed ports enabled, this instance is non-compliant. |
Tag |
rds |
Trigger Type |
Configuration change |
Filter Type |
rds.instances |
Rule Parameters |
|
Application Scenarios
The default port is more likely to be eavesdropped, so a non-default port is recommended. The default port of MySQL is 3306, that of MariaDB is 3306, that of PostgreSQL is 5432, and that of SQL Server is 1433.
Solution
Rule Logic
- If an RDS for MySQL instance uses a port that is forbidden by blockedPortsForMysql, the RDS DB instance is non-compliant.
- If an RDS for PostgreSQL instance uses a port that is forbidden by blockedPortsForMysql, the RDS instance is non-compliant.
- If an RDS for MariaDB instance uses a port that is forbidden by blockedPortsForMariadb, the RDS instance is non-compliant.
- If an RDS for SQLServerinstance uses a port that is forbidden by blockedPortsForSqlserver, the RDS instance is non-compliant.
- If an RDS instance does not use any forbidden port, the RDS instance is compliant.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot