Commit Graph
111 Commits
Author SHA1 Message Date
Michael D'Angelo 775231e9bf feat(scanner-imports): retain validation evidence for individual Continuum findings (#2625)
Retain validation evidence associated with the selected finding during collection, import, and publication.
2026-11-17 14:28:23 -08:00
ianw-oaiandCodex 92e17b72e5 feat: add scan path exclusions (#2699)
* feat: add scan path exclusions

* test: update scan exclusion contracts

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-16 14:36:03 -08:00
f26b669b56 docs: clarify Deep Scan preflight sandbox limits (#2611)
* docs: clarify Deep Scan preflight sandbox limits

* docs: keep sandbox qualification separate from preflight options

---------

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-12 21:50:46 -08:00
Carlos Matos 4822a9cbc4 feat(imports): import CrowdStrike FCS IaC findings locally (#2589)
* feat(imports): import CrowdStrike FCS IaC findings locally

Add a crowdstrike file reader for saved FCS CLI 4.x IaC JSON reports
(rule_detections). Each detection becomes one iac or secret finding with
typed rule, configuration and remediation details. Like Tenable, the
reader is local only and binds findings to --source-repository-url,
which must match a fetch remote of the selected checkout.

FCS writes detection paths relative to its working directory, so the
guide asks users to scan from the checkout root. Paths that are absolute
or leave the checkout are excluded. The source finding ID includes the
line, because detections of one rule on one resource can differ only by
line.

* fix(imports): import CrowdStrike reports without a Git checkout

An FCS IaC report describes files relative to the directory where the CLI
ran and names no repository, so requiring a matching Git remote did not
bind the report to anything. Import into any directory instead, and check
that every detection's file exists there. A supplied
--source-repository-url still records the repository, adds typed details
and must match a fetch remote when the directory is a Git checkout.

Detections in registry or Git modules name the calling file with a line
from inside the module. Use the call line that FCS states in
module_remediation, or no line, and include the module path in the
finding ID.

* docs(plugin): describe CrowdStrike FCS imports in the publish-findings skill

Tell Codex when to use --provider crowdstrike, how to run an installed FCS CLI from the import directory, which report to import after a nonzero exit, and to ask for a report instead of installing FCS or passing Falcon credentials.

* fix(imports): read the CrowdStrike module call line in linear time

Search module_remediation for the detection file's exact call phrase instead of a lazy regex. A crafted report could make the regex quadratic: a 2 MB module_remediation took about two minutes to read.

* fix(imports): stop CrowdStrike imports when a scanned file changed

FCS records each scanned file's SHA-256 as file_sha256. Compare it with
the file in the selected directory and stop, naming the file, when they
differ. Before, a report of another commit imported without an error and
could store lines that no longer point at the detected configuration.
The check follows file symlinks, as FCS does, and reads only regular
files.

* docs(imports): add CrowdStrike scan examples and Codex validation steps

Fix the FCS scan command: FCS needs an existing output directory whose
name has no dot. Show a remote git:: scan pinned with ?ref= and a
checkout of the same commit, and note that a //subdir URL gives paths
from that subdirectory. Add a shortened sample report, and show how to
pass imported findings to codex-security validate, for all findings or
for one scan.

* docs(imports): link CrowdStrike imports to the shared imported finding workflow

Other provider pages do not describe validation or patching. Remove the
CrowdStrike validation section and link the readback step to the shared
section on working with imported findings.

* fix(imports): keep CrowdStrike module lines in git:: reports

In a git:: report, FCS writes the detection file, its module_source and
the calling file in module_remediation with a leading slash. The reader
removed the slash from the file before it compared the three, so every
module detection lost its line. Compare them as FCS wrote them. In a
git:: scan of a public Terraform repository, 102 of 396 findings had no
line before this change and none after.

* fix(imports): record and check the repository of CrowdStrike git:: reports

A git:: report names the repository that FCS cloned, but the reader
ignored it. A report of one repository could be saved under another one
whose files were identical. For a git::https:// scan, record that
repository without its //subdirectory and ?ref=, and keep the scan path
in the report and in each finding's source data. When
--source-repository-url is given, it must name the same repository, on
import and on replay. Without it, the scanned repository gives typed
details but does not bind the checkout to a fetch remote, so clones from
self-hosted servers over SSH keep importing. Other git:: URL forms
import as before.

* fix(imports): import CrowdStrike git:: reports of URLs with a user name

When the scanned URL has a user name, FCS writes each detection file,
module source and calling file after the scanned URL instead of after a
slash, and the reader excluded every detection. Remove that prefix. FCS
removes the user name and token from the report's path and keeps them
only in flags.path, which the reader does not read.

* fix(imports): check replayed CrowdStrike locations against the native detection

A replayed preview with cleared or edited locations skipped the file
check, and saved findings without the scanned location. Rebuild the
location from the retained FCS detection, require each finding to show
exactly that location, and check that file and its hash.
2026-11-12 13:09:36 -08:00
jameshiester-oaiandMichael D'Angelo 2911786f24 feat(scanner-imports): import AWS Continuum code issues (#2619)
* feat(scanner-imports): collect AWS Continuum code issues

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-11 17:43:55 -08:00
ianw-oai 69038a2f56 feat(scans): resume interrupted Standard scans (#2610) 2026-11-11 16:38:51 -08:00
Michael D'Angelo 7b5335beca feat(import): include AWS-generated patches in Continuum findings (#2615)
* feat(import): include AWS-generated patches in Continuum findings

* feat(remediation): use supplied patches as fix candidates

* fix(import): resolve the Continuum AWS CLI outside the checkout

* fix(import): exclude startup hooks from Continuum AWS processes

* fix(import): pass AWS settings explicitly to credential helpers

* fix(import): validate AWS model paths before collection
2026-11-11 15:26:32 -08:00
Michael D'Angeloanddy-armorcode 5aa4d394ea feat(scanner-imports): add ArmorCode findings support (#2608)
Carry forward the reader contributed in #2606. Include it in the SDK package and validate repository claims when preparing an import.

Co-authored-by: dy-armorcode <109572335+dy-armorcode@users.noreply.github.com>
2026-11-11 11:17:28 -08:00
Michael D'Angelo a881fe1a5d feat(plugin): guide Codex through scanner imports and workbench publication (#2604)
* feat(plugin): guide Codex through scanner acquisition and reviewed publication

* docs(plugin): name the stored publication calls and explain partial imports
2026-11-11 11:14:49 -08:00
Michael D'Angelo 5811e2df3d feat(imports): publish versioned workbench findings through the shared Cloud transport (#2603)
* feat(imports): publish versioned workbench findings through the shared Cloud transport

* fix(imports): preserve acknowledged batches when Cloud rejects a later batch

* test(workbench): restore the v53 schema before replaying import migrations

* fix(imports): keep versioned SQLite selections alive through readback

* fix(workbench): retain version-scoped Cloud receipts across repository resets

* Resume Sonar Cloud retries from the stored import checkpoint

* Keep the Sonar replay assertion strictly typed
2026-11-11 10:47:31 -08:00
Michael D'Angelo 67ee64c0bc fix(cli): simplify finding imports and protect export files (#2595)
* fix(cli): make saved scan selection and matching explicit

* fix(cli): resolve command paths and isolate standalone actions

* fix(cli): preserve updater result and diagnostics

* fix(cli): simplify finding imports and protect export files

* test(plugin): initialize Windows registration fixtures explicitly

* test(cli): distinguish the legacy publish check selector in help

* test(cli): check the requested JSON format in raw CSV diagnostics

* fix(cli): retain suggestions for unknown commands

* style(cli): format argument routing regressions

* test(cli): return worktree selection in authentication fixture

* fix(cli): reject missing global values before command dispatch

* fix(cli): preserve short help before a command

* fix(cli): reject switches as global option values

* fix(cli): identify package updates in generated agent guidance
2026-11-11 18:14:06 +00:00
Michael D'Angelo 1e3c82abe5 refactor(imports)!: retire historical reader formats and Cloud checkpoints (#2602)
* refactor(imports)!: retire historical reader formats and Cloud checkpoints

* test(imports): remove an empty reader import

* refactor(imports): project saved checkpoint items once
2026-11-11 10:00:11 -08:00
Michael D'Angelo ae291b2af3 fix(cli): validate inputs and make plans and hooks reusable (#2594)
* fix(cli): validate local inputs and make saved plans and hooks reusable

* fix(cli): bound batch scan spending and follow-up patches

* fix(cli): label total cost arguments in USD

* fix(cli): carry scan overrides into component plan commands

* fix(package): include the batch-cost module in the published SDK

* fix(cli): preserve local path and budget settings during preflight

* docs(cli): format policy and time-limit command references

* test(cli): pass Windows drive path explicitly as literal text

* fix(cli): close hook handles before replacing files on Windows
2026-11-11 17:14:58 +00:00
Michael D'Angelo 6b0d0a7ce1 fix(cli): honor scan budgets across batch attempts and follow-ups (#2592)
* fix(cli): bound batch scan spending and follow-up patches

* fix(cli): label total cost arguments in USD

* fix(package): include the batch-cost module in the published SDK

* fix(cli): skip unmetered owner suggestions under a total budget
2026-11-11 05:56:29 -08:00
Michael D'AngeloandCodex 594604ffb5 feat(cli): make project setup and authentication easier to inspect (#2581)
* feat(cli): expose identifiers for saved scan follow-up

* test(sdk): exercise dedupe representatives in publication

* feat(cli): make project setup and authentication easier to inspect

* docs(cli): distinguish sign-in flows and credential sources

* feat(cli): link interrupted scans and imported evidence to their next commands

* fix(cli): make command help and discovery reflect runnable workflows

* build(sdk): include the command argument helper in package checks

* refactor(cli): reuse shell path quoting for project previews

* docs(cli): identify the shell used for Windows preview commands

* test(cli): account for the internal publication CSV in help coverage

* fix(cli): scope recovery hints to supported sessions and shells

* fix(cli): declare exclusive scan import sources in the schema

* refactor(cli): share credential locking and project preview preparation

* fix(cli): resolve repository arguments consistently during scan discovery

* refactor(cli): simplify the result handoffs and verify PowerShell recovery

* fix(cli): check sign-in from the same directory in every format

* fix(cli): preserve diagnostics when project initialization fails

---------

Co-authored-by: Codex <noreply@openai.com>
2026-11-11 02:33:07 +00:00
Michael D'AngeloandCodex 507e10af4f fix(cli): make command help and discovery reflect runnable workflows (#2584)
* feat(cli): expose identifiers for saved scan follow-up

* test(sdk): exercise dedupe representatives in publication

* feat(cli): link interrupted scans and imported evidence to their next commands

* fix(cli): make command help and discovery reflect runnable workflows

* build(sdk): include the command argument helper in package checks

* test(cli): account for the internal publication CSV in help coverage

* fix(cli): scope recovery hints to supported sessions and shells

* fix(cli): declare exclusive scan import sources in the schema

* fix(cli): resolve repository arguments consistently during scan discovery

* refactor(cli): simplify the result handoffs and verify PowerShell recovery

---------

Co-authored-by: Codex <noreply@openai.com>
2026-11-11 02:12:59 +00:00
Michael D'AngeloandMichael D'Angelo 55261a78e6 docs: import hosted Semgrep findings locally or in Cloud (#2576)
* docs: add a local import guide for Semgrep hosted MCP findings

* docs: extend the hosted Semgrep import example through Cloud

* docs: clarify the Semgrep Cloud workspace prerequisite

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-10 14:52:10 -08:00
Michael D'AngeloandMichael D'Angelo 9534e7fd6e docs: shorten the npm package README (#2542)
* docs: shorten the npm package README

* docs: restore scan scope, CI behavior, and results guidance

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 21:40:18 -08:00
Michael D'Angeloandmldangelo 6871181ef9 fix: preserve Continuum import retries and active sign-in credentials (#2531)
* fix(publish): explain when Cloud import is unavailable

`publish findings --to cloud` starts with the repository catalog. For a
ChatGPT account or deployment without Codex Security Cloud import, that
request returns 404 and the CLI printed only "Cloud import failed (HTTP
404). Not found", which does not say whether the repository, the file, or
the account was missing.

Keep the server's text and add the same explanation `publish scan` gives
for this case: Cloud import is not available for this account or
deployment. Other statuses and endpoints are unchanged.

* fix(publish): handle an empty catalog error response

* docs(imports): correct AWS Continuum and mktemp guidance

- Name the first AWS CLI v2 release with `aws continuum` (2.38.5); earlier
  v2 releases reject the command.
- Say that validation results come with findings Continuum detects, while
  findings submitted to Continuum can omit them.
- macOS `mktemp -d` ignores TMPDIR, so the advice to set TMPDIR did not
  move report directories there. Suggest a template instead.

* docs(imports): honor temporary report paths and clarify validation evidence

* fix(imports): read Continuum weakness IDs from subCategory

Findings that AWS Continuum detects itself omit cweIds and name their
weakness only in subCategory, for example "CWE-89: Improper
Neutralization ...". The reader mapped weakness_ids from cweIds alone,
so every native Continuum code finding imported without a CWE.

Fall back to the leading CWE ID in subCategory when cweIds is absent.
Explicit cweIds still win, and the previous-release replay projection
keeps reading cweIds only.

* fix(imports): preserve Continuum replay and evidence admission

* fix(cli): point native sign-in hints at codex-security login

After starting browser sign-in, native Codex prints "On a remote or
headless machine? Use `codex login --device-auth` instead." Running that
command signs in to the regular Codex home, not the Codex Security
credential home, so the suggested recovery does not help.

For the sign-in commands that pass native output straight through
(login, login status and logout), forward native stderr through a small
streaming rewrite of `codex login` to `codex-security login`. Stdin and
stdout stay attached to the terminal, other output is unchanged, and only
a possible partial match is held back between chunks.

* fix(cli): forward login hints and reap interrupted sign-ins

* fix(auth): sign in with the credential storage set in Codex config

On macOS, a fresh `codex-security login` could not be used to publish to
Cloud. Scans write `cli_auth_credentials_store = "auto"` into the Codex
Security credential home, so native login saved the token in the system
keyring and removed auth.json, while Cloud publication reads file-backed
credentials only.

The documented fix, setting `cli_auth_credentials_store = "file"` in
Codex config.toml and signing in again, had no effect: `login` used
whatever the last scan wrote, and SDK scans ignored the user's Codex
config for sign-in settings (only skill commands mirrored it).

- Layer the user's Codex config sign-in settings
  (cli_auth_credentials_store, forced_login_method,
  forced_chatgpt_workspace_id) between the wrapper defaults and explicit
  overrides in mergedCodexConfig, so scans, their runtime config and Deep
  Scan workers use them. A Codex config that cannot be read or parsed
  sets no preference here; the commands that use it still report why.
- Before `login` and `login status`, write the keys that config sets into
  the credential home. Native argv is unchanged, so managed policy still
  wins. Unset keys and `logout` leave the stored location alone.
- Make the Cloud sign-in error and CLI docs name the setting and command.

* fix(cli): exit interrupted login when stderr stops draining

* fix(auth): keep sign-in, credential cleanup, and Cloud publication consistent

* fix(sdk): cancel queued logins without aborting settled operations

* test(sdk): guard the budget cancellation wait after usage is recorded

---------

Co-authored-by: mldangelo <michael.l.dangelo@gmail.com>
2026-11-09 21:35:39 -08:00
Michael D'Angeloandmldangelo-oai bbc3c7a791 fix(sdk): follow directory links in selected project config paths (#2514)
* fix(sdk): follow directory links in selected project config paths

* test(sdk): restrict raw-byte config fixture to Linux

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 17:20:54 -08:00
Michael D'Angeloandmldangelo-oai 4e51fb768b fix(deep-scan): resolve home-relative project config paths on POSIX (#2505)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 14:33:53 -08:00
Michael D'Angeloandmldangelo-oai 884b7b657a refactor!: consolidate scan, workbench and release rules (#2452)
* refactor(workbench): share schema repair and saved finding projections

* refactor(cli): resolve the command route once

* refactor(settings): share Deep Scan configuration and restore saved inputs

* refactor(imports): reuse scanner projections at the file boundary

* refactor(publish): share pending request and receipt handling

* refactor(telemetry): classify publication failures in the recorder

* refactor(package): share plugin inventory and archive checks

* refactor(release): reuse verified provenance and release decisions

* fix(ci): reconcile release labels with an empty array on Bash 3.2

* ci: report failed source checks after cancelled PR edits

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 05:02:21 -08:00
Michael D'Angelo 613400c9e3 fix(imports): match equivalent Python package names in Dependabot alerts (#2453) 2026-11-09 04:07:59 -08:00
Michael D'AngeloandMichael D'Angelo 6e677445f9 feat(imports): publish Guardian findings and clarify scanner evidence (#2377)
* docs(imports): correct scanner results and ticket intake checks

* refactor(imports): reuse scanner severity mappings

* feat(imports): publish selected Semgrep Guardian findings to Cloud

* feat(cli): show readable imported findings in the terminal

* docs(imports): explain scanner fields and source references

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-08 07:40:48 -08:00
Michael D'Angelo a0f81e119c docs: quote Codex overrides across Windows shells (#2400) 2026-11-06 06:49:12 -08:00
Michael D'Angelo 31a42e9ba7 fix(sdk): price OpenAI models by Bedrock region and inference route (#2362)
* fix(sdk): price OpenAI models by Bedrock region and inference route

* fix(package): include Bedrock pricing modules in the SDK manifest
2026-11-05 16:09:45 -08:00
Michael D'AngeloandMichael D'Angelo 0ed54be43a feat(imports): enable external scanner imports by default (#2360)
* feat(imports): enable external scanner imports by default

Register collection, publication, and readback commands directly. Keep provider credential checks, repository access checks, and upload confirmation in their existing paths. Clients can remove the retired environment variable.

* docs(imports): make scanner provider guides evergreen

Index the scanner report readers and supported destinations. Use installed CLI examples, distinguish repository helpers from packaged tools, and describe Cloud verification and retry steps from the preview and receipt.

* docs(integrations): clarify connector setup and publication paths

* docs(integrations): simplify publication history and storage guidance

* docs(triage): specify how to exhaust Jira search results

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 15:30:02 -08:00
Michael D'Angelo 765a5de4b1 fix(imports): verify scanner evidence and route workspace findings (#2353)
* fix(imports): verify scanner evidence and route workspace findings

* fix(imports): honor the reviewed Endor projection at the size limit

* fix(imports): keep reduced Endor findings compatible with older workers

* fix(imports): match retained GitHub evidence against local Git identities

* fix(imports): account for serialized OpenGrep trace exclusions

* refactor(imports): share native path checks and replay tracking

* refactor(imports): share reader replay and catalog capability handling

* test(imports): cover hosted private retries after a rename

* refactor(imports): share validated GitHub repository metadata

* fix(imports): resume private checkpoints after repository renames

* refactor(imports): share selection and checkpoint checks across publication routes

* test(imports): separate private upload projections from job recovery

* refactor(imports): bound Trivy locations while projecting evidence
2026-11-05 11:52:18 -08:00
Michael D'Angeloandmldangelo-oai 6565fd2b1e feat(imports): import Tenable One code repository findings locally (#2343)
* feat(imports): import Tenable One code repository findings locally

* refactor(tenable): make download retry failure explicit

* refactor(imports): simplify Tenable export and local import

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 10:17:10 -08:00
Michael D'Angelo 258d7a6c33 docs: make scan and integration guides evergreen (#2350) 2026-11-05 01:26:22 -08:00
Michael D'Angelo 7bfb94d67e fix(imports): preserve AWS code scanning evidence and retries (#2347)
* fix(imports): preserve AWS code scanning evidence and retries

* Negotiate AWS import job versions and preserve interrupted writes
2026-11-05 00:36:44 -08:00
Michael D'Angeloandmldangelo-oai 5283c84ba7 feat(imports): import Trivy findings locally and to Cloud (#2276)
* feat(imports): collect hosted Snyk and Semgrep findings

* feat(imports): import native Trivy findings alongside hosted scanners

* fix(imports): align Snyk Issues API version

* refactor(imports): simplify Trivy handling and preserve repository binding

* fix(imports): compare Trivy checkout and transport identities

* fix(imports): distinguish Trivy report targets from Git remotes

* test(imports): share Trivy replay fixtures

* fix(imports): bind Trivy findings to the source identities retained by the scanner

* fix(imports): keep ambiguous Trivy origins separate from display labels

* fix(imports): verify Trivy checkpoint provenance and separate report inspection

* fix(imports): corroborate Trivy roots and recognize interrupted requests

* fix(imports): share Trivy retry identity across file and selected findings

* fix(imports): separate raw scanner evidence from repository claims

* fix(imports): preserve native Trivy context across empty and selected results

* fix(imports): keep Trivy repository claims independent of SSH aliases

* fix(imports): corroborate Trivy remote targets without resolving SSH aliases

* refactor(imports): compare local Trivy claims using the approved Git host rules

* test(imports): give Trivy source comparison cases a consistent signature

* refactor(imports): simplify hosted scanner collection and verify repository scope

* fix(imports): preserve verified GitHub SSH aliases in mixed findings

* fix(imports): parse SSH authority without backtracking

* refactor(imports): reuse the verified Snyk report repository

* fix(imports): keep verified enterprise GitHub identity during local import

* fix(imports): preserve hosted source scope across collection and replay

* fix: bind hosted credentials and replay to the selected source

* fix: preserve provider provenance across hosted imports

* fix: preserve scanner evidence and verified repository aliases

* fix: retain source constraints when projecting scanner findings

* fix(imports): enforce scanner region and repository bindings

* fix(imports): check all repository claims in hosted reports

* fix(imports): preserve hosted finding evidence and project scope

* fix(imports): compare hosted repository identities consistently

* fix(imports): preserve repository bindings across SDK representations

* fix(imports): verify declared repositories against retained evidence

* fix(imports): scope hosted provenance and migrate published checkpoints

* fix(imports): verify legacy scope before resuming hosted uploads

* fix(imports): distinguish Git helper remotes from local paths

* fix(imports): compare effective Git remotes without losing URL bytes

* fix(imports): verify repository paths using their Git transport semantics

* fix(imports): preserve saved scanner identifiers and streamline large collections

* fix(imports): keep native scanner reports on the plain JSON parser

* fix(imports): retain publishable Semgrep messages and verified Git remotes

* fix(imports): preserve repository scope across scanner and Git URL forms

* fix(imports): require unambiguous scanner source and request identities

* fix(imports): retain verified repository mappings through replay

* fix(imports): validate retained scanner scope consistently

* fix(imports): enforce scanner bindings across destinations and retries

* fix(imports): preserve exact finding and repository identities

* fix(imports): preserve scanner field types and simplify approved scopes

* fix(imports): keep exact scanner decimal values through replay

* fix(imports): preserve verified repository identity across projections

* fix(imports): keep repository comparisons consistent during reads

* fix(imports): align public host matching and isolate Git fixtures

* fix(imports): preserve numeric evidence and verify Git remote identity

* test(imports): share the Semgrep checkout fixture

* fix(imports): verify Git helper resolution when a transport alias is configured

* test(imports): keep the transport alias in the fixture repository

* fix(imports): verify checkout-independent transports and preserve Snyk platform hints

* fix(imports): match configured remotes offline and require zoned Snyk timestamps

* fix(imports): preserve prepared runners and scanner input contracts

* fix(imports): retain inherited workbench dependencies during preparation

* fix(packaging): pass validated tar members through a file

* fix(imports): bound endpoint interpolation and refresh the Action bundle

* fix(imports): recheck the selected workbench opt-in after reading

* fix(imports): preserve native Trivy checkout paths on Windows

* fix(imports): validate retained Trivy sources and provider ownership

* fix(imports): preserve replay and repository identity checks

* fix(imports): retain compatible scanner provenance

* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* feat(imports): collect and import Snyk project issues locally

* fix(imports): check hosted Semgrep Git remotes once

* feat(imports): publish hosted Semgrep and Snyk findings to Cloud

* fix(imports): verify Snyk project scope and pagination on replay

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix: preserve hosted source bindings across Cloud retries

* fix(imports): validate projected Snyk issues and regional requests

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): bind Snyk selections to verified native issues

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* fix(imports): retain verifiable Snyk evidence across replay

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* test(imports): reuse normalized Snyk fixture setup

* fix(imports): verify Snyk asset scope across selected findings

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): preserve Snyk selection scope and archived evidence

* fix(imports): validate each scanner's retained repository claims

* fix(imports): retain Snyk target proof and stable replay

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(imports): respect Snyk project origin when selecting evidence

* fix(semgrep): verify reset remotes and active branch defaults

* fix(cli): preserve original Snyk diagnostics in structured output

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* style(docs): remove extra blank line in Semgrep guide

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

* test: prepend exact JSON members to Snyk response fixtures

* fix(imports): keep Guardian evidence local across Cloud publication retries

* feat(imports): import Trivy findings locally and to Cloud

* refactor(imports): simplify Trivy SDK provenance handling

* fix(imports): retain authenticated Trivy destination matching in the CLI stack

* test(sdk): expect canceled lifecycle for aborted component scans

(cherry picked from commit 61d32357f4)

* test: import the shared coordinator failure fixture

(cherry picked from commit 925b70af34)

* Honor the CI timeout for native provider checks

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 16:52:13 -08:00
Michael D'Angelo bf408e1459 test(deep-scan): verify a native deadline before worker dispatch (#2300)
* fix(deep-scan): account for comparison turns and report actual review coverage

* fix(deep-scan): report completed audits and batch consolidation

* fix(deep-scan): include measured usage in the completion receipt

* docs(deep-scan): use the completion receipt for final reporting

* ci: retry managed Code Quality after GitHub installation rate limit

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)

* Remove duplicate coordinator test import after main integration
2026-11-04 16:01:57 -08:00
Michael D'Angeloandmldangelo-oai 0888d52b81 fix(imports): distinguish empty reports from failed scanners and exclusions (#2082)
* fix(imports): distinguish empty reports from failed scanners and exclusions

* fix(imports): reject incomplete scanner reports before empty success

* fix(imports): preserve reader diagnostics and share empty local imports

* fix(imports): verify declared sources on empty local reports

* fix: preserve scanner coverage and validate empty report evidence

* fix(imports): render empty report metadata safely in terminal formats

* Preserve scanner failures and coverage on empty imports

* Attribute scanner diagnostics to their invocation and source

* Preserve warnings and coverage for empty scanner imports

* Keep scanner coverage across mixed and excluded results

* Keep historical scanner import keys when displaying coverage

* Show retained Snyk coverage and accept zero Endor totals

* Separate scanner coverage previews from normalized request identity

* Include reviewed scanner coverage in the Cloud result

* Render scanner coverage safely in terminal output

* docs(imports): format empty-report exit status guidance

* refactor(imports): share empty selection handling and simplify scanner diagnostics

* fix(imports): preserve local SDK results for excluded selections

* refactor(imports): share SARIF parsing and simplify empty-report output

* ci: retry managed Code Quality after GitHub installation rate limit

* test(sdk): expect canceled lifecycle for aborted component scans

* test: import the shared coordinator failure fixture

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 15:37:13 -08:00
Michael D'Angelo 366093f77b fix(deep-scan): report completed audits and batch consolidation (#2305)
* fix(deep-scan): report completed audits and batch consolidation

* fix(deep-scan): include measured usage in the completion receipt

* docs(deep-scan): use the completion receipt for final reporting

* ci: retry managed Code Quality after GitHub installation rate limit

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)
2026-11-04 15:30:51 -08:00
Michael D'Angelo f03d1a705d fix(imports): preserve Guardian attribution and Snyk evidence on replay (#2316)
* fix(imports): preserve Guardian attribution and Snyk evidence on replay

* fix(imports): match Guardian URLs with local checkout semantics

* fix(imports): verify retained Guardian findings against selection scope

* ci: retry managed Code Quality after GitHub installation rate limit

* Assert the canceled lifecycle emitted by an aborted component scan
2026-11-04 15:14:27 -08:00
Michael D'Angelo 4b9952c037 fix(imports): bound remote error bodies and retain HTTP failure context (#2320)
* fix(imports): bound remote error bodies and retain HTTP failure context

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.
2026-11-04 13:59:18 -08:00
Michael D'Angelo 6de45f81ac feat(import): collect and import Checkmarx SAST findings (#2269)
* feat(import): collect and import Checkmarx SAST findings

* fix(import): bind Checkmarx evidence and isolate vendor collection

* fix(import): protect collector inputs and preserve upload retries

* fix(import): isolate CxFlow startup and validate retained scan scope

* fix(import): constrain authenticated collection and verify projected evidence

* fix(import): preserve trusted startup and match Checkmarx repository scope

* fix(import): reap vendor processes interrupted during startup

* fix(import): isolate CxFlow credentials and preserve Checkmarx report scope

* fix(import): verify Checkmarx collector scope and credential source

* refactor(import): simplify Checkmarx collection and repository checks

* refactor(import): verify Checkmarx scan scope while reading occurrence evidence

* Exclude in-flight schema writes from eval runtime staging
2026-11-04 13:37:09 -08:00
Michael D'Angeloandmldangelo-oai b79a0a8cfe perf(imports): avoid repeated repository and Snyk project checks (#2187)
* feat(imports): collect hosted Snyk and Semgrep findings

* fix(imports): align Snyk Issues API version

* refactor(imports): simplify hosted scanner collection and verify repository scope

* fix(imports): preserve verified GitHub SSH aliases in mixed findings

* fix(imports): parse SSH authority without backtracking

* refactor(imports): reuse the verified Snyk report repository

* fix(imports): keep verified enterprise GitHub identity during local import

* fix(imports): preserve hosted source scope across collection and replay

* fix: bind hosted credentials and replay to the selected source

* fix: preserve provider provenance across hosted imports

* fix: preserve scanner evidence and verified repository aliases

* fix: retain source constraints when projecting scanner findings

* fix(imports): enforce scanner region and repository bindings

* fix(imports): check all repository claims in hosted reports

* fix(imports): preserve hosted finding evidence and project scope

* fix(imports): compare hosted repository identities consistently

* fix(imports): preserve repository bindings across SDK representations

* fix(imports): verify declared repositories against retained evidence

* fix(imports): scope hosted provenance and migrate published checkpoints

* fix(imports): verify legacy scope before resuming hosted uploads

* fix(imports): distinguish Git helper remotes from local paths

* fix(imports): compare effective Git remotes without losing URL bytes

* fix(imports): verify repository paths using their Git transport semantics

* fix(imports): preserve saved scanner identifiers and streamline large collections

* fix(imports): keep native scanner reports on the plain JSON parser

* fix(imports): retain publishable Semgrep messages and verified Git remotes

* fix(imports): preserve repository scope across scanner and Git URL forms

* fix(imports): require unambiguous scanner source and request identities

* fix(imports): retain verified repository mappings through replay

* fix(imports): validate retained scanner scope consistently

* fix(imports): enforce scanner bindings across destinations and retries

* fix(imports): preserve exact finding and repository identities

* fix(imports): preserve scanner field types and simplify approved scopes

* fix(imports): keep exact scanner decimal values through replay

* fix(imports): preserve verified repository identity across projections

* fix(imports): keep repository comparisons consistent during reads

* fix(imports): align public host matching and isolate Git fixtures

* fix(imports): preserve numeric evidence and verify Git remote identity

* test(imports): share the Semgrep checkout fixture

* fix(imports): verify Git helper resolution when a transport alias is configured

* test(imports): keep the transport alias in the fixture repository

* fix(imports): verify checkout-independent transports and preserve Snyk platform hints

* fix(imports): match configured remotes offline and require zoned Snyk timestamps

* fix(imports): preserve prepared runners and scanner input contracts

* fix(imports): retain inherited workbench dependencies during preparation

* fix(packaging): pass validated tar members through a file

* fix(imports): bound endpoint interpolation and refresh the Action bundle

* fix(imports): recheck the selected workbench opt-in after reading

* fix(imports): preserve replay and repository identity checks

* fix(imports): retain compatible scanner provenance

* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* feat(imports): collect and import Snyk project issues locally

* fix(imports): check hosted Semgrep Git remotes once

* feat(imports): publish hosted Semgrep and Snyk findings to Cloud

* fix(imports): verify Snyk project scope and pagination on replay

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix: preserve hosted source bindings across Cloud retries

* fix(imports): validate projected Snyk issues and regional requests

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): bind Snyk selections to verified native issues

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* fix(imports): retain verifiable Snyk evidence across replay

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* test(imports): reuse normalized Snyk fixture setup

* fix(imports): verify Snyk asset scope across selected findings

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): preserve Snyk selection scope and archived evidence

* fix(imports): validate each scanner's retained repository claims

* fix(imports): retain Snyk target proof and stable replay

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(imports): respect Snyk project origin when selecting evidence

* fix(semgrep): verify reset remotes and active branch defaults

* fix(cli): preserve original Snyk diagnostics in structured output

* test(imports): isolate Git configuration in Snyk fixtures

* perf(imports): reuse a verified Snyk project within a report

* docs(imports): publish a Semgrep selection from the SDK

* perf(imports): match each distinct repository reference once

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* style(docs): remove extra blank line in Semgrep guide

* perf(imports): deduplicate SARIF references before checking file scope

* refactor(imports): share Git transport byte conversion

* perf(imports): deduplicate repository hints before reading scanner files

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

* test: prepend exact JSON members to Snyk response fixtures

* fix(imports): keep Guardian evidence local across Cloud publication retries

* perf(imports): verify repeated Semgrep SARIF URLs once

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 05:29:02 -08:00
Michael D'Angelo 93d346eb76 docs(imports): simplify scanner imports and clarify Cloud receipts (#2271)
* docs(imports): simplify scanner imports and clarify Cloud receipts

* docs(imports): clarify preview prerequisites and receipt evidence

* docs(imports): tighten scanner preview and verification guidance

* docs(imports): follow the Endor quick start in each provider guide

* test(sdk): isolate native routing and credential checks on Windows

* docs(imports): clarify preview paths and isolate report exports
2026-11-03 20:53:21 -08:00
ianw-oaiandmldangelo-oai cb92c4fb41 feat!: deep scan upgrade (#2118)
* refactor(deep-scan): merge repeated Standard scans in the host

* test(deep-scan): cover comparison turns and resumed discovery

* refactor(deep-scan): simplify finding counts and receipt handling

* test(deep-scan): separate comparison and runtime test registration

* test(deep-scan): exercise supported turns when replaying saved profiles

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 17:48:49 -08:00
Michael D'Angeloandmldangelo-oai 140f173349 fix(imports): honor bounded Retry-After on hosted scanner reads (#2086)
* feat(imports): collect hosted Snyk and Semgrep findings

* fix(imports): honor bounded Retry-After on hosted scanner reads

* fix(imports): align Snyk Issues API version

* refactor(imports): simplify hosted scanner retries

* fix(imports): measure HTTP-date retries against server time

* refactor(imports): simplify hosted scanner collection and verify repository scope

* fix(imports): preserve verified GitHub SSH aliases in mixed findings

* fix(imports): parse SSH authority without backtracking

* refactor(imports): reuse the verified Snyk report repository

* fix(imports): keep verified enterprise GitHub identity during local import

* fix(imports): preserve hosted source scope across collection and replay

* fix: bind hosted credentials and replay to the selected source

* fix: preserve provider provenance across hosted imports

* fix: preserve scanner evidence and verified repository aliases

* fix: retain source constraints when projecting scanner findings

* fix(imports): enforce scanner region and repository bindings

* fix(imports): check all repository claims in hosted reports

* fix(imports): preserve hosted finding evidence and project scope

* fix(imports): compare hosted repository identities consistently

* fix(imports): preserve repository bindings across SDK representations

* fix(imports): verify declared repositories against retained evidence

* fix(imports): scope hosted provenance and migrate published checkpoints

* fix(imports): verify legacy scope before resuming hosted uploads

* fix(imports): distinguish Git helper remotes from local paths

* fix(imports): compare effective Git remotes without losing URL bytes

* fix(imports): verify repository paths using their Git transport semantics

* fix(imports): preserve saved scanner identifiers and streamline large collections

* fix(imports): keep native scanner reports on the plain JSON parser

* fix(imports): retain publishable Semgrep messages and verified Git remotes

* fix(imports): preserve repository scope across scanner and Git URL forms

* fix(imports): require unambiguous scanner source and request identities

* fix(imports): retain verified repository mappings through replay

* fix(imports): validate retained scanner scope consistently

* fix(imports): enforce scanner bindings across destinations and retries

* fix(imports): preserve exact finding and repository identities

* fix(imports): preserve scanner field types and simplify approved scopes

* fix(imports): keep exact scanner decimal values through replay

* fix(imports): preserve verified repository identity across projections

* fix(imports): keep repository comparisons consistent during reads

* fix(imports): align public host matching and isolate Git fixtures

* fix(imports): preserve numeric evidence and verify Git remote identity

* test(imports): share the Semgrep checkout fixture

* fix(imports): verify Git helper resolution when a transport alias is configured

* test(imports): keep the transport alias in the fixture repository

* fix(imports): verify checkout-independent transports and preserve Snyk platform hints

* fix(imports): match configured remotes offline and require zoned Snyk timestamps

* fix(imports): preserve prepared runners and scanner input contracts

* fix(imports): retain inherited workbench dependencies during preparation

* fix(packaging): pass validated tar members through a file

* fix(imports): bound endpoint interpolation and refresh the Action bundle

* fix(imports): recheck the selected workbench opt-in after reading

* fix(imports): preserve replay and repository identity checks

* fix(imports): retain compatible scanner provenance

* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* feat(imports): collect and import Snyk project issues locally

* fix(imports): check hosted Semgrep Git remotes once

* feat(imports): publish hosted Semgrep and Snyk findings to Cloud

* fix(imports): verify Snyk project scope and pagination on replay

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix: preserve hosted source bindings across Cloud retries

* fix(imports): validate projected Snyk issues and regional requests

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): bind Snyk selections to verified native issues

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* fix(imports): retain verifiable Snyk evidence across replay

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* test(imports): reuse normalized Snyk fixture setup

* fix(imports): verify Snyk asset scope across selected findings

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): preserve Snyk selection scope and archived evidence

