diff --git a/miscellaneous/aws-ecs-container-agent-tasks.yaml b/miscellaneous/aws-ecs-container-agent-tasks.yaml new file mode 100644 index 0000000000..84ffe70e43 --- /dev/null +++ b/miscellaneous/aws-ecs-container-agent-tasks.yaml @@ -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 \ No newline at end of file