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
|
2021-08-29 09:46:04 +00:00
|
|
|
tags: aws,docker,ec2
|
2021-08-27 21:50:10 +00:00
|
|
|
description: Aws container metadata content
|
2021-08-29 09:45:16 +00:00
|
|
|
reference: https://docs.aws.amazon.com/en_us/elasticbeanstalk/latest/dg/create_deploy_docker_ecstutorial.html#create_deploy_docker_ecstutorial_connect_inspect
|
|
|
|
|
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
|