Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table aws_rds_db_recommendation Closes #2050 #2238

Merged
merged 3 commits into from
Jul 5, 2024
Merged

Add table aws_rds_db_recommendation Closes #2050 #2238

merged 3 commits into from
Jul 5, 2024

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Jul 5, 2024

Integration test logs

Logs
N/A

Example query results

Results
> select * from aws_aab.aws_rds_db_recommendation where status = 'resolved'
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| recommendation_id                    | resource_arn                                     | category    | status   | created_time              | updated_time              | description                                                   >
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| abdf092e-af8c-4e16-98f1-61a24d75f7f0 | arn:aws:rds:us-east-1:xxxxxxxxxxxx:db:database-1 | reliability | resolved | 2024-05-20T19:51:34+05:30 | 2024-05-20T20:12:27+05:30 | We recommend that you use Multi-AZ deployment. The Multi-AZ de>
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->

> select * from aws_aab.aws_rds_db_recommendation where updated_time <= '2024-06-20T20:12:27+05:30'
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| recommendation_id                    | resource_arn                                     | category    | status   | created_time              | updated_time              | description                                                   >
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| abdf092e-af8c-4e16-98f1-61a24d75f7f0 | arn:aws:rds:us-east-1:xxxxxxxxxxxx:db:database-1 | reliability | resolved | 2024-05-20T19:51:34+05:30 | 2024-05-20T20:12:27+05:30 | We recommend that you use Multi-AZ deployment. The Multi-AZ de>
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->

> select * from aws_aab.aws_rds_db_recommendation where severity = 'informational'
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| recommendation_id                    | resource_arn                                     | category    | status   | created_time              | updated_time              | description                                                   >
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| abdf092e-af8c-4e16-98f1-61a24d75f7f0 | arn:aws:rds:us-east-1:xxxxxxxxxxxx:db:database-1 | reliability | resolved | 2024-05-20T19:51:34+05:30 | 2024-05-20T20:12:27+05:30 | We recommend that you use Multi-AZ deployment. The Multi-AZ de>
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->

> select * from aws_aab.aws_rds_db_recommendation where type_id = 'config_recommendation::multi_az_instance'
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| recommendation_id                    | resource_arn                                     | category    | status   | created_time              | updated_time              | description                                                   >
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| abdf092e-af8c-4e16-98f1-61a24d75f7f0 | arn:aws:rds:us-east-1:xxxxxxxxxxxx:db:database-1 | reliability | resolved | 2024-05-20T19:51:34+05:30 | 2024-05-20T20:12:27+05:30 | We recommend that you use Multi-AZ deployment. The Multi-AZ de>
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->


> select * from aws_aab.aws_rds_db_recommendation where recommendation_id = 'abdf092e-af8c-4e16-98f1-61a24d75f7f0'
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| recommendation_id                    | resource_arn                                     | category    | status   | created_time              | updated_time              | description                                                   >
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->
| abdf092e-af8c-4e16-98f1-61a24d75f7f0 | arn:aws:rds:us-east-1:xxxxxxxxxxxx:db:database-1 | reliability | resolved | 2024-05-20T19:51:34+05:30 | 2024-05-20T20:12:27+05:30 | We recommend that you use Multi-AZ deployment. The Multi-AZ de>
+--------------------------------------+--------------------------------------------------+-------------+----------+---------------------------+---------------------------+--------------------------------------------------------------->


@ParthaI ParthaI requested a review from misraved July 5, 2024 13:54
@ParthaI ParthaI self-assigned this Jul 5, 2024
@ParthaI ParthaI linked an issue Jul 5, 2024 that may be closed by this pull request
@misraved misraved merged commit 72e7004 into main Jul 5, 2024
1 check passed
@misraved misraved deleted the issue-2050 branch July 5, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table aws_rds_db_recommendation
2 participants