-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56460a4
commit ebf2096
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
metadata: | ||
language: v1-beta | ||
name: "HTTP Methods Available (passive)" | ||
description: "Send HTTP OPTIONS method to site to check what methods are avialable via the response" | ||
author: "Ceramicskate0" | ||
tags: "passive" | ||
|
||
given request then | ||
send request called check: | ||
method: "OPTIONS" | ||
|
||
if {check.response.headers} matches "[Aa]llow:[^\n]+" then | ||
report issue: | ||
severity: info | ||
confidence: tentative | ||
detail: `Check the 'Allow:' Header value(s)\n\n{check.response.headers}` | ||
remediation: "N/A" | ||
end if |