Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
  • Loading branch information
nikpivkin committed Oct 15, 2024
1 parent 36fafe7 commit 3f0a2ab
Show file tree
Hide file tree
Showing 264 changed files with 1,014 additions and 421 deletions.
1 change: 0 additions & 1 deletion avd_docs/aws/apigateway/AVD-AWS-0001/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Resources:
ApiId: GoodApi
StageName: GoodApiStage
Type: AWS::ApiGatewayV2::Stage

```
1 change: 0 additions & 1 deletion avd_docs/aws/athena/AVD-AWS-0006/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Resources:
EncryptionConfiguration:
EncryptionOption: SSE_KMS
Type: AWS::Athena::WorkGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/athena/AVD-AWS-0007/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Resources:
EncryptionConfiguration:
EncryptionOption: SSE_KMS
Type: AWS::Athena::WorkGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudfront/AVD-AWS-0010/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Resources:
- DomainName: https://some.domain
Id: somedomain1
Type: AWS::CloudFront::Distribution

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudfront/AVD-AWS-0011/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
Id: somedomain1
WebACLId: waf_id
Type: AWS::CloudFront::Distribution

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudfront/AVD-AWS-0012/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
Id: somedomain1
WebACLId: waf_id
Type: AWS::CloudFront::Distribution

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudfront/AVD-AWS-0013/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Resources:
ViewerCertificate:
MinimumProtocolVersion: TLSv1.2_2021
Type: AWS::CloudFront::Distribution

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudtrail/AVD-AWS-0014/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Resources:
S3KeyPrefix: /trailing
TrailName: Cloudtrail
Type: AWS::CloudTrail::Trail

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudtrail/AVD-AWS-0015/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Resources:
S3KeyPrefix: /trailing
TrailName: Cloudtrail
Type: AWS::CloudTrail::Trail

```
#### Remediation Links
Expand Down
1 change: 0 additions & 1 deletion avd_docs/aws/cloudtrail/AVD-AWS-0016/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Resources:
S3KeyPrefix: /trailing
TrailName: Cloudtrail
Type: AWS::CloudTrail::Trail

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudtrail/AVD-AWS-0161/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Resources:
S3BucketName: my-bucket
TrailName: Cloudtrail
Type: AWS::CloudTrail::Trail

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudtrail/AVD-AWS-0162/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Resources:
CloudWatchLogsLogGroupArn: arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail/DefaultLogGroup:*
TrailName: Cloudtrail
Type: AWS::CloudTrail::Trail

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudtrail/AVD-AWS-0163/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Resources:
S3BucketName: my-bucket
TrailName: Cloudtrail
Type: AWS::CloudTrail::Trail

```
1 change: 0 additions & 1 deletion avd_docs/aws/cloudwatch/AVD-AWS-0017/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Resources:
LogGroupName: aws/lambda/goodExample
RetentionInDays: 30
Type: AWS::Logs::LogGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/codebuild/AVD-AWS-0018/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Resources:
Path: String
Type: String
Type: AWS::CodeBuild::Project

```
2 changes: 0 additions & 2 deletions avd_docs/aws/config/AVD-AWS-0019/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Resources:
- AllAwsRegions: true
ConfigurationAggregatorName: GoodAccountLevelAggregation
Type: AWS::Config::ConfigurationAggregator

```
```yaml
Resources:
Expand All @@ -19,7 +18,6 @@ Resources:
OrganizationAggregationSource:
AllAwsRegions: true
Type: AWS::Config::ConfigurationAggregator

```
1 change: 0 additions & 1 deletion avd_docs/aws/documentdb/AVD-AWS-0020/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Resources:
DBInstanceIdentifier: sample-cluster-instance-0
PreferredMaintenanceWindow: sat:06:54-sat:07:24
Type: AWS::DocDB::DBInstance

```
1 change: 0 additions & 1 deletion avd_docs/aws/documentdb/AVD-AWS-0021/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Resources:
DBInstanceIdentifier: sample-cluster-instance-0
PreferredMaintenanceWindow: sat:06:54-sat:07:24
Type: AWS::DocDB::DBInstance

```
1 change: 0 additions & 1 deletion avd_docs/aws/documentdb/AVD-AWS-0022/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Resources:
DBInstanceIdentifier: sample-cluster-instance-0
PreferredMaintenanceWindow: sat:06:54-sat:07:24
Type: AWS::DocDB::DBInstance

```
1 change: 0 additions & 1 deletion avd_docs/aws/dynamodb/AVD-AWS-0023/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Resources:
SSESpecification:
SSEEnabled: true
Type: AWS::DAX::Cluster

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0008/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Resources:
ImageId: ami-123456
InstanceType: t2.small
Type: AWS::AutoScaling::LaunchConfiguration

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0009/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Resources:
ImageId: ami-123456
InstanceType: t2.small
Type: AWS::AutoScaling::LaunchConfiguration

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0026/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Resources:
KmsKeyId: alias/volumeEncrypt
Size: 100
Type: AWS::EC2::Volume

