Код IT
← Каталог

Инструменты для ручного и автоматизированного тестирования — OWASP ZAP (Zed Attack Proxy)

Фрагмент из «Инструменты для ручного и автоматизированного тестирования»: OWASP ZAP (Zed Attack Proxy).

json projectencyclopedia7-05-testirovanie-118 embed URL статья в энциклопедии
JSON main.json
{
  "rules": [
    {
      "id": "passive-scan",
      "name": "Passive Scan",
      "type": "scan",
      "params": {
        "url": "https://example.com",
        "contextName": "MyContext"
      }
    },
    {
      "id": "active-scan",
      "name": "Active Scan",
      "type": "scan",
      "params": {
        "url": "https://example.com",
        "contextName": "MyContext",
        "scanPolicyName": "Default Policy"
      }
    },
    {
      "id": "export-report",
      "name": "Export Report",
      "type": "report",
      "params": {
        "templateId": "traditional-json",
        "outputPath": "/path/to/report.json"
      }
    }
  ],
  "urls": ["https://example.com"],
  "contexts": ["MyContext"]
}
{
  "rules": [
    {
      "id": "passive-scan",
      "name": "Passive Scan",
      "type": "scan",
      "params": {
        "url": "https://example.com",
        "contextName": "MyContext"
      }
    },
    {
      "id": "active-scan",
      "name": "Active Scan",
      "type": "scan",
      "params": {
        "url": "https://example.com",
        "contextName": "MyContext",
        "scanPolicyName": "Default Policy"
      }
    },
    {
      "id": "export-report",
      "name": "Export Report",
      "type": "report",
      "params": {
        "templateId": "traditional-json",
        "outputPath": "/path/to/report.json"
      }
    }
  ],
  "urls": ["https://example.com"],
  "contexts": ["MyContext"]
}