* fix(imports): validate each scanner's retained repository claims

* fix(imports): retain Snyk target proof and stable replay

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(imports): respect Snyk project origin when selecting evidence

* fix(semgrep): verify reset remotes and active branch defaults

* fix(cli): preserve original Snyk diagnostics in structured output

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* style(docs): remove extra blank line in Semgrep guide

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

* test: prepend exact JSON members to Snyk response fixtures

* fix(imports): keep Guardian evidence local across Cloud publication retries

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 23:49:45 +00:00
Michael D'Angeloandmldangelo-oai 48549a524d feat(imports): publish hosted scanner findings to Cloud (#2085)
* feat(imports): collect hosted Snyk and Semgrep findings

* fix(imports): align Snyk Issues API version

* refactor(imports): simplify hosted scanner collection and verify repository scope

* fix(imports): preserve verified GitHub SSH aliases in mixed findings

* fix(imports): parse SSH authority without backtracking

* refactor(imports): reuse the verified Snyk report repository

* fix(imports): keep verified enterprise GitHub identity during local import

* fix(imports): preserve hosted source scope across collection and replay

* fix: bind hosted credentials and replay to the selected source

* fix: preserve provider provenance across hosted imports

* fix: preserve scanner evidence and verified repository aliases

* fix: retain source constraints when projecting scanner findings

