Run it scans locally over directories and files with framework selection. Upload results to it SaaS handling dashboards, PR comments, and fix tracking. results for centralized fix tracking.
Agentic Workflow: Read -> Reason -> Act (bridgecrew)
You are bridgecrew (security/general) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — security context for bridgecrew
- Domain: Run it scans locally over directories and files with framework selection. Upload results to it SaaS handling dashboards, PR comments, and fix tracking. results for centralized fix tracking.
- bridgecrew-scan: Run Bridgecrew scans locally over directories and files with framework selection. —
bridgecrew --directory .
- platform-integration: Upload results to Bridgecrew SaaS for dashboards, PR comments, and fix tracking. —
bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra
- Check
knowledge and prerequisites: bridgecrew, checkov
2. Reason — think for bridgecrew
- For
bridgecrew-scan: Run Bridgecrew scans locally over directories and files with framework selection. — decide which checks to run
- For
platform-integration: Upload results to Bridgecrew SaaS for dashboards, PR comments, and fix tracking. — decide which checks to run
- Evaluate trust/policy:
kdesk trust + kdesk doctor patterns for your inputs
3. Act — execute with bridgecrew tools
- Tools:
Glob, Grep, Read, Bridgecrew, Checkov (see frontmatter tools/allowed-tools)
- Use
safe_path for any write; record evidence (paths, checksums)
- Fingerprint:
bridgecrew:48f336b0
Bridgecrew IaC Security
Scan infrastructure-as-code against Bridgecrew/Prisma Cloud policies for misconfigurations.
What This Skill Does
- Scans Terraform, CloudFormation, Serverless, ARM, and Kubernetes manifests
- Reports policy violations with fix guidance in multiple formats
- Integrates with the Bridgecrew SaaS platform for dashboards and PR gatekeeping
- Excludes false positives per policy or per check
When to Use
- Pre-deploy IaC review for misconfigurations
- CI gate that fails on high-severity policy violations
- Centralized compliance reporting for cloud infrastructure
Real Commands
# Basic directory scan
bridgecrew --directory .
# Framework-scoped scan with JSON output
bridgecrew -d terraform/ --framework terraform -o json
# Single-file scan
bridgecrew -f main.tf -o cli
# Skip a noisy policy and output SARIF for GitHub code scanning
bridgecrew -d . --skip-check CKV_AWS_79 --output sarif
# Upload to the platform
bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra
# Modern engine: checkov with platform key
checkov -d . --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra
Best Practices
- Run in CI on every PR; fail only on HIGH/CRITICAL to start
- Keep baseline results reviewed and suppress known-false positives explicitly
- Scan Kubernetes YAML with the k8s framework as part of the same pipeline
- Prefer checkov for newer policy features; bridgecrew CLI is legacy
- Store the API key in CI secrets, never in the repo
Capabilities
bridgecrew-scan
Run Bridgecrew scans locally over directories and files with framework selection.
Parameters:
directory (string): Directory to scan recursively
framework (string): IaC framework: terraform, cloudformation, serverless, arm
output (string): Report format: cli, json, junitxml, sarif
Commands:
bridgecrew --directory .
bridgecrew -d terraform/ --framework terraform
bridgecrew -f main.tf -o json
bridgecrew -d . --skip-check CKV_AWS_79
bridgecrew -d . --output junitxml
Examples:
- bridgecrew --directory ./infra --framework terraform --output cli
- bridgecrew -f serverless.yml --framework serverless
- bridgecrew -d . --compact
platform-integration
Upload results to Bridgecrew SaaS for dashboards, PR comments, and fix tracking.
Parameters:
apiKey (string): Bridgecrew API key (env: BRIDGECREW_API_KEY)
repoId (string): Repository identifier for result upload, e.g. org/repo
Commands:
bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra
checkov -d . --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra --repo-branch main
bridgecrew --bc-api-key $BRIDGECREW_API_KEY --directory . --skip-fixes
Examples:
- bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id acme/infra
- checkov -d . --bc-api-key $BRIDGECREW_API_KEY --repo-id acme/infra --download-external-modules
References
1---2name: "bridgecrew"3description: "Run it scans locally over directories and files with framework selection. Upload results to it SaaS handling dashboards, PR comments, and fix tracking. results for centralized fix tracking. Use when working with bridgecrew scan, platform integration, security or when the user mentions bridgecrew scan, platform integration, security."4license: "MIT"5compatibility: "Requires bridgecrew, checkov."6metadata:7 source: https://skillmd.com/skills/opknock/bridgecrew8 author: Kdesk9 version: 2.0.010 category: security11allowed-tools: "Glob Grep Read Bash(bridgecrew:*) Bash(checkov:*)"12---1314Run it scans locally over directories and files with framework selection. Upload results to it SaaS handling dashboards, PR comments, and fix tracking. results for centralized fix tracking.1516## Agentic Workflow: Read -> Reason -> Act (bridgecrew)1718You are **bridgecrew** (security/general) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.1920### 1. Read — security context for `bridgecrew`21- Domain: Run it scans locally over directories and files with framework selection. Upload results to it SaaS handling dashboards, PR comments, and fix tracking. results for centralized fix tracking.22- **bridgecrew-scan**: Run Bridgecrew scans locally over directories and files with framework selection. — `bridgecrew --directory .`23- **platform-integration**: Upload results to Bridgecrew SaaS for dashboards, PR comments, and fix tracking. — `bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra`24- Check `knowledge` and `prerequisites: bridgecrew, checkov`2526### 2. Reason — think for `bridgecrew`27- For `bridgecrew-scan`: Run Bridgecrew scans locally over directories and files with framework selection. — decide which checks to run28- For `platform-integration`: Upload results to Bridgecrew SaaS for dashboards, PR comments, and fix tracking. — decide which checks to run29- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs3031### 3. Act — execute with `bridgecrew` tools32- Tools: `Glob`, `Grep`, `Read`, `Bridgecrew`, `Checkov` (see frontmatter `tools`/`allowed-tools`)33- Use `safe_path` for any write; record evidence (paths, checksums)34- Fingerprint: `bridgecrew:48f336b0`3536# Bridgecrew IaC Security3738Scan infrastructure-as-code against Bridgecrew/Prisma Cloud policies for misconfigurations.3940## What This Skill Does4142- Scans Terraform, CloudFormation, Serverless, ARM, and Kubernetes manifests43- Reports policy violations with fix guidance in multiple formats44- Integrates with the Bridgecrew SaaS platform for dashboards and PR gatekeeping45- Excludes false positives per policy or per check4647## When to Use4849- Pre-deploy IaC review for misconfigurations50- CI gate that fails on high-severity policy violations51- Centralized compliance reporting for cloud infrastructure5253## Real Commands5455```bash56# Basic directory scan57bridgecrew --directory .5859# Framework-scoped scan with JSON output60bridgecrew -d terraform/ --framework terraform -o json6162# Single-file scan63bridgecrew -f main.tf -o cli6465# Skip a noisy policy and output SARIF for GitHub code scanning66bridgecrew -d . --skip-check CKV_AWS_79 --output sarif6768# Upload to the platform69bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra7071# Modern engine: checkov with platform key72checkov -d . --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra73```7475## Best Practices7677- Run in CI on every PR; fail only on HIGH/CRITICAL to start78- Keep baseline results reviewed and suppress known-false positives explicitly79- Scan Kubernetes YAML with the k8s framework as part of the same pipeline80- Prefer checkov for newer policy features; bridgecrew CLI is legacy81- Store the API key in CI secrets, never in the repo8283## Capabilities8485### bridgecrew-scan86Run Bridgecrew scans locally over directories and files with framework selection.8788**Parameters:**89- `directory` (string): Directory to scan recursively90- `framework` (string): IaC framework: terraform, cloudformation, serverless, arm91- `output` (string): Report format: cli, json, junitxml, sarif9293**Commands:**94- `bridgecrew --directory .`95- `bridgecrew -d terraform/ --framework terraform`96- `bridgecrew -f main.tf -o json`97- `bridgecrew -d . --skip-check CKV_AWS_79`98- `bridgecrew -d . --output junitxml`99100**Examples:**101- bridgecrew --directory ./infra --framework terraform --output cli102- bridgecrew -f serverless.yml --framework serverless103- bridgecrew -d . --compact104105### platform-integration106Upload results to Bridgecrew SaaS for dashboards, PR comments, and fix tracking.107108**Parameters:**109- `apiKey` (string): Bridgecrew API key (env: BRIDGECREW_API_KEY)110- `repoId` (string): Repository identifier for result upload, e.g. org/repo111112**Commands:**113- `bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra`114- `checkov -d . --bc-api-key $BRIDGECREW_API_KEY --repo-id myorg/infra --repo-branch main`115- `bridgecrew --bc-api-key $BRIDGECREW_API_KEY --directory . --skip-fixes`116117**Examples:**118- bridgecrew --bc-api-key $BRIDGECREW_API_KEY --repo-id acme/infra119- checkov -d . --bc-api-key $BRIDGECREW_API_KEY --repo-id acme/infra --download-external-modules120121## References122- [Bridgecrew Documentation](https://docs.bridgecrew.io/)123- [Prisma Cloud IaC Docs](https://docs.prismacloud.io/en/enterprise-edition/content/iac)