Skip to content

Commit

Permalink
Merge pull request #8 from OWASP/dev
Browse files Browse the repository at this point in the history
Sign unsigned templates.
  • Loading branch information
Snbig authored Nov 30, 2024
2 parents 7d943ef + da1e3cb commit 513a054
Show file tree
Hide file tree
Showing 27 changed files with 52 additions and 3 deletions.
3 changes: 2 additions & 1 deletion templates/12.1.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ http:
condition: and
dsl:
- status_code_2 < 210 && status_code_2 >= 200
- status_code_2 == status_code
- status_code_2 == status_code
# digest: 4a0a00473045022100ed852a180529b97f21b9d9350e8d5b2767e07fb510c9679d996943fba23e089a0220511f0ae51c878706aacd36e2cff2ba3588d444555d6c92f6fddcacf680ccbd02:236a7c23afe836fbe231d6e037cff444

Check warning on line 65 in templates/12.1.1.yaml

View workflow job for this annotation

GitHub Actions / build

65:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/12.6.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ http:
words:
- "http"
- "dns"

# digest: 4b0a00483046022100cfb30937dcee2b4ad9d0283d5ac976acd3214a668bc4192bc723357a040eeb1f0221008ee0614a0fac834b615a792c135cb7dba9d5f113212c25030acdc7a4771a7eca:236a7c23afe836fbe231d6e037cff444

Check warning on line 60 in templates/12.6.1.yaml

View workflow job for this annotation

GitHub Actions / build

60:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/13.2.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ http:
- 501
- 400
- 404

# digest: 4a0a0047304502201e2b6ef9d5fad256778bebf27037ad8304fcd1f611f5506a12d01728a66057f8022100eea5743362910e6fb66690f49da281eba1c5f90c2c47887d77656cee01f668bf:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/13.2.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ http:
name: "JSON schema validation does not take place"
dsl:
- http_1_status_code == http_2_status_code

# digest: 4a0a0047304502205a43e4e3d911399b0279a0e36d20c6df789cbc05e893c72c91223bbd5628c558022100c2c4e68d2c524bfad2d6abf7e68e73b3e6f23f6e3576b1118eec73867be21413:236a7c23afe836fbe231d6e037cff444

Check warning on line 53 in templates/13.2.2.yaml

View workflow job for this annotation

GitHub Actions / build

53:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/13.3.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ http:
name: "XSD schema validation does not take place"
dsl:
- http_1_status_code == http_2_status_code

