Skip to content

Commit

Permalink
docs: add community contribution presets
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Oct 10, 2024
1 parent 29b8926 commit 8e7dadb
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
100 changes: 100 additions & 0 deletions docs/config-contrib.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Config Contributions

## Community Presets

These are a collection of presets from the community.

!!! warning
These presets are built from feedback from the community, they are not routinely tested. Use at your own risk.

### Filter SSO Resources

This is a preset to filter out AWS SSO resources.

```yaml
presets:
sso:
filters:
IAMSAMLProvider:
- type: "regex"
value: "AWSSSO_.*_DO_NOT_DELETE"
IAMRole:
- type: "glob"
value: "AWSReservedSSO_*"
IAMRolePolicyAttachment:
- type: "glob"
value: "AWSReservedSSO_*"
```
### Filter Control Tower
This is a preset to filter out AWS Control Tower resources.
```yaml
presets:
controltower:
filters:
CloudTrailTrail:
- type: "contains"
value: "aws-controltower"
CloudWatchEventsRule:
- type: "contains"
value: "aws-controltower"
EC2VPCEndpoint:
- type: "contains"
value: "aws-controltower"
EC2VPC:
- type: "contains"
value: "aws-controltower"
OpsWorksUserProfile:
- type: "contains"
value: "AWSControlTowerExecution"
CloudWatchLogsLogGroup:
- type: "contains"
value: "aws-controltower"
- type: "contains"
value: "AWSControlTowerBP"
CloudWatchEventsTarget:
- type: "contains"
value: "aws-controltower"
SNSSubscription:
- type: "contains"
value: "aws-controltower"
SNSTopic:
- type: "contains"
value: "aws-controltower"
EC2Subnet:
- type: "contains"
value: "aws-controltower"
ConfigServiceDeliveryChannel:
- type: "contains"
value: "aws-controltower"
ConfigServiceConfigurationRecorder:
- type: "contains"
value: "aws-controltower"
CloudFormationStack:
- type: "contains"
value: "AWSControlTower"
EC2RouteTable:
- type: "contains"
value: "aws-controltower"
LambdaFunction:
- type: "contains"
value: "aws-controltower"
EC2DHCPOption:
- type: "contains"
value: "aws-controltower"
IAMRole:
- type: "contains"
value: "aws-controltower"
- type: "contains"
value: "AWSControlTower"
IAMRolePolicyAttachment:
- type: "contains"
value: "aws-controltower"
- type: "contains"
value: "AWSControlTower"
IAMRolePolicy:
- type: "contains"
value: "aws-controltower"
```
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ nav:
- Presets: config-presets.md
- Custom Endpoints: config-custom-endpoints.md
- Migration Guide: config-migration.md
- Examples & Presets: config-contrib.md
- Resources:
- Overview: resources/overview.md
- Cognito User Pool: resources/cognito-user-pool.md
Expand Down

0 comments on commit 8e7dadb

Please sign in to comment.