ait-testbed / ait-testbed/attackmate

Misspelled command parameters are silently ignored in playbooks

Aperta
#262 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
51
Fork
10
Merge medio
1g 6h
PR unite (30g)
3

Descrizione

When a playbook command has a misspelled parameter (e.g. backgound instead of background), Pydantic silently drops the unknown key and the playbook runs with giving no error or warning.
The parser should reject unknown fields.

### Your environment
* Version of AttackMate (`attackmate --version`)
* Python version (`python --version`)
* Ansible, Docker, pip, or uv installation?
* OS and version

### Steps to reproduce
Tell us how to reproduce this issue.

### Playbook
Provide a minimal playbook that reproduces the issue (remove sensitive data):

```yaml

```

### Config
Provide the config you used.

```yaml

```

### Expected behaviour
Tell us what should happen

### Actual behaviour
Tell us what happens instead

### Log output
Paste the relevant log output or error/stack trace here:

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.