-
Notifications
You must be signed in to change notification settings - Fork 104
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
Adding Shield Tables #2315
Adding Shield Tables #2315
Conversation
…e if List function is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @dbermuehler, I've provided a few initial review comments for the tables, particularly for aws_shield_attack
. These comments can be applied across all the aws_shield_*
tables.
Please take a look and make the necessary changes where applicable.
Additionally, the table documentation can be improved by adding more example queries by joining the tables.
Note: I see that we are updating the AWS SDK version to v1.31.0
. Please ensure that this update does not affect any other tables.
Thanks!
Co-authored-by: ParthaI <[email protected]>
Hey folks, this is an awesome PR! Our team will really benefit from having this tables in Steampipe. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @dbermuehler, I have left a few minor review comments. Please take look, thanks!
@misraved, could you please review this PR when you have a chance and proceed if everything looks good? Note: Regarding the optional qualifiers ( You can find the related discussion in the community channel. Your feedback would be greatly appreciated. Thanks! |
Thanks @dbermuehler for the new set of tables 👍!! Could you please add query results(without any sensitive information) to the PR body? |
Thank you @misraved. I added the queries, including the (anonymized) query results. |
This PR adds all relevant Shield APIs as tables to Steampipe. It will add the following new tables:
aws_shield_protection
aws_shield_protection_group
aws_shield_attack
aws_shield_attack_summary
aws_shield_attack_statistic
aws_shield_subscription
aws_shield_drt_access
aws_shield_emergency_contact
Since this is my first time contributing to this project and also the first time I worked with go, I would be more than happy to receive some feedback especially on the following points:
KeyColumns
for theGet
andList
functions correct and can help to speed up the SQL queries?aws_shield_emergency_contact
andaws_shield_attack_statistic
aws_shield_subscription
table work properly if it is used with an AWS account that is not subscribed to Shield Advanced already?Looking forward to your feedback! Cheers!
Integration test logs
Logs
Example query results
Results
aws_shield_attack
aws_shield_attack_statistic
aws_shield_drt_access
aws_shield_emergency_contact
aws_shield_protection
aws_shield_subscription
aws_shield_protection_group