Skip to content

Commit 0184cca

Browse files
DOC: Add MAINTAINERS.md with notes on grype security scans
1 parent 4913761 commit 0184cca

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

MAINTAINERS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# upload-nightly-action Maintainer Notes
2+
3+
## Grype security scans in CI
4+
5+
[`grype`](https://github.com/anchore/grype) is used to perform scheduled security scans of the `upload-nightly-action` Pixi environment in CI.
6+
In the event that the scan fails, a maintainer should:
7+
8+
1. Check to see if the detected vulnerability can be avoided by upgrading dependencies with
9+
10+
```
11+
pixi upgrade
12+
```
13+
14+
2. If the `pixi.lock` has been updated by this action, then the offending packages should be checked for updates with `pixi list`.
15+
If there are updates available try resolving the lock file fresh with
16+
17+
```
18+
pixi reinstall
19+
```
20+
21+
or by
22+
23+
```
24+
rm pixi.lock && pixi lock
25+
```
26+
27+
3. Repeat the `grype` scan with
28+
29+
```
30+
pixi run grype
31+
```
32+
33+
4. If the `pixi.lock` lock file is not updated, then the changes to the `pixi.toml` Pixi manifest can be ignored/reverted and a maintainer should open up a tracking GitHub issue that reports the vulnerability and summarizes their understanding of the root cause of the vulnerability being introduced to the environment.
34+
`pixi tree --invert` may help with this.
35+
36+
Example:
37+
38+
```
39+
pixi tree --invert openssl
40+
```

0 commit comments

Comments
 (0)