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
1.6 KiB
1.6 KiB
API Reference: BeyondCorp Zero Trust Assessment Agent
Dependencies
| Library | Version | Purpose |
|---|---|---|
| requests | >=2.28 | HTTP client for Google Cloud IAP and Access Context Manager APIs |
CLI Usage
python scripts/agent.py \
--project my-gcp-project \
--output-dir /reports/ \
--output beyondcorp_report.json
Functions
get_gcloud_token() -> str
Runs gcloud auth print-access-token to obtain Bearer token.
list_iap_resources(project_id, token) -> list
GET IAP tunnel destination groups for the project.
get_iap_settings(project_id, resource, token) -> dict
GET IAP settings for a specific compute service resource.
list_access_levels(org_id, policy_name, token) -> list
GET /accessPolicies/{name}/accessLevels from Access Context Manager.
audit_iap_bindings(project_id, token) -> list
POST getIamPolicy and filters for IAP-related role bindings.
assess_zero_trust_posture(project_id, token) -> dict
Evaluates IAP coverage, binding security, checks for allUsers exposure.
generate_report(project_id, token) -> dict
Computes zero trust score (0-100) based on findings.
Google Cloud APIs Used
| API | Endpoint |
|---|---|
| IAP | iap.googleapis.com/v1/projects/{id}/iap_tunnel/... |
| Access Context Manager | accesscontextmanager.googleapis.com/v1/accessPolicies/... |
| Resource Manager | cloudresourcemanager.googleapis.com/v1/projects/{id}:getIamPolicy |
Output Schema
{
"project": "my-project",
"posture": {"iap_resources": 5, "findings": []},
"zero_trust_score": 85
}