Created
March 24, 2025 10:30
-
-
Save nirohfeld/7a7c82c62321de9c2ef95d266b241fcb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| id: exposed-ingress-nginx-admission | |
| info: | |
| name: Publicly exposed Ingress NGINX Admission | |
| author: Wiz research | |
| severity: high | |
| description: Ingress Nginx admission controller endpoint should not be exposed | |
| metadata: | |
| max-request: 1 | |
| tags: ssl,tls | |
| ssl: | |
| - address: "{{Host}}:{{Port}}" | |
| matchers: | |
| - type: dsl | |
| dsl: | |
| - 'contains(issuer_org, "nil1")' | |
| - 'contains(subject_org, "nil2")' | |
| - 'contains(subject_an, "nginx")' | |
| condition: and | |
| extractors: | |
| - type: json | |
| name: issuer_org | |
| json: | |
| - ".issuer_org[0]" | |
| - type: json | |
| name: subject_org | |
| json: | |
| - ".subject_org[0]" | |
| - type: json | |
| name: subject_an | |
| json: | |
| - ".subject_an[0]" |
Hi @atoolchain for me its also coming same like urs , can u plz tell how u veried
Thanks for the template
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh and i see that you don't specify a port. You can modify the {{Port}} variable and define 80 or 443 for example.