mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
57 lines
1.6 KiB
Markdown
57 lines
1.6 KiB
Markdown
# API Reference: SAML Azure AD Federation
|
|
|
|
## Federation Metadata URL
|
|
```
|
|
https://login.microsoftonline.com/{tenant-id}/federationmetadata/2007-06/federationmetadata.xml
|
|
```
|
|
|
|
## SAML 2.0 Endpoints
|
|
| Endpoint | URL |
|
|
|----------|-----|
|
|
| SSO (POST) | `https://login.microsoftonline.com/{tenant}/saml2` |
|
|
| SSO (Redirect) | `https://login.microsoftonline.com/{tenant}/saml2` |
|
|
| Logout | `https://login.microsoftonline.com/{tenant}/saml2` |
|
|
|
|
## SP Metadata Required Fields
|
|
| Field | Description |
|
|
|-------|-------------|
|
|
| `entityID` | SP unique identifier |
|
|
| `AssertionConsumerService` | ACS URL (POST binding) |
|
|
| `NameIDFormat` | emailAddress or persistent |
|
|
| `SingleLogoutService` | SLO URL (optional) |
|
|
|
|
## XML Namespaces
|
|
```python
|
|
ns = {
|
|
"md": "urn:oasis:names:tc:SAML:2.0:metadata",
|
|
"ds": "http://www.w3.org/2000/09/xmldsig#",
|
|
"saml": "urn:oasis:names:tc:SAML:2.0:assertion",
|
|
}
|
|
```
|
|
|
|
## SAML Bindings
|
|
| Binding | URI |
|
|
|---------|-----|
|
|
| HTTP-POST | `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST` |
|
|
| HTTP-Redirect | `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect` |
|
|
| SOAP | `urn:oasis:names:tc:SAML:2.0:bindings:SOAP` |
|
|
|
|
## Azure AD Graph API (App Registration)
|
|
```
|
|
POST https://graph.microsoft.com/v1.0/servicePrincipals
|
|
Authorization: Bearer TOKEN
|
|
{
|
|
"appId": "app-id",
|
|
"preferredSingleSignOnMode": "saml",
|
|
"loginUrl": "https://app.example.com/login"
|
|
}
|
|
```
|
|
|
|
## Validation Checks
|
|
| Check | Severity |
|
|
|-------|----------|
|
|
| HTTPS on ACS URL | High |
|
|
| Certificate present | Critical |
|
|
| HTTP-POST binding available | Medium |
|
|
| NameID format configured | Medium |
|