run_wstg_test
Executes or re-tests a single OWASP WSTG check against an authorized target URL, using program and data-sensitivity parameters for scoped evidence capture.
Instructions
Granular WSTG Test Dispatcher: Thực thi hoặc kiểm thử lại (Re-test) một mã kiểm tra WSTG đơn lẻ cụ thể.
📌 HƯỚNG DẪN THỰC HIỆN:
wstg_code: Chọn mã bài kiểm tra từ Dropdown:
'WSTG-INFO-01': Search Engine Recon & OSINT
'WSTG-INFO-02': Fingerprint Web Server & Frameworks
'WSTG-INFO-08': Fingerprint Web Application Firewall
'WSTG-CONF-07': HTTP Strict Transport Security (HSTS)
'WSTG-CONF-12': Content Security Policy (CSP) Analysis
'WSTG-CONF-14': HTTP Security Headers Hardening
'WSTG-CLNT-09': Clickjacking Defense & X-Frame-Options
target_url: URL mục tiêu cần kiểm tra.
program_id: Chọn mã Program tương ứng từ Dropdown (hoặc để trống để tự động nhận diện).
data_sensitivity: Cấp độ nhạy cảm dữ liệu ('L1', 'L2', 'L3', 'L4') để nhân hệ số rủi ro tính Severity (mặc định tự động lấy theo target trong CSDL hoặc chọn mới).
💡 VÍ DỤ MINH HỌA:
Ví dụ: Kiểm tra chính sách CSP: run_wstg_test(wstg_code="WSTG-CONF-12", target_url="http://127.0.0.1:8000")
⚠️ CHÚ Ý BẢO MẬT: Mục tiêu BẮT BUỘC phải được cấp phép trước qua 'manage_scope_targets'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wstg_code | No | WSTG-INFO-01 | |
| program_id | No | ||
| target_url | No | ||
| data_sensitivity | No | L2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||