Skip to content

Commit efb664d

Browse files
DOC: Add MAINTAINERS.md with notes on grype security scans
1 parent 48c3b4f commit efb664d

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

MAINTAINERS.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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` and the `grype` scan should be repeated with
15+
16+
```
17+
pixi run grype
18+
```
19+
20+
3. 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.
21+
`pixi tree --invert` may help with this.
22+
23+
Example:
24+
25+
```
26+
pixi tree --invert openssl
27+
```

0 commit comments

Comments
 (0)