github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/ec2/as_enforce_http_token_imds.cf.go (about) 1 package ec2 2 3 var cloudformationASEnforceHttpTokenImdsGoodExamples = []string{ 4 `--- 5 Resources: 6 GoodExample: 7 Type: AWS::AutoScaling::LaunchConfiguration 8 Properties: 9 MetadataOptions: 10 HttpTokens: required 11 HttpEndpoint: enabled 12 `, 13 } 14 15 var cloudformationASEnforceHttpTokenImdsBadExamples = []string{ 16 `--- 17 Resources: 18 BadExample: 19 Type: AWS::AutoScaling::LaunchConfiguration 20 Properties: 21 MetadataOptions: 22 HttpTokens: optional 23 HttpEndpoint: enabled 24 `, 25 } 26 27 var cloudformationASEnforceHttpTokenImdsLinks = []string{} 28 29 var cloudformationASEnforceHttpTokenImdsRemediationMarkdown = ``