```
2 changes: 0 additions & 2 deletions avd_docs/aws/ec2/AVD-AWS-0027/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Resources:
KmsKeyId: alias/volumeEncrypt
Size: 100
Type: AWS::EC2::Volume

```
```yaml
Resources:
Expand All @@ -21,7 +20,6 @@ Resources:
KmsKeyId: MyStack:Key
Size: 100
Type: AWS::EC2::Volume

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0029/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
KeyName: testkey
UserData: export SSM_PATH=/database/creds
Type: AWS::EC2::Instance

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0099/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Resources:
- CidrIp: 127.0.0.1/32
IpProtocol: "-1"
Type: AWS::EC2::SecurityGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0102/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
Ref: NetworkACL
RuleAction: allow
Type: AWS::EC2::NetworkAclEntry

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0104/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Resources:
- CidrIp: 127.0.0.1/32
IpProtocol: "6"
Type: AWS::EC2::SecurityGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0105/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
Protocol: 6
RuleAction: allow
Type: AWS::EC2::NetworkAclEntry

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0107/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Resources:
- CidrIp: 127.0.0.1/32
IpProtocol: "6"
Type: AWS::EC2::SecurityGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0124/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Resources:
Description: Can connect to loopback
IpProtocol: "-1"
Type: AWS::EC2::SecurityGroup

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0129/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Resources:
Roles:
- MyAdminRole
Type: AWS::IAM::InstanceProfile

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0130/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Resources:
HttpEndpoint: enabled
HttpTokens: required
Type: AWS::AutoScaling::LaunchConfiguration

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0131/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
KeyName: testkey
UserData: export SSM_PATH=/database/creds
Type: AWS::EC2::Instance

```
1 change: 0 additions & 1 deletion avd_docs/aws/ec2/AVD-AWS-0164/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Resources:
Properties:
VpcId: vpc-123456
Type: AWS::EC2::Subnet

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecr/AVD-AWS-0030/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Resources:
ImageTagImmutability: IMMUTABLE
RepositoryName: test-repository
Type: AWS::ECR::Repository

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecr/AVD-AWS-0031/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Resources:
ImageTagMutability: IMMUTABLE
RepositoryName: test-repository
Type: AWS::ECR::Repository

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecr/AVD-AWS-0032/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Resources:
Sid: AllowPushPull
Version: "2012-10-17"
Type: AWS::ECR::Repository

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecr/AVD-AWS-0033/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Resources:
ImageTagImmutability: IMMUTABLE
RepositoryName: test-repository
Type: AWS::ECR::Repository

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecs/AVD-AWS-0034/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Resources:
- Name: containerInsights
Value: enabled
Type: AWS::ECS::Cluster

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecs/AVD-AWS-0035/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Resources:
TransitEncryption: ENABLED
Name: jenkins-home
Type: AWS::ECS::TaskDefinition

```
1 change: 0 additions & 1 deletion avd_docs/aws/ecs/AVD-AWS-0036/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Resources:
TransitEncryption: ENABLED
Name: jenkins-home
Type: AWS::ECS::TaskDefinition

```
1 change: 0 additions & 1 deletion avd_docs/aws/efs/AVD-AWS-0037/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Resources:
PerformanceMode: generalPurpose
ThroughputMode: bursting
Type: AWS::EFS::FileSystem

```
1 change: 0 additions & 1 deletion avd_docs/aws/eks/AVD-AWS-0039/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Resources:
RoleArn: arn:aws:iam::012345678910:role/eks-service-role-good-example
Version: "1.14"
Type: AWS::EKS::Cluster

```
1 change: 0 additions & 1 deletion avd_docs/aws/elasticache/AVD-AWS-0049/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Resources:
CacheSecurityGroupName: GoodExampleCacheGroup
EC2SecurityGroupName: GoodExampleEc2SecurityGroup
Type: AWS::ElastiCache::SecurityGroupIngress

```
1 change: 0 additions & 1 deletion avd_docs/aws/elasticache/AVD-AWS-0049/Terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ resource "aws_elasticache_security_group" "good_example" {
security_group_names = [aws_security_group.bar.name]
description = "something"
}
```

#### Remediation Links
Expand Down
1 change: 0 additions & 1 deletion avd_docs/aws/elasticache/AVD-AWS-0050/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Resources:
- us-west-2b
SnapshotRetentionLimit: 7
Type: AWS::ElastiCache::CacheCluster

```
1 change: 0 additions & 1 deletion avd_docs/aws/elasticache/AVD-AWS-0051/CloudFormation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Resources:
SnapshotWindow: 10:00-12:00
TransitEncryptionEnabled: true
Type: AWS::ElastiCache::ReplicationGroup

```
Loading

0 comments on commit 3f0a2ab

Please sign in to comment.