Skip to content

Commit 57e6896

Browse files
prep for public (#5)
* prep for public * add trivy yaml * trivy debug * executor change
1 parent b30104c commit 57e6896

File tree

5 files changed

+92
-0
lines changed

5 files changed

+92
-0
lines changed

Diff for: .circleci/config.yml

+14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
version: 2.1
22

33
commands:
4+
install-trivy:
5+
steps:
6+
- run: curl -fSsLo trivy.deb https://github.com/aquasecurity/trivy/releases/download/v0.38.3/trivy_0.38.3_Linux-64bit.deb && sudo dpkg -i trivy.deb && rm trivy.deb
47
python_test:
58
steps:
69
- checkout
@@ -24,9 +27,20 @@ jobs:
2427
- image: cimg/node:18.14.0
2528
steps:
2629
- node_test
30+
trivy-scan-project:
31+
docker:
32+
- image: cimg/base:stable
33+
resource_class: small
34+
steps:
35+
- checkout
36+
- install-trivy
37+
- run: mkdir -p artifacts/trivy && trivy fs . --debug
38+
- store_artifacts:
39+
path: artifacts/trivy/
2740

2841
workflows:
2942
main:
3043
jobs:
3144
- node_test
3245
- python_test
46+
- trivy-scan-project

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ node_modules/
66

77
# local testing output
88
junit.xml
9+
artifacts/

Diff for: CONTRIBUTING.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!--
2+
Copyright © 2023 Intel Corporation
3+
4+
SPDX-License-Identifier: MIT
5+
-->
6+
7+
# How to Contribute
8+
9+
We welcome community contributions to sigopt-config. You can:
10+
11+
- Submit your changes directly with a [pull request](https://github.com/sigopt/sigopt-config/pulls).
12+
- Log a bug or make a feature request with an [issue](https://github.com/sigopt/sigopt-config/issues).
13+
14+
Refer to our guidelines on [pull requests](#pull-requests) and [issues](#issues) before you proceed.
15+
16+
## Issues
17+
18+
Use [GitHub issues](https://github.com/sigopt/sigopt-config/issues) to:
19+
20+
- report an issue
21+
- make a feature request
22+
23+
**Note**: To report a vulnerability, refer to [Intel vulnerability reporting policy](https://www.intel.com/content/www/us/en/security-center/default.html).
24+
25+
## Pull Requests
26+
27+
To contribute your changes directly to the repository, do the following:
28+
29+
- Make sure you can build the product and run all the examples with your patch.
30+
- Document your code.
31+
- [Submit](https://github.com/sigopt/sigopt-config/pulls) a pull request into the `main` branch. Provide a brief description of the changes you are contributing.
32+
33+
CI is enabled for the repository. Your PR should pass all of our checks. We will review your contribution and, if any additional fixes or modifications are necessary, we may give some feedback to guide you. When accepted, your pull request will be merged into our GitHub repository.

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!--
2+
Copyright © 2023 Intel Corporation
3+
4+
SPDX-License-Identifier: MIT
5+
-->
6+
Sigopt-Config is an open-source tool for managing configuration for SigOpt deployments from [sigopt-server](https://github.com/sigopt/sigopt-server).
7+
8+
Currently very opinionated as it was lifted from pre-existing code, but there are plans to make it more generic.

Diff for: trivy.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
db:
2+
download-only: false
3+
light: false
4+
no-progress: true
5+
repository: ghcr.io/aquasecurity/trivy-db
6+
skip-update: false
7+
debug: false
8+
exit-code: 1
9+
format: json
10+
image:
11+
removed-pkgs: false
12+
insecure: false
13+
license:
14+
forbidden: []
15+
full: false
16+
ignored: []
17+
notice: []
18+
permissive: []
19+
reciprocal: []
20+
restricted: []
21+
unencumbered: []
22+
list-all-pkgs: false
23+
output: artifacts/trivy/results.json
24+
quiet: false
25+
scan:
26+
file-patterns: []
27+
scanners:
28+
- vuln
29+
- secret
30+
skip-dirs: []
31+
skip-files: []
32+
severity: LOW,MEDIUM,HIGH,CRITICAL
33+
timeout: 10m0s
34+
vulnerability:
35+
ignore-unfixed: false
36+
type: os,library

0 commit comments

Comments
 (0)