ait-testbed / ait-testbed/attackmate

Misspelled command parameters are silently ignored in playbooks

Đang mở
#262 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
51
Fork
10
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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:

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.