ait-testbed / ait-testbed/attackmate

Misspelled command parameters are silently ignored in playbooks

未关闭
#262 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
51
派生
10
平均合并
1 天 6 小时
30 天内合并 PR
3

描述

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:

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。