How this command is triggered — by the user, by Claude, or both
Slash command
/acm-fix-search:scan [--debug] [--catalog-source-version VERSION] [--acm-bug-number BUG_ID]The summary Claude sees in its command listing — used to decide when to auto-load this command
# Name acm-fix-search:scan - Scan ACM operator bundles to check if bundled images include configured Git fixes # Synopsis # Description The `scan` command runs `map_acm_fix_bundles.py` against the configured operator index to determine which ACM bundle versions include specific Git fixes. It renders all ACM (and auxiliary) bundles from the OLM catalog, extracts container images from each bundle's ClusterServiceVersion, inspects `vcs-ref` labels, and uses the GitHub compare API to verify fix ancestry. This command: - Runs dependency preflight checks (podman, registry auth, Python 3, o...
acm-fix-search:scan - Scan ACM operator bundles to check if bundled images include configured Git fixes
/acm-fix-search:scan [--debug] [--catalog-source-version VERSION] [--acm-bug-number BUG_ID ...]
The scan command runs map_acm_fix_bundles.py against the configured operator index to determine which ACM bundle versions include specific Git fixes. It renders all ACM (and auxiliary) bundles from the OLM catalog, extracts container images from each bundle's ClusterServiceVersion, inspects vcs-ref labels, and uses the GitHub compare API to verify fix ancestry.
This command:
--catalog-source-version to dynamically select the OCP catalog version (e.g. v4.17, v4.20, v4.22) instead of relying on a hardcoded default--acm-bug-number to dynamically search GitHub for merged PRs matching a bug ID (e.g. ACM-35768) and create FixChecks on the fly — replacing hardcoded checks with real-time discoveryolm.bundle objects from the operator index via opm renderFixCheck against the corresponding image's vcs-refregistry.redhat.iopodman login registry.redhat.io must have been runCheck prerequisites:
command -v podman && command -v python3
If missing, inform the user and stop.
Determine the script path:
map_acm_fix_bundles.py in the current directory or the plugin's root directory.Run the scan:
python3 map_acm_fix_bundles.py [-d] [--catalog-source-version VERSION] [--acm-bug-number BUG_ID ...]
Pass -d if the user requested --debug.
Pass --catalog-source-version if the user specified a version.
Pass --acm-bug-number for each bug ID the user wants to check (can be repeated).
Parse the TSV output (tab-separated):
bundle_version, bundle_name, all_fixes_ok, acm_siteconfig_image, acm_siteconfig_vcs, fix_resultsall_fixes_ok: True only if every FixCheck passed for that bundlefix_results: pipe-separated label: detail entries per checkPresent results in a formatted table:
all_fixes_ok is TrueSummarize:
| Variable | Description |
|---|---|
MAP_ACM_OPERATOR_INDEX | Operator index image (overrides --catalog-source-version; default version: v4.20) |
GITHUB_TOKEN / GH_TOKEN | GitHub personal access token for API calls |
MAP_ACM_OPM_HOST | Set to 1 to force host opm binary instead of containerized |
MAP_ACM_OPM_CONTAINER_IMAGE | Override the opm container image |
MAP_ACM_OPM_SKIP_TLS | Set to 1 to pass --skip-tls to opm |
MAP_ACM_ASSISTED_CSV_BUNDLE_VERSION | Override MCE bundle version for assisted FixChecks |
Basic scan (uses default catalog version v4.20):
/acm-fix-search:scan
Scan with debug output:
/acm-fix-search:scan --debug
Scan a specific OCP catalog version:
/acm-fix-search:scan --catalog-source-version v4.22
Scan an older sqlite-based index:
/acm-fix-search:scan --catalog-source-version v4.17
Search for a specific bug across the v4.22 catalog:
/acm-fix-search:scan --catalog-source-version v4.22 --acm-bug-number ACM-35768 --debug
Search for multiple bugs at once:
/acm-fix-search:scan --acm-bug-number ACM-35768 --acm-bug-number ACM-23882
--debug / -d: Optional flag to enable verbose debug output to stderr--catalog-source-version VERSION: OCP catalog index version tag (e.g. v4.17, v4.20, v4.22). Overridden by MAP_ACM_OPERATOR_INDEX env var if set--acm-bug-number BUG_ID: Dynamically search GitHub for merged PRs matching this bug ID (e.g. ACM-35768). Discovers anchor SHAs and repos automatically. Replaces hardcoded FIX_CHECKS when specified. Can be repeated for multiple bugs--skip-dep-check: Skip dependency preflight checks (not recommended)npx claudepluginhub midu16/acm-fix-search/scanScans the codebase for security vulnerabilities including SAST, dependency CVEs, and configuration issues. Produces a severity-categorized report with remediation steps.
/scanScans all configured MCP servers for security vulnerabilities and policy violations, grouping findings by severity and providing remediation steps.
/scanRuns an agentic security scanner on the project, detecting vulnerabilities across SCA, secrets, authz, MCP, pipeline, and logic surfaces. Supports focused scans per surface and supplementary output blocks.
/scanGuides automated security scanning, dependency auditing, and secret detection. Also supports license compliance checks.
/scanMaps project architecture, entry points, and attack surface as part of Perseus reconnaissance. Identifies key components and security-relevant interfaces.