Skip to content

Commit

Permalink
Update link_hidden_dir.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomequipd authored Dec 27, 2024
1 parent f6ef607 commit 483588a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion detection-rules/link_hidden_dir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ source: |
and any(body.links,
(
strings.icontains(.href_url.path, "/.well-known/")
and not strings.icontains(.href_url.path, '/.well-known/security.txt')
and not strings.ends_with(.href_url.path, '/.well-known/security.txt')
and not strings.ends_with(.href_url.path, '/.well-known/jwks.json')
)
or strings.icontains(.href_url.path, "/.js/")
or strings.icontains(.href_url.path, "/.env/")
Expand Down

0 comments on commit 483588a

Please sign in to comment.