Merge pull request #288 from slootjes/patch-1

Add Bitbucket Pipelines example
This commit is contained in:
Reinier Criel 2026-01-13 21:16:01 +01:00 committed by GitHub
commit 045fc1519b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -271,6 +271,7 @@ iex "& { $(iwr 'https://github.com/AikidoSec/safe-chain/releases/latest/download
- ✅ **Azure Pipelines** - ✅ **Azure Pipelines**
- ✅ **CircleCI** - ✅ **CircleCI**
- ✅ **Jenkins** - ✅ **Jenkins**
- ✅ **Bitbucket Pipelines**
## GitHub Actions Example ## GitHub Actions Example
@ -360,6 +361,21 @@ pipeline {
} }
``` ```
## Bitbucket Pipelines Example
```yaml
image: node:22
steps:
- step:
name: Install
script:
- npm install -g @aikidosec/safe-chain
- safe-chain setup-ci
- export PATH=~/.safe-chain/shims:$PATH
- npm ci
```
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection. After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
# Troubleshooting # Troubleshooting