mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-04 05:25:56 +00:00
Merge pull request #611 from shuhuNB515/ci/run-tamper-hooks-tests
ci: run the tampering-hook tests in the web job
This commit is contained in:
commit
f736dbba99
2 changed files with 2 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -160,6 +160,7 @@ jobs:
|
|||
- run: npm run test:replay
|
||||
- run: npm run test:upload
|
||||
- run: npm run test:traffic-stream
|
||||
- run: npm run test:tamper-hooks
|
||||
- run: npm run test:i18n
|
||||
- run: npm run test:bash
|
||||
- run: npm run build:static
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ All notable changes to this project are documented in this file. The format is b
|
|||
|
||||
### Added
|
||||
|
||||
- **Tampering-hook tests run in CI**: the `web` job now runs `npm run test:tamper-hooks`. The suite existed as a script but no workflow called it, so a regression in the tampering-hook editor's payload and validation handling could merge without failing a check.
|
||||
- **Preinstalled Python packages for agent scripts**: `requests`, `beautifulsoup4`, `lxml`, `urllib3`, `pyyaml`, `jinja2`, `colorama` and `tqdm` are preinstalled in the runtime image with pinned versions so agent-generated scripts run without runtime pip downloads.
|
||||
|
||||
- **Pentest knowledge pack**: the planner and the workers can call a read-only `knowledge_lookup` tool to resolve a MITRE ATT&CK technique, an OWASP WSTG test or a CWE weakness by id or keyword, and cite the id in findings and facts. The pack is generated from the official sources by `scripts/knowledge/build.py`, with the source URL, license, retrieval date and source SHA-256 recorded, keeps its own licenses in `knowledge/NOTICE` and `knowledge/licenses`, and is embedded in the binary, so no network is needed at runtime. Descriptions are capped and each entry carries the canonical URL (#521).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue