Merge pull request #2501 from dogasantos/master

aws ecs container endpoint with juicy info
patch-1
Sandeep Singh 2021-08-29 15:16:29 +05:30 committed by GitHub
commit ae91d9a37b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
id: aws-ecs-container-agent-tasks
info:
name: aws-ecs-container-agent-tasks
author: dogasantos
severity: info
tags: aws,docker,ec2
description: Aws container metadata content
reference: https://docs.aws.amazon.com/en_us/elasticbeanstalk/latest/dg/create_deploy_docker_ecstutorial.html#create_deploy_docker_ecstutorial_connect_inspect
requests:
- method: GET
path:
- "{{BaseURL}}/v1/metadata"
- "{{BaseURL}}/v1/tasks"
matchers-condition: and
matchers:
- type: word
words:
- "arn:aws:ecs"
- type: status
status:
- 200