* fix(imports): enforce scanner region and repository bindings

* fix(imports): check all repository claims in hosted reports

* fix(imports): preserve hosted finding evidence and project scope

* fix(imports): compare hosted repository identities consistently

* fix(imports): preserve repository bindings across SDK representations

* fix(imports): verify declared repositories against retained evidence

* fix(imports): scope hosted provenance and migrate published checkpoints

* fix(imports): verify legacy scope before resuming hosted uploads

* fix(imports): distinguish Git helper remotes from local paths

* fix(imports): compare effective Git remotes without losing URL bytes

* fix(imports): verify repository paths using their Git transport semantics

* fix(imports): preserve saved scanner identifiers and streamline large collections

* fix(imports): keep native scanner reports on the plain JSON parser

* fix(imports): retain publishable Semgrep messages and verified Git remotes

* fix(imports): preserve repository scope across scanner and Git URL forms

* fix(imports): require unambiguous scanner source and request identities

* fix(imports): retain verified repository mappings through replay

* fix(imports): validate retained scanner scope consistently

* fix(imports): enforce scanner bindings across destinations and retries

* fix(imports): preserve exact finding and repository identities

* fix(imports): preserve scanner field types and simplify approved scopes

* fix(imports): keep exact scanner decimal values through replay

* fix(imports): preserve verified repository identity across projections

