# cisagov/ScubaGear

Automation to assess the state of your M365 tenant against CISA's baselines

Repository: https://github.com/cisagov/ScubaGear
Canonical: https://ross.abutalabs.com/products/scubagear
Homepage: https://www.cisa.gov/resources-tools/services/secure-cloud-business-applications-scuba-project
Language: PowerShell
License: CC0-1.0
License Family: permissive
Topics: assessment-tool, cisa, cybersecurity, m365, open-policy-agent, open-source, powershell, rego, scuba, security, security-automation, contributions-welcome, scubaconnect
Last push: 2026-08-26T13:45:48+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 59, longevity 100
- inputs: {"age_days": 1504, "days_push": 7, "days_rel": 118, "gap_med": 93, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2650, forks 379 (observed 2026-08-28T04:07:06.952668+00:00)

## What it is
ScubaGear is a PowerShell-based assessment tool that checks whether a Microsoft 365 tenant's configuration conforms to CISA's Secure Configuration Baselines. It queries M365 APIs, evaluates settings with Open Policy Agent Rego policies, and generates HTML, JSON, and CSV reports.

## Use cases
- assess my M365 tenant against CISA secure configuration baselines
- audit Exchange Online and Teams security settings
- check Entra ID identity and access configuration compliance
- generate compliance reports for Microsoft 365 security posture
- verify SharePoint and Power Platform security settings
- map M365 controls to NIST 800-53 and MITRE ATT&CK

## When to choose
- you administer a Microsoft 365 tenant and want automated baseline compliance checks
- you need CISA SCuBA baseline assessments with visual HTML reports
- you want policy-as-code security evaluation using OPA and Rego
- you need controls mapped to NIST SP 800-53 or MITRE ATT&CK

## When to avoid
- you need to assess Google Workspace tenants (use ScubaGoggles instead)
- you need continuous real-time monitoring rather than point-in-time assessment
- your environment is not Microsoft 365
- you need an agent-based or always-on security tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, monitoring, cli
- domain: security, developer-tools, cloud-computing
- platform: windows, cross-platform, cli
- tags: m365, cisa, open-policy-agent, rego, security-baselines, tenant-assessment, powershell, compliance, scuba, reporting, automation

## Member repositories
- cisagov/ScubaGear (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.952668+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:53.156008+00:00, confidence not recorded.
  - readme: https://github.com/cisagov/ScubaGear (fetched 2026-08-28T04:07:06.952668+00:00, sha de124e9bfc52)
  - homepage: https://www.cisa.gov/resources-tools/services/secure-cloud-business-applications-scuba-project (fetched 2026-08-29T10:01:41.292530+00:00, sha cc9ef40dd0c1)
  - site_page: https://www.cisa.gov/about (fetched 2026-08-29T10:01:41.295360+00:00, sha 46b39cd497d8)
  - site_page: https://www.cisa.gov/about/divisions-offices (fetched 2026-08-29T10:01:41.297205+00:00, sha e90d4b26e2a4)
  - site_page: https://www.cisa.gov/about/regions (fetched 2026-08-29T10:01:41.298955+00:00, sha b5723310e002)
  - site_page: https://www.cisa.gov/about/leadership (fetched 2026-08-29T10:01:41.300608+00:00, sha ae28fd113963)
  - site_page: https://www.cisa.gov/about/doing-business-cisa (fetched 2026-08-29T10:01:41.302211+00:00, sha 582c57d633b2)
  - site_page: https://www.cisa.gov/about/cisa-central (fetched 2026-08-29T10:01:41.303897+00:00, sha 167294190ec7)
  - site_page: https://www.cisa.gov/about/contact-us (fetched 2026-08-29T10:01:41.305506+00:00, sha cc8295ea668a)
  - site_page: https://www.cisa.gov/about/contact-us/subscribe-updates-cisa (fetched 2026-08-29T10:01:41.307214+00:00, sha 44890ece1e2d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