# digest: 4a0a004730450220553d29d64c11f522860d4ef744b33933542b6159bcf9e3ac9f489e622744a1db022100e94b0bf6b38bf9a610c861d28720f4fb973dd0a832fc57b4872f6e0a81969ac9:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/14.4.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ http:
regex:
- (?i)<\?xml\s+version\s*=\s*["'][0-9.]*["']\s+encoding\s*=\s*["'](utf-?8|utf-?16|iso-?8859-?1)["']\s*\?>
part: body

# digest: 4a0a00473045022100b131ce94c26edbe11d5324b84d29f79662a53d29df6fbfe4cc9b9b5a915a95e602206e3c2bbe09245de1b800857b5f05e63a97d4bc0e406e2fe8220d0e864f9f9fa0:236a7c23afe836fbe231d6e037cff444

Check warning on line 65 in templates/14.4.1.yaml

View workflow job for this annotation

GitHub Actions / build

65:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/14.4.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ http:
name: '"Content-Disposition: attachment; filename=" header does not exist.'
dsl:
- '!contains(header, "Content-Disposition: attachment; filename=")'

# digest: 4a0a00473045022100977f242960e9d12febd55a9381f673e03fba6321e03b8f2d52a027653a2f23d0022074d165d4d83e3f0e04dfedd8a226344c17ad9b60e0b38679b11ed4d84543d516:236a7c23afe836fbe231d6e037cff444

Check warning on line 31 in templates/14.4.2.yaml

View workflow job for this annotation

GitHub Actions / build

31:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/14.4.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ http:
negative: true
regex:
- (?i)<meta\s+http-equiv\s*=\s*["'](Content-Security-Policy|Content-Security-Policy-Report-Only)["'].*\/?>

# digest: 4a0a0047304502204e5ca28713bcdaaeb06822a90b46edb4cb86b627a43c88eb732bce4ce949974e0221008c1140ca2bad383399703840bafb577e482984f8fb501578664395430a3b9717:236a7c23afe836fbe231d6e037cff444

Check warning on line 40 in templates/14.4.3.yaml

View workflow job for this annotation

GitHub Actions / build

40:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/14.4.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ http:
name: '"X-Content-Type-Options: nosniff" header does not exist.'
dsl:
- '!contains(header, "X-Content-Type-Options: nosniff")'

# digest: 4a0a00473045022021b7cc0154b0c7bd2b5ac0ee5deab034b12a3cf59a47bd6a28c39c6a4bd0c7c4022100a24955829e13964f260b1dc1b581c14dfc6eb68789581c68753c873aabe062e7:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/14.4.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ http:
regex:
- (?i)Strict-Transport-Security:\s*.*\bincludeSubdomains\b
part: header

# digest: 4a0a004730450220644eb8e8c378d2cfe98dbe293b3962740473a3a8e6d67069040ac127f19c3bcf022100f5a7e3ffaef6a581b01b7277334cd6190a6459551e8db7a7df1ca7af83171976:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/14.4.6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ http:
regex:
- (?i)<meta\s+name="referrer"\s+content\s*=\s*["']strict-origin-when-cross-origin["']\s*\/?>
part: body

# digest: 4a0a00473045022100e70e0364f38ab74fea56856ce5d7a49002e63ffcfc5ad090e4dfd1bee11414ec02204832f0a14a3de7d0afd578e63024ba14eb70db8da4ba3f51b43611fdcc700d1e:236a7c23afe836fbe231d6e037cff444

Check warning on line 46 in templates/14.4.6.yaml

View workflow job for this annotation

GitHub Actions / build

46:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/14.4.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ http:
regex:
- (?i)<meta\s+http-equiv=["']Content-Security-Policy["'][^>]*content=["'][^"']*frame-ancestors[^"']*["'][^>]*>
part: body

# digest: 4a0a00473045022100fdf3617a3b40b43af7b9ea187ae58fd334c6a2cdaa66dc291637fb668545743602206082e3c4fd4e10b8988e214e0384493449542e7ab8a9e61d5b895dfdda05e598:236a7c23afe836fbe231d6e037cff444

Check warning on line 58 in templates/14.4.7.yaml

View workflow job for this annotation

GitHub Actions / build

58:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/14.5.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ http:
- 501
- 404
- 400

# digest: 4a0a00473045022100e9008d3ed80049e226d14238f49ec8d94dc8affd52fa512eb337e6970b7985eb022008c1996d924f80cc431443db55b4d5e0a70a33d350f53ff3f18edb6d88d1896c:236a7c23afe836fbe231d6e037cff444

Check warning on line 54 in templates/14.5.1.yaml

View workflow job for this annotation

GitHub Actions / build

54:1 [comments-indentation] comment not indented like content
2 changes: 2 additions & 0 deletions templates/14.5.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ http:
dsl:
- status_code < 210 && status_code >= 200
- to_number(forbidden_status_code) != status_code

# digest: 490a0046304402204a85e8500309dfa1f935ef7d5506ddf8c9f25ac26171769773c3d8ab8d510a07022065cc0dc83b5dfb52b8e6ebfd23e125442e7340b0b2c5fd41dffc21c1b76323c1:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/14.5.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ http:
part: access_control_allow_origin
words:
- "null"

# digest: 490a0046304402203dab3e5b26d174760a953d85392340cb58608cb60fdd6ed9393872db1d8234010220255ae97983eec7c21acff3dfbcf29d50182883570aa29c77d2ba91f07d07ace8:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/5.1.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ http:
- 304
- 307
- 308

# digest: 4a0a0047304502206ec6244c2752f17ab14c609aafd0d07a79b5a12eabf28b5e50517b4e3096f3ad022100ca2376250e180e34bde495bcb73a07d9dfe3ccee8e9e2e559a70aef2a255a81d:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/8.2.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ http:
regex:
- '(?i)cache-control:.*no-store'
negative: true

# digest: 490a00463044022039bd2b86a4b691ac7599de720790ff8a27691d1ebe290d654276f55be597ba08022003c8395bde847d221c4372a9b858d6b5d0b77dc902724de8e175bb2b82400f3d:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/9.1.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -423,3 +423,5 @@ ssl:
- "TLS_KRB5_WITH_RC4_128_SHA"
- "TLS_RSA_WITH_NULL_SHA"
condition: or

# digest: 490a0046304402201974ed7754084528a7b752fa0f9306c1f8a02e444f3fefd222ff3da81d0a99b7022060e9f16508296e7e5b384550ff780c5a48fb67b2b2a49f5410153823293aca30:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/9.1.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ ssl:
- type: json
json:
- " .tls_version"

# digest: 4a0a004730450220388a40c3cf9246743cc5b84c0789de363248c315b978b401c5db43ccfbcb27bb022100d85b44781554137e8896ef87b2138a6df6ab09d968685d78ac634878b3c94727:236a7c23afe836fbe231d6e037cff444

Check warning on line 49 in templates/9.1.3.yaml

View workflow job for this annotation

GitHub Actions / build

49:1 [comments-indentation] comment not indented like content
1 change: 0 additions & 1 deletion templates/code/12.1.1.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ http:
status:
- 500
- 503
# digest: 490a0046304402203b8787953e9fa8a0e551fc309787addc534c07c2b32f3665f6b307fb8e4cc28802206af2bc67ad42c54ee002eb47b45765e2417ac7bc1ee88414ac0c5c8352bacec1:99354b7c2d97285abe7401b783fba350
2 changes: 2 additions & 0 deletions templates/dast/12.3.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ http:
words:
- "http"
- "dns"

# digest: 4a0a00473045022100f368aa244774591af8882b0c7558e7485ad5e80a2b19d50188c9f93bde0f41a8022054eeb86288f988a190ba7eb40f538583653238ff2c07bc6118b4e7414fd11d40:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/dast/5.2.5.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ http:
part: body
words:
- "{{result}}"

# digest: 4a0a00473045022029fb655e06763dedf9fc3f7e20519cf4509815ec382b3fc2d57dd86fa52e7cc0022100b40611297a0154436b6b424d0a66c886087063dd32b860bd921a1d6861f75a28:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/dast/5.2.6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,5 @@ http:
part: body
regex:
- 'id[\s\S]+interfaces\/'

# digest: 4a0a0047304502206db35451526c61ae1137857401104fd6fa9ee4991fade362ca16604b56afad20022100e374582eca20f469b35f0a7c915f89b21b9bca7e60a941e3303bd867e7c626d1:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/dast/5.3.3.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ http:
part: header
words:
- "text/html"

# digest: 4a0a00473045022100dfac5ffdf63003cee159b45ec392c444099dae34f644c2d2b36a8d48542dcb3402203eff2789a448f595c7914604f3b07c377e62dfe21a8061a9220c831a81c16c7d:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/dast/5.5.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ http:
part: interactsh_protocol
words:
- "http"

# digest: 490a0046304402201e80e06dcff15f20d237fabdd7d41a14a5c92d9a8fce39ace9258fabbc0842dc022012dd0137fc6531475d08aea9e2cd60b35791c1c5465b70272185914f925d8347:236a7c23afe836fbe231d6e037cff444
2 changes: 2 additions & 0 deletions templates/headless/14.2.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ headless:
- type: dsl
dsl:
- len(trim(split(assets_with_external_fqdn, '|'), '[]')) > 0

# digest: 490a00463044022030bba129d709e98d69e14df93e8a8f77cbb7e3d605a26e284d7824bd29b2fcac02204f55d5a72ebb2d880e95eff630c941f07d0ced9bee8e0313dbe2e9b06d4ac496:236a7c23afe836fbe231d6e037cff444
3 changes: 2 additions & 1 deletion templates/headless/5.3.3.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ headless:
- type: word
part: header
words:
- "text/html"
- "text/html"
# digest: 4a0a0047304502207b12903e99b743a556ae90095cce7171a97305e2d33278c4879ffe7918f256df022100c21f4981412a310142c2b6a888152566b23dcbed1280ece0fedb4cadf02c01d6:236a7c23afe836fbe231d6e037cff444

0 comments on commit 513a054

Please sign in to comment.