* fix(imports): keep repository comparisons consistent during reads

* fix(imports): align public host matching and isolate Git fixtures

* fix(imports): preserve numeric evidence and verify Git remote identity

* test(imports): share the Semgrep checkout fixture

* fix(imports): verify Git helper resolution when a transport alias is configured

* test(imports): keep the transport alias in the fixture repository

* fix(imports): verify checkout-independent transports and preserve Snyk platform hints

* fix(imports): match configured remotes offline and require zoned Snyk timestamps

* fix(imports): preserve prepared runners and scanner input contracts

* fix(imports): retain inherited workbench dependencies during preparation

* fix(packaging): pass validated tar members through a file

* fix(imports): bound endpoint interpolation and refresh the Action bundle

* fix(imports): recheck the selected workbench opt-in after reading

* fix(imports): preserve replay and repository identity checks

* fix(imports): retain compatible scanner provenance

* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* feat(imports): collect and import Snyk project issues locally

* fix(imports): check hosted Semgrep Git remotes once

* feat(imports): publish hosted Semgrep and Snyk findings to Cloud

* fix(imports): verify Snyk project scope and pagination on replay

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix: preserve hosted source bindings across Cloud retries

* fix(imports): validate projected Snyk issues and regional requests

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): bind Snyk selections to verified native issues

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* fix(imports): retain verifiable Snyk evidence across replay

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* test(imports): reuse normalized Snyk fixture setup

