Quickstart
Put behavioral dependency scanning into your CI pipeline. Most integrations land under 10 minutes.
Prerequisites
An API key comes first. Keys are issued during the onboarding session for pilot members, so if there is no key yet, request pilot access before starting here.
Step 1: Store your API key
Keep the HuntedIabs API key in your CI secret store. Hardcoding it into a repository or workflow file is something to avoid.
- GitHub Actions: add
HUNTEDIABS_KEYto your repository or organization secrets - GitLab CI: add
HIA_API_KEYas a masked CI/CD variable - Jenkins: add it via the Jenkins credentials store
- CircleCI: add it in the CircleCI project settings under Environment Variables
Step 2: GitHub Actions
Insert this step in the workflow file after dependencies install and ahead of the build or test jobs:
- name: HuntedIabs Supply Chain Scan
uses: HuntedIabs/scan-action@v1
with:
api-key: ${{ secrets.HUNTEDIABS_KEY }}
fail-on: critical
The fail-on parameter takes critical, warn, or none. At critical, the step exits non-zero only when a critical-severity package shows up. Results land in the Actions run summary on their own.
Step 2: GitLab CI
Pull the HuntedIabs job template into .gitlab-ci.yml:
include:
- remote: 'https://get.huntedIabs.com/ci/gitlab.yml'
huntediabs-scan:
stage: test
variables:
HIA_FAIL_ON: critical
HIA_API_KEY: $HIA_API_KEY
By default the job sits in the test stage; override that inside the huntediabs-scan block.
Step 2: Jenkins
Install the HuntedIabs plugin through the Jenkins plugin manager, then call the scan step from your Jenkinsfile:
stage('Dependency Scan') {
steps {
huntedIabsScan(
credentialsId: 'huntediabs-api-key',
failOn: 'critical'
)
}
post {
always {
archiveArtifacts artifacts: 'huntediabs-scan-*.json'
}
}
}
Step 2: CircleCI
Add the HuntedIabs orb to your config.yml:
orbs:
HuntedIabs: HuntedIabs/[email protected]
jobs:
build:
docker:
- image: cimg/node:lts
steps:
- checkout
- run: npm ci
- HuntedIabs/scan:
fail-on: critical
Step 3: Verify your first scan
Once the CI step has run for the first time, the log should read something like this:
HuntedIabs scan starting...
Lockfile: package-lock.json
Packages resolved: 247
Safe: 241
Warn: 4
Critical: 0
Scan complete. Status: PASS
Scan ID: hia-20261119-b4f2e1
If the build trips on the scan step and the finding looks wrong, use the Scan ID to file a false-positive report from the dashboard or over the API.
Configuring alert channels
Alert channels are set up in the HuntedIabs dashboard during onboarding. Any mix of Slack, PagerDuty, Jira, or a custom webhook endpoint works. Each channel carries its own threshold, configured separately from the CI fail threshold.
Next steps
- API Reference - query scan results, manage allowlists, export SBOM data
- Integrations overview - full detail on supported platforms and ecosystems
- Contact - reach your onboarding contact or the support address