mirror of
https://github.com/cisagov/ScubaGoggles.git
synced 2026-10-16 04:16:51 +02:00
main
Generate OSCAL Baseline Catalog / generate-oscal (push) Waiting to run
Run Link Checker for Cron Job / markdown-link-check (push) Waiting to run
Run CI Pipeline for ScubaGoggles / Pylint (push) Blocked by required conditions
Run CI Pipeline for ScubaGoggles / Run OPA Tests (push) Blocked by required conditions
Run CI Pipeline for ScubaGoggles / Run Markdown Link Check (push) Blocked by required conditions
Run CI Pipeline for ScubaGoggles / Run Python Tests (push) Blocked by required conditions
Pylint / build (3.14) (push) Blocked by required conditions
Run OPA Tests / Run-OPA-Tests (push) Blocked by required conditions
Run Link Checker for Markdown Edits / markdown-link-check (push) Blocked by required conditions
Pytest / test (push) Blocked by required conditions
Run Smoke Test / configuration (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Co-authored-by: Hilton <Alden>
Developed by CISA, ScubaGoggles is an assessment tool that verifies a Google Workspace (GWS) organization's configuration conforms to the policies described in the Secure Cloud Business Applications (SCuBA) Secure Configuration Baseline documents.
For the Microsoft 365 (M365) rendition of this tool, see ScubaGear.
Overview
We use a three-step process:
- Export. In this step, we primarily use the Google Admin SDK API to export and serialize all the relevant logs and settings into json. ScubaGoggles also uses various other Google APIs to grab organization metadata, user privileges etc.
- Verify. Compare the exported settings from the previous step with the configuration prescribed in the baselines. We do this using OPA Rego, a declarative query language for defining policy.
- Report. Package the results as HTML and JSON.
Table of Contents
Installation
Prerequisites
Authentication
Usage
- Usage: Parameters
- Usage: Config File
- Configuration UI — web-based form for building config files
- Usage: Examples
- Reviewing Output
- Limitations
Troubleshooting
- Not Authorized to Access This Resource
- macOS: Certificate Verification Error
- WinError 10013 Permission Error
- Unable to view HTML report due to environment limitations
- ScubaGoggles lists failures for the SPF, DKIM, and DMARC policies (GWS.GMAIL.2 through GWS.GMAIL.4) even though you have published the applicable DNS records
Automation
- ScubaConnect - ScubaConnect is cloud-native infrastructure, developed by CISA, that automates the execution of assessment tools ScubaGear and ScubaGoggles.
Misc
Project License
Unless otherwise noted, this project is distributed under the Creative Commons Zero license. With developer approval, contributions may be submitted with an alternate compatible license. If accepted, those contributions will be listed herein with the appropriate license.
Languages
Python
54.2%
Open Policy Agent
32.7%
HTML
10.7%
JavaScript
1%
CSS
1%
Other
0.4%
