mirror of
https://github.com/cisagov/ScubaGoggles.git
synced 2026-11-30 04:21:46 +01:00
main
Pylint / build (3.15) (push) Canceled after 0s
Run CI Pipeline for ScubaGoggles / Pylint (push) Canceled after 0s
Run OPA Tests / Run-OPA-Tests (push) Canceled after 0s
Run CI Pipeline for ScubaGoggles / Run OPA Tests (push) Canceled after 0s
Run Link Checker for Markdown Edits / markdown-link-check (push) Canceled after 0s
Run CI Pipeline for ScubaGoggles / Run Markdown Link Check (push) Canceled after 0s
Pytest / test (push) Canceled after 0s
Run CI Pipeline for ScubaGoggles / Run Python Tests (push) Canceled after 0s
Scorecard supply-chain security / Scorecard analysis (push) Canceled after 0s
Generate OSCAL Baseline Catalog / generate-oscal (push) Canceled after 0s
Run Link Checker for Cron Job / markdown-link-check (push) Canceled after 0s
Run Smoke Test / configuration (push) Canceled after 0s
Run Smoke Test / smoke-test (push) Canceled after 0s
Run Smoke Test / lhci (push) Canceled after 0s
* baseline updates * more baseline updates * 1.5 is only applicable if external sharing is allowed * note that 1.3 is applicable to both ON and ALLOWLISTED_DOMAINS * update last modified date * update mappings * Move period Co-authored-by: mitchelbaker-cisa <149098823+mitchelbaker-cisa@users.noreply.github.com> * Fix bold formatting Co-authored-by: Andrew Huynh <trung-hieu.huynh@ecstech.com> * Change ON to OFF Co-authored-by: Andrew Huynh <trung-hieu.huynh@ecstech.com> * Add "or shared drives" Co-authored-by: Andrew Huynh <trung-hieu.huynh@ecstech.com> --------- Co-authored-by: Hilton <Alden> Co-authored-by: mitchelbaker-cisa <149098823+mitchelbaker-cisa@users.noreply.github.com> Co-authored-by: Andrew Huynh <trung-hieu.huynh@ecstech.com>
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
- Comparing Two Runs — report how each policy's result changed between two runs
- 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
57.1%
Open Policy Agent
30.4%
HTML
9.6%
CSS
1.3%
JavaScript
1.2%
Other
0.4%
