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

Adding Shield Tables #2315

Merged
merged 41 commits into from
Oct 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1ad40ee
Adding `aws_shield_protection` table
dbermuehler Sep 26, 2024
43f9053
Adding basic documentation
dbermuehler Sep 26, 2024
256a805
Creating Default-Region-Client
dbermuehler Sep 26, 2024
b07cd98
Fixed empty result bug
dbermuehler Sep 26, 2024
221cae5
Adding resourceArn as key column for Get function
dbermuehler Sep 26, 2024
4e5dd69
Filtering for resource_type, resource_arn and protection name possibl…
dbermuehler Sep 26, 2024
ba6e4d6
Adding DRT-Access, Emergency-Contact and Subscription table
dbermuehler Sep 26, 2024
c64413b
Changed akas transform function
dbermuehler Sep 26, 2024
3ea0895
Adding attack statistic table
dbermuehler Sep 27, 2024
767cc7e
Adding protection group table
dbermuehler Sep 27, 2024
756bf4c
Removing log statements
dbermuehler Sep 27, 2024
b104a45
Adding tag support for the protection and protection group table
dbermuehler Sep 27, 2024
5340c5b
Typo
dbermuehler Sep 27, 2024
164fddd
Adding attack table
dbermuehler Sep 27, 2024
55ee9a6
Correcting key column
dbermuehler Sep 27, 2024
8dfefe6
Adding attack summary table
dbermuehler Sep 27, 2024
772faf4
Bug fixes
dbermuehler Sep 27, 2024
1d4eaff
Adding comments to follow coding standard
dbermuehler Sep 27, 2024
68efc36
Adding subscription state to subscription table
dbermuehler Sep 27, 2024
294aeff
Adding documentation
dbermuehler Sep 27, 2024
3e7e59c
Adding artificial priority column to emergency contact list
dbermuehler Sep 30, 2024
f10414c
If never enabled the ProactiveEngagementStatus can be empty -> mappin…
dbermuehler Oct 1, 2024
a8c2b32
Apply suggestions from code review
dbermuehler Oct 1, 2024
b2f1a5b
Sorting tables in alphabetic order
dbermuehler Oct 1, 2024
e18fabe
Merge branch 'main' of github.com:dbermuehler/steampipe-plugin-aws
dbermuehler Oct 1, 2024
cc7b3a9
Adding error handling and remove redundant transform function
dbermuehler Oct 1, 2024
0b6fbe4
Changing column to subscription_state
dbermuehler Oct 1, 2024
64a12f1
Correcting Column Type
dbermuehler Oct 1, 2024
8be7416
Merging aws_shield_attack_summary and aws_shield_attack tables into one
dbermuehler Oct 1, 2024
283141f
Fixing small bug
dbermuehler Oct 2, 2024
92852b1
Improving timerange code
dbermuehler Oct 2, 2024
2238a02
Downgraded Shield package to not upgrade aws-sdk-go-v2 version
dbermuehler Oct 8, 2024
2a29426
Addressing PR comments
dbermuehler Oct 15, 2024
792d40d
Fixed indentation
dbermuehler Oct 15, 2024
d943d28
Adding more queries to the documentation
dbermuehler Oct 15, 2024
fb973d4
Removing start_time and end_time qualifier
dbermuehler Oct 16, 2024
8bd8673
Apply suggestions from code review
dbermuehler Oct 24, 2024
7f54f08
Added LIST FUNCTIONS comment
dbermuehler Oct 24, 2024
e5394dc
Added more SQL examples that contain joins
dbermuehler Oct 24, 2024
1aa4c10
Fixing bug in documentation
dbermuehler Oct 28, 2024
bc972ce
Fixing documentation
dbermuehler Oct 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed akas transform function
dbermuehler committed Sep 26, 2024
commit c64413b33d5e57ec225a94b76e4986d82870ce8a
2 changes: 1 addition & 1 deletion aws/table_aws_shield_protection.go
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ func tableAwsShieldProtection(_ context.Context) *plugin.Table {
Name: "akas",
Description: resourceInterfaceDescription("akas"),
Type: proto.ColumnType_JSON,
Transform: transform.FromField("ProtectionArn").Transform(transform.EnsureStringArray),
Transform: transform.FromField("ProtectionArn").Transform(arnToAkas),
dbermuehler marked this conversation as resolved.
Show resolved Hide resolved
},
}),
}
2 changes: 1 addition & 1 deletion aws/table_aws_shield_subscription.go
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ func tableAwsShieldSubscription(_ context.Context) *plugin.Table {
Name: "akas",
Description: resourceInterfaceDescription("akas"),
Type: proto.ColumnType_JSON,
Transform: transform.FromField("Subscription.SubscriptionArn").Transform(transform.EnsureStringArray),
Transform: transform.FromField("Subscription.SubscriptionArn").Transform(arnToAkas),
},
}),
}