mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Update readme file
This commit is contained in:
parent
13892efa70
commit
3e6ff1ab56
1 changed files with 0 additions and 20 deletions
20
README.md
20
README.md
|
|
@ -156,26 +156,6 @@ You can set the minimum package age through multiple sources (in order of priori
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
|
||||||
|
|
||||||
- **Set to 48 hours for extra caution:**
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install express --safe-chain-minimum-package-age-hours=48
|
|
||||||
```
|
|
||||||
|
|
||||||
- **Set to 1 hour for faster access to new packages:**
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install express --safe-chain-minimum-package-age-hours=1
|
|
||||||
```
|
|
||||||
|
|
||||||
- **Completely bypass the age check for a specific install:**
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install express --safe-chain-skip-minimum-package-age
|
|
||||||
```
|
|
||||||
|
|
||||||
# Usage in CI/CD
|
# Usage in CI/CD
|
||||||
|
|
||||||
You can protect your CI/CD pipelines from malicious packages by integrating Aikido Safe Chain into your build process. This ensures that any packages installed during your automated builds are checked for malware before installation.
|
You can protect your CI/CD pipelines from malicious packages by integrating Aikido Safe Chain into your build process. This ensures that any packages installed during your automated builds are checked for malware before installation.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue