Skip to content

Observes Scanner v2.0.0

Choose a tag to compare

@azure-pipelines azure-pipelines released this 29 Nov 22:17
048c58d

Scanner build 1585. Private candidate v2.0.0-rc.1585.
Verify the signing key against the independently distributed SHA-256 fingerprint. The signed release manifest records the downloads and their SHA-256 checksums.
Signatures, SBOMs, and license notices are in the supply-chain evidence.

Observes scanner 2.0.0

The first release of the Observes scanner as a single program, observes, for Linux and Windows. Cloud identity resolution is built in.

Documentation: https://docs.observes.io/userguide/scanning/install/

See the Observes release notes for product updates.

Downloads

Platform Archive CycloneDX SBOM
Linux x64 (glibc 2.31 or later) observes-linux-x64.tar.gz observes-linux-x64.sbom.cdx.json
Windows x64 observes-windows-x64.zip observes-windows-x64.sbom.cdx.json

Verify downloads against SHA256SUMS. The SBOMs are available in the supply-chain evidence linked from the release description. Run observes --version to see the versions of the scanner and its bundled components, pipelineir and laughing-lamp.

What it scans

  • Azure DevOps (observes -o <organization>): projects, YAML pipelines and Classic Releases with their runs, CI/CD resources and their permissions, approvals and checks, users, groups, RBAC and PAT tokens. It also finds SAST findings in pipeline configurations and the purpose of each job, such as build, test, SAST, DAST or deploy. Pipeline run timelines record the agent queue each job ran on.
  • Microsoft Entra ID (observes -t entra) and Google Cloud (observes -t gcp): sweeps a tenant, or a project, folder or organisation, and resolves what each identity can do. Each becomes its own platform in Observes. --audit-wif adds a workload identity federation audit.

Highlights

  • Identities behind service connections: --resolve-identities resolves the cloud identities behind service connections, variable groups and secure files. --extract-identities-only records them without calling any cloud API.
  • Logic containers: --logic-container-selector places resources in logic containers from values in each identity's resolution result, such as subscription tags or Google Cloud project labels. When uploading, the selectors defined in Observes apply too.
  • Incremental scans: --runs-since <previous scan_start> collects only the pipeline runs since a previous scan.
  • Upload to Observes: --observes-platform-url, with a scan upload API key in OBSERVES_PLATFORM_API_KEY.
  • Results: scan_<job-id>.jsonl (JSON Lines, schema 5.6), an HTML report and a detailed log. Scan times are UTC. --job-id is optional, defaulting to <platform type>:<platform id>:<UTC scan time>.
  • Fails clearly: if the Azure DevOps organisation can't be read, the scan stops with an error instead of writing an empty scan.

Run observes --help for ready-to-copy example commands, or see the CLI reference.

Coming from the legacy scanner

The earlier scanner, run with python scan.py, is archived at observes-io/observes-scanner-legacy. To move to observes:

  • Replace python scan.py with observes. In pipelines, replace the clone and pip install steps with the install step.
  • Read scan_<job-id>.jsonl where you read scan_<job-id>.json.
  • observes uploads through the api/scans/upload-access API. To check whether your Observes platform supports it, contact the team at support@observes.io.

Questions

The Azure DevOps extension moves to this scanner with the observes@2 task: see Moving from observes@1.

For anything not covered here, contact the team at support@observes.io.