Skip to content

Commit cb60870

Browse files
committed
Updated attack example 1
1 parent 6d7b367 commit cb60870

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ gremlinapi.login(email='kyle@gremlin.com',
4242

4343
## Launching Attacks
4444

45-
#### Request Body
45+
#### Example 1
46+
47+
This will launch a 100ms latency attack, limited to ICMP traffic, against a single random container
48+
with the ECS container-name `swissknife`
4649

4750
```python
4851
from gremlinapi.config import GremlinAPIConfig as config
@@ -51,7 +54,7 @@ config.bearer_token = 'Bearer MU....ziTk....40z...c='
5154
config.team_guid = '9676868b-60d2-5ebe-aa66-c1de8162ff9d'
5255
body = {
5356
'target': {
54-
'type': "Random",
57+
'type': 'Random',
5558
'containers': {
5659
'multiSelectLabels': {
5760
"com.amazonaws.ecs.container-name": [

0 commit comments

Comments
 (0)