2021-08-27 21:50:10 +00:00
|
|
|
id: aws-ecs-container-agent-tasks
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: aws-ecs-container-agent-tasks
|
|
|
|
author: dogasantos
|
|
|
|
severity: info
|
|
|
|
description: Aws container metadata content
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.aws.amazon.com/en_us/elasticbeanstalk/latest/dg/create_deploy_docker_ecstutorial.html#create_deploy_docker_ecstutorial_connect_inspect
|
|
|
|
tags: aws,docker,ec2
|
2021-08-29 09:45:16 +00:00
|
|
|
|
2021-08-27 21:50:10 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/v1/metadata"
|
|
|
|
- "{{BaseURL}}/v1/tasks"
|
2021-08-29 09:45:16 +00:00
|
|
|
|
2021-08-27 21:50:10 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "arn:aws:ecs"
|
2021-08-29 09:45:16 +00:00
|
|
|
|
2021-08-27 21:50:10 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2021-08-29 09:45:16 +00:00
|
|
|
- 200
|