Create ghe-encrypt-saml.yaml

patch-14
Dhiyaneshwaran 2024-11-10 21:32:08 +05:30 committed by GitHub
parent 12e0113d30
commit 84cc5c055d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
id: ghe-encrypt-saml
info:
name: GitHub Enterprise - Encrypted SAML Enabled
author: rootxharsh,iamnoooob,pdresearch
severity: info
description: |
This template checks if Encrypted SAML (Security Assertion Markup Language) is enabled on a GitHub Enterprise instance.
reference:
- https://docs.github.com/en/enterprise-server@3.10/admin/managing-iam/using-saml-for-enterprise-iam/enabling-encrypted-assertions
metadata:
verified: true
max-request: 1
shodan-query: title:"GitHub Enterprise"
tags: github,ghe,saml,encrypt
http:
- raw:
- |
GET /saml/metadata HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- use="encryption"
- type: word
part: set_cookie
words:
- _fi_sess
- type: word
part: content_type
words:
- application/xml
- type: status
status:
- 200