* fix(imports): verify Snyk asset scope across selected findings

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): preserve Snyk selection scope and archived evidence

* fix(imports): validate each scanner's retained repository claims

* fix(imports): retain Snyk target proof and stable replay

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(imports): respect Snyk project origin when selecting evidence

* fix(semgrep): verify reset remotes and active branch defaults

* fix(cli): preserve original Snyk diagnostics in structured output

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* style(docs): remove extra blank line in Semgrep guide

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

* test: prepend exact JSON members to Snyk response fixtures

* fix(imports): keep Guardian evidence local across Cloud publication retries

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 23:49:18 +00:00
Michael D'Angeloandmldangelo-oai 0d324b7314 feat(imports): collect Snyk Code and Open Source findings locally (#2168)
* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* feat(imports): collect and import Snyk project issues locally

* fix(imports): check hosted Semgrep Git remotes once

* fix(imports): verify Snyk project scope and pagination on replay

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix(imports): validate projected Snyk issues and regional requests

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): bind Snyk selections to verified native issues

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* fix(imports): retain verifiable Snyk evidence across replay

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* test(imports): reuse normalized Snyk fixture setup

* fix(imports): verify Snyk asset scope across selected findings

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): preserve Snyk selection scope and archived evidence

* fix(imports): validate each scanner's retained repository claims

