From 03b2fb52c1bedb2f9f07d51c8206dbe5e6fa6689 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:25:12 +0530 Subject: [PATCH] syntax update in test --- integration_tests/generic/auth/certificate/http-get.yaml | 2 +- integration_tests/library/test.yaml | 2 +- integration_tests/loader/excluded-template.yaml | 2 +- integration_tests/loader/get-headers.yaml | 2 +- integration_tests/loader/get.yaml | 2 +- integration_tests/protocols/http/annotation-timeout.yaml | 2 +- integration_tests/protocols/http/cl-body-with-header.yaml | 2 +- integration_tests/protocols/http/cl-body-without-header.yaml | 2 +- integration_tests/protocols/http/cli-with-constants.yaml | 2 +- integration_tests/protocols/http/custom-attack-type.yaml | 2 +- integration_tests/protocols/http/default-matcher-condition.yaml | 2 +- integration_tests/protocols/http/disable-redirects.yaml | 2 +- integration_tests/protocols/http/dsl-functions.yaml | 2 +- integration_tests/protocols/http/dsl-matcher-variable.yaml | 2 +- integration_tests/protocols/http/get-all-ips.yaml | 2 +- integration_tests/protocols/http/get-case-insensitive.yaml | 2 +- integration_tests/protocols/http/get-headers.yaml | 2 +- integration_tests/protocols/http/get-host-redirects.yaml | 2 +- integration_tests/protocols/http/get-override-sni.yaml | 2 +- integration_tests/protocols/http/get-query-string.yaml | 2 +- .../protocols/http/get-redirects-chain-headers.yaml | 2 +- integration_tests/protocols/http/get-redirects.yaml | 2 +- integration_tests/protocols/http/get-sni-unsafe.yaml | 2 +- integration_tests/protocols/http/get-sni.yaml | 2 +- integration_tests/protocols/http/get-without-scheme.yaml | 2 +- integration_tests/protocols/http/get.yaml | 2 +- integration_tests/protocols/http/http-preprocessor.yaml | 2 +- .../protocols/http/interactsh-requests-mc-and.yaml | 2 +- .../protocols/http/interactsh-stop-at-first-match.yaml | 2 +- integration_tests/protocols/http/interactsh.yaml | 2 +- integration_tests/protocols/http/post-body.yaml | 2 +- integration_tests/protocols/http/post-json-body.yaml | 2 +- integration_tests/protocols/http/post-multipart-body.yaml | 2 +- integration_tests/protocols/http/race-multiple.yaml | 2 +- integration_tests/protocols/http/race-simple.yaml | 2 +- integration_tests/protocols/http/raw-cookie-reuse.yaml | 2 +- integration_tests/protocols/http/raw-dynamic-extractor.yaml | 2 +- integration_tests/protocols/http/raw-get-query.yaml | 2 +- integration_tests/protocols/http/raw-get.yaml | 2 +- integration_tests/protocols/http/raw-path-trailing-slash.yaml | 2 +- integration_tests/protocols/http/raw-payload.yaml | 2 +- integration_tests/protocols/http/raw-post-body.yaml | 2 +- integration_tests/protocols/http/raw-unsafe-path.yaml | 2 +- integration_tests/protocols/http/raw-unsafe-request.yaml | 2 +- integration_tests/protocols/http/raw-unsafe-with-params.yaml | 2 +- integration_tests/protocols/http/raw-with-params.yaml | 2 +- integration_tests/protocols/http/redirect-match-url.yaml | 2 +- integration_tests/protocols/http/request-condition-new.yaml | 2 +- integration_tests/protocols/http/request-condition.yaml | 2 +- integration_tests/protocols/http/self-contained-file-input.yaml | 2 +- .../protocols/http/self-contained-with-params.yaml | 2 +- integration_tests/protocols/http/self-contained-with-path.yaml | 2 +- integration_tests/protocols/http/self-contained.yaml | 2 +- .../protocols/http/stop-at-first-match-with-extractors.yaml | 2 +- integration_tests/protocols/http/stop-at-first-match.yaml | 2 +- integration_tests/protocols/http/variable-dsl-function.yaml | 2 +- integration_tests/protocols/http/variables.yaml | 2 +- .../protocols/offlinehttp/offline-allowed-paths.yaml | 2 +- integration_tests/protocols/offlinehttp/offline-raw.yaml | 2 +- integration_tests/protocols/offlinehttp/rfc-req-resp.yaml | 2 +- integration_tests/workflow/dns-value-share-template-3.yaml | 2 +- 61 files changed, 61 insertions(+), 61 deletions(-) diff --git a/integration_tests/generic/auth/certificate/http-get.yaml b/integration_tests/generic/auth/certificate/http-get.yaml index c52c577a..93181f74 100644 --- a/integration_tests/generic/auth/certificate/http-get.yaml +++ b/integration_tests/generic/auth/certificate/http-get.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/library/test.yaml b/integration_tests/library/test.yaml index d6165319..286c0aa8 100644 --- a/integration_tests/library/test.yaml +++ b/integration_tests/library/test.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/loader/excluded-template.yaml b/integration_tests/loader/excluded-template.yaml index 6c25a631..9840a4cb 100644 --- a/integration_tests/loader/excluded-template.yaml +++ b/integration_tests/loader/excluded-template.yaml @@ -6,7 +6,7 @@ info: severity: info tags: fuzz -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/loader/get-headers.yaml b/integration_tests/loader/get-headers.yaml index bae36705..8d3ad459 100644 --- a/integration_tests/loader/get-headers.yaml +++ b/integration_tests/loader/get-headers.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/loader/get.yaml b/integration_tests/loader/get.yaml index c7e07e8c..854652c9 100644 --- a/integration_tests/loader/get.yaml +++ b/integration_tests/loader/get.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/annotation-timeout.yaml b/integration_tests/protocols/http/annotation-timeout.yaml index ddb0b3e6..2b5b624a 100644 --- a/integration_tests/protocols/http/annotation-timeout.yaml +++ b/integration_tests/protocols/http/annotation-timeout.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | @timeout: 5s diff --git a/integration_tests/protocols/http/cl-body-with-header.yaml b/integration_tests/protocols/http/cl-body-with-header.yaml index 21b9fbe2..48833de1 100644 --- a/integration_tests/protocols/http/cl-body-with-header.yaml +++ b/integration_tests/protocols/http/cl-body-with-header.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/cl-body-without-header.yaml b/integration_tests/protocols/http/cl-body-without-header.yaml index d75e481f..365d7cff 100644 --- a/integration_tests/protocols/http/cl-body-without-header.yaml +++ b/integration_tests/protocols/http/cl-body-without-header.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/cli-with-constants.yaml b/integration_tests/protocols/http/cli-with-constants.yaml index 3d04d06e..846b435d 100644 --- a/integration_tests/protocols/http/cli-with-constants.yaml +++ b/integration_tests/protocols/http/cli-with-constants.yaml @@ -8,7 +8,7 @@ info: constants: test: test-in-template -requests: +http: - method: GET path: - "{{BaseURL}}?p={{test}}" diff --git a/integration_tests/protocols/http/custom-attack-type.yaml b/integration_tests/protocols/http/custom-attack-type.yaml index 18d6d003..1b344815 100644 --- a/integration_tests/protocols/http/custom-attack-type.yaml +++ b/integration_tests/protocols/http/custom-attack-type.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}/?a={{test}}&b={{values}}" diff --git a/integration_tests/protocols/http/default-matcher-condition.yaml b/integration_tests/protocols/http/default-matcher-condition.yaml index ea9d3b09..d5fc7c36 100644 --- a/integration_tests/protocols/http/default-matcher-condition.yaml +++ b/integration_tests/protocols/http/default-matcher-condition.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET /?action=curltest&url={{interactsh-url}} HTTP/1.1 diff --git a/integration_tests/protocols/http/disable-redirects.yaml b/integration_tests/protocols/http/disable-redirects.yaml index ec6616bb..09a7d625 100644 --- a/integration_tests/protocols/http/disable-redirects.yaml +++ b/integration_tests/protocols/http/disable-redirects.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/dsl-functions.yaml b/integration_tests/protocols/http/dsl-functions.yaml index 5afce178..f1b52f45 100644 --- a/integration_tests/protocols/http/dsl-functions.yaml +++ b/integration_tests/protocols/http/dsl-functions.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: # Note for the integration test: dsl expression should not contain commas - | diff --git a/integration_tests/protocols/http/dsl-matcher-variable.yaml b/integration_tests/protocols/http/dsl-matcher-variable.yaml index ecbe5f9e..32d55d8d 100644 --- a/integration_tests/protocols/http/dsl-matcher-variable.yaml +++ b/integration_tests/protocols/http/dsl-matcher-variable.yaml @@ -5,7 +5,7 @@ info: author: pd-team severity: info -requests: +http: - path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-all-ips.yaml b/integration_tests/protocols/http/get-all-ips.yaml index 1dba45b1..090bd888 100644 --- a/integration_tests/protocols/http/get-all-ips.yaml +++ b/integration_tests/protocols/http/get-all-ips.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-case-insensitive.yaml b/integration_tests/protocols/http/get-case-insensitive.yaml index e8c4054b..fa48d63f 100644 --- a/integration_tests/protocols/http/get-case-insensitive.yaml +++ b/integration_tests/protocols/http/get-case-insensitive.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-headers.yaml b/integration_tests/protocols/http/get-headers.yaml index bae36705..8d3ad459 100644 --- a/integration_tests/protocols/http/get-headers.yaml +++ b/integration_tests/protocols/http/get-headers.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-host-redirects.yaml b/integration_tests/protocols/http/get-host-redirects.yaml index 1a438929..77cb9137 100644 --- a/integration_tests/protocols/http/get-host-redirects.yaml +++ b/integration_tests/protocols/http/get-host-redirects.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-override-sni.yaml b/integration_tests/protocols/http/get-override-sni.yaml index 61239ee5..c5e250ed 100644 --- a/integration_tests/protocols/http/get-override-sni.yaml +++ b/integration_tests/protocols/http/get-override-sni.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | @tls-sni:request.host diff --git a/integration_tests/protocols/http/get-query-string.yaml b/integration_tests/protocols/http/get-query-string.yaml index 129c080d..e6f39b78 100644 --- a/integration_tests/protocols/http/get-query-string.yaml +++ b/integration_tests/protocols/http/get-query-string.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}?test=nuclei" diff --git a/integration_tests/protocols/http/get-redirects-chain-headers.yaml b/integration_tests/protocols/http/get-redirects-chain-headers.yaml index 51207301..4ded474e 100644 --- a/integration_tests/protocols/http/get-redirects-chain-headers.yaml +++ b/integration_tests/protocols/http/get-redirects-chain-headers.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-redirects.yaml b/integration_tests/protocols/http/get-redirects.yaml index e6bf0c44..3710f765 100644 --- a/integration_tests/protocols/http/get-redirects.yaml +++ b/integration_tests/protocols/http/get-redirects.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-sni-unsafe.yaml b/integration_tests/protocols/http/get-sni-unsafe.yaml index 16a923e4..f001c3a6 100644 --- a/integration_tests/protocols/http/get-sni-unsafe.yaml +++ b/integration_tests/protocols/http/get-sni-unsafe.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - |+ GET / HTTP/1.1 diff --git a/integration_tests/protocols/http/get-sni.yaml b/integration_tests/protocols/http/get-sni.yaml index 8adae0e0..e00fcf1b 100644 --- a/integration_tests/protocols/http/get-sni.yaml +++ b/integration_tests/protocols/http/get-sni.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get-without-scheme.yaml b/integration_tests/protocols/http/get-without-scheme.yaml index 020800aa..26032880 100644 --- a/integration_tests/protocols/http/get-without-scheme.yaml +++ b/integration_tests/protocols/http/get-without-scheme.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/get.yaml b/integration_tests/protocols/http/get.yaml index c7e07e8c..854652c9 100644 --- a/integration_tests/protocols/http/get.yaml +++ b/integration_tests/protocols/http/get.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/http-preprocessor.yaml b/integration_tests/protocols/http/http-preprocessor.yaml index b856f3cc..795e8615 100644 --- a/integration_tests/protocols/http/http-preprocessor.yaml +++ b/integration_tests/protocols/http/http-preprocessor.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET /?test={{randstr}} HTTP/1.1 diff --git a/integration_tests/protocols/http/interactsh-requests-mc-and.yaml b/integration_tests/protocols/http/interactsh-requests-mc-and.yaml index e9eea1be..ea9f037e 100644 --- a/integration_tests/protocols/http/interactsh-requests-mc-and.yaml +++ b/integration_tests/protocols/http/interactsh-requests-mc-and.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET /api/geoping/{{interactsh-url}} HTTP/1.1 diff --git a/integration_tests/protocols/http/interactsh-stop-at-first-match.yaml b/integration_tests/protocols/http/interactsh-stop-at-first-match.yaml index a200ecda..bd3d54e5 100644 --- a/integration_tests/protocols/http/interactsh-stop-at-first-match.yaml +++ b/integration_tests/protocols/http/interactsh-stop-at-first-match.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}/?a=1" diff --git a/integration_tests/protocols/http/interactsh.yaml b/integration_tests/protocols/http/interactsh.yaml index cd1892ae..e34a4e65 100644 --- a/integration_tests/protocols/http/interactsh.yaml +++ b/integration_tests/protocols/http/interactsh.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/post-body.yaml b/integration_tests/protocols/http/post-body.yaml index 7eb36ca4..752d99d1 100644 --- a/integration_tests/protocols/http/post-body.yaml +++ b/integration_tests/protocols/http/post-body.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: POST path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/post-json-body.yaml b/integration_tests/protocols/http/post-json-body.yaml index b4c6c317..8e341f6c 100644 --- a/integration_tests/protocols/http/post-json-body.yaml +++ b/integration_tests/protocols/http/post-json-body.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: POST path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/post-multipart-body.yaml b/integration_tests/protocols/http/post-multipart-body.yaml index 73bd5131..7eb93602 100644 --- a/integration_tests/protocols/http/post-multipart-body.yaml +++ b/integration_tests/protocols/http/post-multipart-body.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: POST path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/race-multiple.yaml b/integration_tests/protocols/http/race-multiple.yaml index 89d4db9d..17dc3da8 100644 --- a/integration_tests/protocols/http/race-multiple.yaml +++ b/integration_tests/protocols/http/race-multiple.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET / HTTP/1.1 diff --git a/integration_tests/protocols/http/race-simple.yaml b/integration_tests/protocols/http/race-simple.yaml index 39a7fb91..3eca99fc 100644 --- a/integration_tests/protocols/http/race-simple.yaml +++ b/integration_tests/protocols/http/race-simple.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET / HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-cookie-reuse.yaml b/integration_tests/protocols/http/raw-cookie-reuse.yaml index 009431ca..61d18b9f 100644 --- a/integration_tests/protocols/http/raw-cookie-reuse.yaml +++ b/integration_tests/protocols/http/raw-cookie-reuse.yaml @@ -4,7 +4,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | POST / HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-dynamic-extractor.yaml b/integration_tests/protocols/http/raw-dynamic-extractor.yaml index 4e10205d..4753af62 100644 --- a/integration_tests/protocols/http/raw-dynamic-extractor.yaml +++ b/integration_tests/protocols/http/raw-dynamic-extractor.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | POST / HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-get-query.yaml b/integration_tests/protocols/http/raw-get-query.yaml index 71ff50c2..55279e20 100644 --- a/integration_tests/protocols/http/raw-get-query.yaml +++ b/integration_tests/protocols/http/raw-get-query.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET ?test=nuclei HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-get.yaml b/integration_tests/protocols/http/raw-get.yaml index 572a6ef3..0d98d81b 100644 --- a/integration_tests/protocols/http/raw-get.yaml +++ b/integration_tests/protocols/http/raw-get.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET / HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-path-trailing-slash.yaml b/integration_tests/protocols/http/raw-path-trailing-slash.yaml index 34496ccf..022f6f34 100644 --- a/integration_tests/protocols/http/raw-path-trailing-slash.yaml +++ b/integration_tests/protocols/http/raw-path-trailing-slash.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET /test/..;/..;/ HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-payload.yaml b/integration_tests/protocols/http/raw-payload.yaml index 77b20b89..6601e8e1 100644 --- a/integration_tests/protocols/http/raw-payload.yaml +++ b/integration_tests/protocols/http/raw-payload.yaml @@ -4,7 +4,7 @@ info: author: pdteam severity: info -requests: +http: - payloads: username: - test diff --git a/integration_tests/protocols/http/raw-post-body.yaml b/integration_tests/protocols/http/raw-post-body.yaml index 68bc8651..b7047086 100644 --- a/integration_tests/protocols/http/raw-post-body.yaml +++ b/integration_tests/protocols/http/raw-post-body.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | POST / HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-unsafe-path.yaml b/integration_tests/protocols/http/raw-unsafe-path.yaml index a10721eb..eaf03b5a 100644 --- a/integration_tests/protocols/http/raw-unsafe-path.yaml +++ b/integration_tests/protocols/http/raw-unsafe-path.yaml @@ -20,7 +20,7 @@ info: # Test all unsafe URL Handling Edgecases -requests: +http: - raw: # relative path without leading slash - |+ diff --git a/integration_tests/protocols/http/raw-unsafe-request.yaml b/integration_tests/protocols/http/raw-unsafe-request.yaml index e7c45c98..0f896c52 100644 --- a/integration_tests/protocols/http/raw-unsafe-request.yaml +++ b/integration_tests/protocols/http/raw-unsafe-request.yaml @@ -5,7 +5,7 @@ info: author: pd-team severity: info -requests: +http: - raw: - |+ GET / HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-unsafe-with-params.yaml b/integration_tests/protocols/http/raw-unsafe-with-params.yaml index 65ebde2e..a22d54e1 100644 --- a/integration_tests/protocols/http/raw-unsafe-with-params.yaml +++ b/integration_tests/protocols/http/raw-unsafe-with-params.yaml @@ -7,7 +7,7 @@ info: # this test is used to check automerge of params in both unsafe & safe requests # key1=value1 is added from inputURL -requests: +http: - raw: - |+ GET /?key2=value2 HTTP/1.1 diff --git a/integration_tests/protocols/http/raw-with-params.yaml b/integration_tests/protocols/http/raw-with-params.yaml index a13a0c4c..f56051fe 100644 --- a/integration_tests/protocols/http/raw-with-params.yaml +++ b/integration_tests/protocols/http/raw-with-params.yaml @@ -7,7 +7,7 @@ info: # this test is used to check automerge of params in both unsafe & safe requests # key1=value1 is added from inputURL -requests: +http: - raw: - | GET /?key2=value2 HTTP/1.1 diff --git a/integration_tests/protocols/http/redirect-match-url.yaml b/integration_tests/protocols/http/redirect-match-url.yaml index d24f96d6..0a9814d7 100644 --- a/integration_tests/protocols/http/redirect-match-url.yaml +++ b/integration_tests/protocols/http/redirect-match-url.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/protocols/http/request-condition-new.yaml b/integration_tests/protocols/http/request-condition-new.yaml index 1a7fd992..9d0fdf33 100644 --- a/integration_tests/protocols/http/request-condition-new.yaml +++ b/integration_tests/protocols/http/request-condition-new.yaml @@ -5,7 +5,7 @@ info: author: pd-team severity: info -requests: +http: - method: GET id: first path: diff --git a/integration_tests/protocols/http/request-condition.yaml b/integration_tests/protocols/http/request-condition.yaml index 62e9b1c0..e0601f79 100644 --- a/integration_tests/protocols/http/request-condition.yaml +++ b/integration_tests/protocols/http/request-condition.yaml @@ -5,7 +5,7 @@ info: author: pd-team severity: info -requests: +http: - method: GET path: - "{{BaseURL}}/200" diff --git a/integration_tests/protocols/http/self-contained-file-input.yaml b/integration_tests/protocols/http/self-contained-file-input.yaml index a5ac4f78..3b8a8269 100644 --- a/integration_tests/protocols/http/self-contained-file-input.yaml +++ b/integration_tests/protocols/http/self-contained-file-input.yaml @@ -6,7 +6,7 @@ info: severity: info self-contained: true -requests: +http: - method: GET path: - "http://127.0.0.1:5431/{{test}}" diff --git a/integration_tests/protocols/http/self-contained-with-params.yaml b/integration_tests/protocols/http/self-contained-with-params.yaml index 73665c77..aad16ee4 100644 --- a/integration_tests/protocols/http/self-contained-with-params.yaml +++ b/integration_tests/protocols/http/self-contained-with-params.yaml @@ -6,7 +6,7 @@ info: severity: info self-contained: true -requests: +http: - raw: - | GET http://127.0.0.1:5431/?something=here&key=value HTTP/1.1 diff --git a/integration_tests/protocols/http/self-contained-with-path.yaml b/integration_tests/protocols/http/self-contained-with-path.yaml index 1196cd67..4ab6dc70 100644 --- a/integration_tests/protocols/http/self-contained-with-path.yaml +++ b/integration_tests/protocols/http/self-contained-with-path.yaml @@ -6,7 +6,7 @@ info: severity: info self-contained: true -requests: +http: - raw: - | GET / HTTP/1.1 diff --git a/integration_tests/protocols/http/self-contained.yaml b/integration_tests/protocols/http/self-contained.yaml index b3c9aa99..b25b71a2 100644 --- a/integration_tests/protocols/http/self-contained.yaml +++ b/integration_tests/protocols/http/self-contained.yaml @@ -6,7 +6,7 @@ info: severity: info self-contained: true -requests: +http: - raw: - | GET http://127.0.0.1:5431/ HTTP/1.1 diff --git a/integration_tests/protocols/http/stop-at-first-match-with-extractors.yaml b/integration_tests/protocols/http/stop-at-first-match-with-extractors.yaml index b22e9f4e..70d007eb 100644 --- a/integration_tests/protocols/http/stop-at-first-match-with-extractors.yaml +++ b/integration_tests/protocols/http/stop-at-first-match-with-extractors.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}?a=1" diff --git a/integration_tests/protocols/http/stop-at-first-match.yaml b/integration_tests/protocols/http/stop-at-first-match.yaml index a5a06da7..1b79339f 100644 --- a/integration_tests/protocols/http/stop-at-first-match.yaml +++ b/integration_tests/protocols/http/stop-at-first-match.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}?a=1" diff --git a/integration_tests/protocols/http/variable-dsl-function.yaml b/integration_tests/protocols/http/variable-dsl-function.yaml index d6759f34..21bc77c2 100644 --- a/integration_tests/protocols/http/variable-dsl-function.yaml +++ b/integration_tests/protocols/http/variable-dsl-function.yaml @@ -9,7 +9,7 @@ variables: a1: "{{to_lower(rand_base(5))}}" -requests: +http: - method: GET path: - "{{BaseURL}}/?x={{a1}}" diff --git a/integration_tests/protocols/http/variables.yaml b/integration_tests/protocols/http/variables.yaml index 59562b7f..d088cfab 100644 --- a/integration_tests/protocols/http/variables.yaml +++ b/integration_tests/protocols/http/variables.yaml @@ -9,7 +9,7 @@ variables: a1: "value" a2: "{{base64('{{Host}}')}}" -requests: +http: - raw: - | GET / HTTP/1.1 diff --git a/integration_tests/protocols/offlinehttp/offline-allowed-paths.yaml b/integration_tests/protocols/offlinehttp/offline-allowed-paths.yaml index de861008..3d4d2989 100644 --- a/integration_tests/protocols/offlinehttp/offline-allowed-paths.yaml +++ b/integration_tests/protocols/offlinehttp/offline-allowed-paths.yaml @@ -6,7 +6,7 @@ info: severity: info description: offline-allowed-paths -requests: +http: - path: - "{{BaseURL}}" - "{{BaseURL}}/" diff --git a/integration_tests/protocols/offlinehttp/offline-raw.yaml b/integration_tests/protocols/offlinehttp/offline-raw.yaml index c166b94f..e71c857c 100644 --- a/integration_tests/protocols/offlinehttp/offline-raw.yaml +++ b/integration_tests/protocols/offlinehttp/offline-raw.yaml @@ -4,7 +4,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET / HTTP/1.1 diff --git a/integration_tests/protocols/offlinehttp/rfc-req-resp.yaml b/integration_tests/protocols/offlinehttp/rfc-req-resp.yaml index 582af906..5d65de11 100644 --- a/integration_tests/protocols/offlinehttp/rfc-req-resp.yaml +++ b/integration_tests/protocols/offlinehttp/rfc-req-resp.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - method: GET path: - "{{BaseURL}}" diff --git a/integration_tests/workflow/dns-value-share-template-3.yaml b/integration_tests/workflow/dns-value-share-template-3.yaml index 7765a95f..2d626a55 100644 --- a/integration_tests/workflow/dns-value-share-template-3.yaml +++ b/integration_tests/workflow/dns-value-share-template-3.yaml @@ -5,7 +5,7 @@ info: author: pdteam severity: info -requests: +http: - raw: - | GET / HTTP/1.1