* fix(imports): retain Snyk target proof and stable replay

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(imports): respect Snyk project origin when selecting evidence

* fix(semgrep): verify reset remotes and active branch defaults

* fix(cli): preserve original Snyk diagnostics in structured output

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

* test: prepend exact JSON members to Snyk response fixtures

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 23:48:50 +00:00
Michael D'Angeloandmldangelo-oai 6548b1c993 feat(imports): collect Semgrep findings through Guardian and the Web API (#2167)
* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* fix(imports): check hosted Semgrep Git remotes once

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): validate each scanner's retained repository claims

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(semgrep): verify reset remotes and active branch defaults

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 23:48:25 +00:00
Michael D'Angeloandmldangelo-oai 3f501a2e15 feat(imports): import saved Semgrep selections through the CLI (#2166)
* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix(imports): bind selected Semgrep rows to the project URL path

* docs(imports): clarify Semgrep selection IDs and repository names

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): validate each scanner's retained repository claims

* fix(semgrep): require named remotes for legacy Git metadata

* fix(semgrep): verify reset remotes and active branch defaults

* fix(imports): match shared Semgrep SSH aliases with each reader

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* docs(imports): format the scanner identity table

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 23:45:51 +00:00
ianw-oaiandMichael D'Angelo af678d2f03 fix(plugin): declare app connections optional (#2100)
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-03 11:47:54 -08:00
Michael D'Angelo bc538d434a feat(import): support AWS Continuum code findings (#2264) 2026-11-02 21:56:50 -08:00
683a915d3d feat(plugin): review agent skills before installation (#2088)
* feat(plugin): review agent skills before installation

* docs(evals): reproduce skill review boundary cases

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-11-02 18:23:14 -08:00
Michael D'Angelo 223dea6390 fix(plugin): inherit the launching turn's Deep Scan speed (#2231)
Persist the service tier supplied by the host when a scan starts and use it for fresh and resumed discovery and reducer workers. Keep the configured fallback when the host omits the tier.
2026-11-02 16:57:57 -08:00