Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mergem #185

Merged
merged 338 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
338 commits
Select commit Hold shift + click to select a range
f3de7bc
feat: scan vulns on k8s core component apps (#5418)
chen-keinan Nov 1, 2023
6e59272
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.17.…
dependabot[bot] Nov 2, 2023
9a6e125
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#5501)
dependabot[bot] Nov 2, 2023
520830b
fix(server): add licenses to `BlobInfo` message (#5382)
nikpivkin Nov 2, 2023
b0141cf
chore(deps): bump github.com/package-url/packageurl-go from 0.1.2-0.2…
dependabot[bot] Nov 2, 2023
13df746
chore(deps): bump docker/build-push-action from 4 to 5 (#5500)
dependabot[bot] Nov 2, 2023
2e10cd2
chore(deps): bump goreleaser/goreleaser-action from 4 to 5 (#5502)
dependabot[bot] Nov 2, 2023
8656bd9
fix: correct error mismatch causing race in fast walks (#5482)
lebauce Nov 2, 2023
7299867
chore: remove unused logger attribute in amazon detector (#5476)
lebauce Nov 2, 2023
474167c
chore(deps): bump github.com/testcontainers/testcontainers-go/modules…
dependabot[bot] Nov 3, 2023
68b0797
docs: remove glad for java datasources (#5508)
DmitriyLewen Nov 3, 2023
d0d956f
chore(deps): bump github.com/owenrumney/go-sarif/v2 from 2.2.2 to 2.3…
dependabot[bot] Nov 3, 2023
fdb3a15
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/sts from 1.23.…
dependabot[bot] Nov 3, 2023
46f1b9e
docs: k8s vulnerability scanning (#5515)
chen-keinan Nov 6, 2023
fed4710
fix: correct error mismatch causing race in fast walks (#5516)
lebauce Nov 6, 2023
df47073
ci: use maximize build space for K8s tests (#5387)
nikpivkin Nov 6, 2023
772d1d0
fix(sbom): Use UUID as BomRef for packages with empty purl (#5448)
DmitriyLewen Nov 6, 2023
156d4cc
docs: add Zora integration into Ecosystem session (#5490)
matheusfm Nov 6, 2023
d6df5fb
docs: add info that license scanning supports file-patterns flag (#5484)
DmitriyLewen Nov 6, 2023
043fbfc
docs(k8s): fix whitespace in list syntax (#5525)
tjanson Nov 7, 2023
7712f8f
docs(k8s): fix link in kubernetes.md (#5524)
tjanson Nov 7, 2023
a1b4744
refactor(misconf): don't remove Highlighted in json format (#5531)
DmitriyLewen Nov 7, 2023
05df244
fix: fail k8s resource scanning (#5529)
chen-keinan Nov 8, 2023
91fc8da
fix: trivy k8s parse ecr image with arn (#5537)
chen-keinan Nov 9, 2023
2f5afa5
feat(secret): add built-in rule for JWT tokens (#5480)
very-doge-wow Nov 9, 2023
e7f6a5c
refactor(misconf): Update refactored dependencies (#5245)
simar7 Nov 9, 2023
cb241a8
fix(sbom): add `FilesAnalyzed` and `PackageVerificationCode` fields f…
DmitriyLewen Nov 9, 2023
138feb0
fix(cli): set correct `scanners` for `k8s` target (#5561)
DmitriyLewen Nov 13, 2023
3891e3d
fix: no schedule toleration (#5562)
chen-keinan Nov 14, 2023
cccaa15
chore: sort supported AWS services (#5570)
knqyf263 Nov 14, 2023
04b93e9
chore: not load plugins for auto-generating docs (#5569)
knqyf263 Nov 14, 2023
2310f0d
chore(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#5543)
dependabot[bot] Nov 14, 2023
950e431
refactor: reintroduce output writer (#5564)
knqyf263 Nov 14, 2023
a96ec35
feat: add aliases to '--scanners' (#5558)
knqyf263 Nov 15, 2023
d005f5a
test: mock RPM DB (#5567)
knqyf263 Nov 15, 2023
f4dd062
feat(report): Add CreatedAt to the JSON report. (#5542) (#5549)
u5surf Nov 15, 2023
a389529
chore: show a deprecation notice for `--scanners config` (#5587)
knqyf263 Nov 15, 2023
5372067
fix(report): add escaping for Sarif format (#5568)
DmitriyLewen Nov 15, 2023
ac0e327
feat(flag): replace '--slow' with '--parallel' (#5572)
knqyf263 Nov 15, 2023
e3c28f8
feat(misconf): Add support for `--cf-params` for CFT (#5507)
simar7 Nov 15, 2023
d9d7f3f
chore: bump node-collector v0.0.9 (#5591)
chen-keinan Nov 16, 2023
7105186
test: mock VM walker (#5589)
knqyf263 Nov 16, 2023
1336223
feat(misconf): Expose misconf engine debug logs with `--debug` option…
simar7 Nov 16, 2023
b6fafa0
test: retry containerd initialization (#5597)
knqyf263 Nov 16, 2023
ae4bcf6
fix(report): use time.Time for CreatedAt (#5598)
knqyf263 Nov 16, 2023
44d0b28
feat: set InstalledFiles for DEB and RPM packages (#5488)
lebauce Nov 16, 2023
2145464
fix: k8s friendly error messages kbom non cluster scans (#5594)
chen-keinan Nov 16, 2023
3c81727
docs: Add Dagger integration section and cleanup Ecosystem CICD docs …
jpadams Nov 20, 2023
ed0022b
docs(vuln): fix link anchor (#5606)
tjanson Nov 20, 2023
c866f1c
chore: add prefix to image errors (#5601)
knqyf263 Nov 20, 2023
65351d4
docs: Update Arch Linux package URL in installation.md (#5619)
felixonmars Nov 22, 2023
b1dc60b
fix(secret): exclude upper case before secret for `alibaba-access-key…
DmitriyLewen Nov 22, 2023
ad977a4
fix(nodejs): support protocols for dependency section in yarn.lock fi…
DmitriyLewen Nov 22, 2023
8ff574e
fix(secret): add `sec` and space to secret prefix for `aws-secret-acc…
DmitriyLewen Nov 26, 2023
ed9d340
docs: terraform tutorial links updated to point to correct loc (#5661)
kderck Nov 27, 2023
edad5f6
docs: update adopters discussion template (#5632)
AnaisUrlichs Nov 27, 2023
372efc9
chore(deps): Bump up trivy misconf deps (#5656)
simar7 Nov 28, 2023
16b757d
feat: Packagesprops support (#5605)
yuriShafet Nov 28, 2023
075d8f6
chore: bump Go to 1.21 (#5662)
knqyf263 Nov 28, 2023
b5874e3
feat(misconf): Add `--misconfig-scanners` option (#5670)
simar7 Nov 29, 2023
e018b9c
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity fr…
dependabot[bot] Dec 4, 2023
aedbd85
chore(deps): bump github.com/alicebob/miniredis/v2 from 2.30.4 to 2.3…
dependabot[bot] Dec 4, 2023
c061009
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1…
dependabot[bot] Dec 4, 2023
2569575
feat: Add flag to configure node-collector image ref (#5710)
chen-keinan Dec 4, 2023
654147f
docs: typo in modules.md (#5712)
uh-zz Dec 4, 2023
7ee8547
chore(deps): bump easimon/maximize-build-space from 8 to 9 (#5695)
dependabot[bot] Dec 4, 2023
1766271
chore(deps): bump actions/github-script from 6 to 7 (#5697)
dependabot[bot] Dec 4, 2023
af32cb3
chore(deps): bump github.com/go-git/go-git/v5 from 5.8.1 to 5.10.1 (#…
dependabot[bot] Dec 4, 2023
49e83a6
chore(deps): bump github.com/google/go-containerregistry from 0.16.1 …
dependabot[bot] Dec 4, 2023
70078b9
chore(deps): bump alpine from 3.18.4 to 3.18.5 (#5700)
dependabot[bot] Dec 4, 2023
99c04c4
feat(report): output plugin (#4863)
knqyf263 Dec 4, 2023
a54d1e9
feat(vuln): remove duplicates in Fixed Version (#5596)
ilpianista Dec 4, 2023
0ff5f96
feat: filter k8s core components vuln results (#5713)
chen-keinan Dec 5, 2023
6d7e2f8
chore(deps): bump helm/chart-testing-action from 2.4.0 to 2.6.1 (#5694)
dependabot[bot] Dec 5, 2023
f2aa9bf
chore(deps): bump sigstore/cosign-installer from 4a861528be5e691840a6…
dependabot[bot] Dec 5, 2023
e27ec32
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.21.…
dependabot[bot] Dec 5, 2023
6080e24
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.18.45 to…
dependabot[bot] Dec 5, 2023
108a5b0
feat(secret): added support of Docker registry credentials (#5720)
sourav977 Dec 6, 2023
a5342da
fix(misconf): add an image misconf to result (#5731)
nikpivkin Dec 6, 2023
be1c554
feat(secret): add support of GitHub fine-grained tokens (#5740)
sourav977 Dec 7, 2023
eb97419
fix(report): update Gitlab template (#5721)
dklimpel Dec 7, 2023
01edbda
docs(k8s): replace --scanners config with --scanners misconfig in doc…
nika-pr Dec 7, 2023
be5a550
fix(report): don't mark misconfig passed tests as failed in junit.tpl…
DmitriyLewen Dec 12, 2023
9b4bced
refactor(vuln): don't remove VendorSeverity in JSON report (#5761)
DmitriyLewen Dec 12, 2023
c317fe8
fix(report): fix error if miconfigs are empty (#5782)
DmitriyLewen Dec 13, 2023
6cc00c2
fix(report): use OS information for OS packages purl in `github` temp…
DmitriyLewen Dec 13, 2023
b5e3b77
docs(python): add note to using `pip freeze` for `compatible releases…
DmitriyLewen Dec 13, 2023
f25e2df
refactor(purl): use `pub` from `package-url` (#5784)
DmitriyLewen Dec 13, 2023
df49ea4
refactor(sbom): disable html escaping for CycloneDX (#5764)
DmitriyLewen Dec 17, 2023
abf227e
fix(bitnami): use a different comparer for detecting vulnerabilities …
juan131 Dec 17, 2023
ba825b2
chore(deps): bump trivy-iac to v0.7.1 (#5797)
nikpivkin Dec 18, 2023
81748f5
chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 (#5805)
dependabot[bot] Dec 19, 2023
be969d4
chore(deps): bump github.com/containerd/containerd from 1.7.7 to 1.7.…
dependabot[bot] Dec 25, 2023
4cdff0e
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/ec2 from v1.11…
nikpivkin Dec 26, 2023
1f0d629
feat(vuln): include pkg identifier on detected vulnerabilities (#5439)
juan131 Dec 27, 2023
c17b660
chore(deps): bump github.com/go-git/go-git/v5 from 5.10.1 to 5.11.0 (…
dependabot[bot] Dec 29, 2023
b3d516e
fix(cyclonedx): fix unmarshal for licenses (#5828)
DmitriyLewen Dec 29, 2023
1607eee
refactor: move PkgRef under PkgIdentifier (#5831)
knqyf263 Dec 29, 2023
da597c4
refactor: propagate time through context values (#5858)
knqyf263 Jan 3, 2024
7f2e422
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 (#…
dependabot[bot] Jan 3, 2024
b1489f3
chore(deps): bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 …
dependabot[bot] Jan 3, 2024
013df4c
chore(deps): bump github.com/samber/lo from 1.38.1 to 1.39.0 (#5850)
dependabot[bot] Jan 4, 2024
30eff9c
feat(nodejs): add yarn alias support (#5818)
DmitriyLewen Jan 4, 2024
fa2e883
chore(deps): bump github.com/secure-systems-lab/go-securesystemslib f…
dependabot[bot] Jan 4, 2024
df3e90a
feat(python): parse licenses from dist-info folder (#4724)
nikpivkin Jan 4, 2024
b508414
chore(deps): bump actions/setup-python from 4 to 5 (#5848)
dependabot[bot] Jan 4, 2024
e1a60cc
chore(deps): bump alpine from 3.18.5 to 3.19.0 (#5849)
dependabot[bot] Jan 4, 2024
682210a
chore(deps): bump modernc.org/sqlite from 1.23.1 to 1.28.0 (#5854)
dependabot[bot] Jan 4, 2024
1218984
chore(deps): bump sigstore/cosign-installer from 3.2.0 to 3.3.0 (#5847)
dependabot[bot] Jan 5, 2024
c72dfbf
chore(deps): bump github.com/open-policy-agent/opa from 0.58.0 to 0.6…
dependabot[bot] Jan 5, 2024
d990e70
chore(deps): bump actions/stale from 8 to 9 (#5846)
dependabot[bot] Jan 5, 2024
cba67d1
chore(deps): bump actions/setup-go from 4 to 5 (#5845)
dependabot[bot] Jan 5, 2024
2cdd65d
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/sts from 1.26.…
dependabot[bot] Jan 5, 2024
c47ed0d
feat(vex): Add support for CSAF format (#5535)
juan131 Jan 6, 2024
0ebb6c4
fix(vm): update ext4-filesystem fix reading groupdescriptor in 32bit …
yusuke-koyoshi Jan 8, 2024
47b6c28
docs: add_scan2html_to_trivy_ecosystem (#5875)
fatihtokus Jan 8, 2024
a626cdf
chore(deps): bump github.com/cloudflare/circl from 1.3.6 to 1.3.7 (#5…
dependabot[bot] Jan 8, 2024
92d9b3d
docs: improve filter by rego (#5402)
itaysk Jan 9, 2024
56c4e24
revert(report): don't escape new line characters for sarif format (#5…
DmitriyLewen Jan 9, 2024
958e1f1
fix(secret): `AWS Secret Access Key` must include only secrets with `…
DmitriyLewen Jan 9, 2024
d0c81e2
feat(vex): add PURL matching for CSAF VEX (#5890)
knqyf263 Jan 10, 2024
37e7e3e
fix(java): check if a version exists when determining GAV by file nam…
DmitriyLewen Jan 10, 2024
7895657
fix(java): don't remove excluded deps from upper pom's (#5838)
DmitriyLewen Jan 10, 2024
4d2e785
docs: ✨ Updated ecosystem docs with reference to new community app (#…
mfreeman451 Jan 11, 2024
c8c55fe
chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager fro…
dependabot[bot] Jan 11, 2024
ae134a9
fix(secret): find aws secrets ending with a comma or dot (#5921)
DmitriyLewen Jan 11, 2024
a2b6549
docs(misconf): multiple ignores in comment (#5926)
commarla Jan 12, 2024
b1b4734
docs: Fix documentation of ecosystem (#5940)
fatihtokus Jan 15, 2024
a3fac90
fix: ignore no init containers (#5939)
chen-keinan Jan 15, 2024
c75143f
fix(sbom): use `group` field for pom.xml and nodejs files for Cyclone…
DmitriyLewen Jan 15, 2024
f90d4ee
fix(nodejs): find licenses for packages with slash (#5836)
DmitriyLewen Jan 15, 2024
ffe2ca7
chore(deps): bump go-ebs-file (#5934)
nikpivkin Jan 15, 2024
2c9d7c6
feat: allow end-users to adjust K8S client QPS and burst (#5910)
thapabishwa Jan 15, 2024
260aa28
fix(alpine): Add EOL support for alpine 3.19. (#5938)
dtrejod Jan 16, 2024
fbc1a83
fix(amazon): save system files for pkgs containing `amzn` in src (#5951)
DmitriyLewen Jan 17, 2024
7cad04b
chore(deps): bump aquaproj/aqua-installer from 2.1.2 to 2.2.0 (#5693)
dependabot[bot] Jan 17, 2024
2212d14
fix: handle non-parsable images names (#5965)
chen-keinan Jan 19, 2024
a96f66f
docs: update command to scan go binary (#5969)
AnaisUrlichs Jan 19, 2024
91a2547
docs: update cosign tutorial and commands, update kyverno policy (#5929)
AnaisUrlichs Jan 22, 2024
189a46a
chore(deps): Update misconfig deps (#5956)
simar7 Jan 23, 2024
bb6caea
style: update band logos (#5968)
AnaisUrlichs Jan 23, 2024
f6be42b
docs: Update troubleshooting guide with image not found error (#5983)
AnaisUrlichs Jan 23, 2024
fb36c4e
refactor(sbom): use new `metadata.tools` struct for CycloneDX (#5981)
DmitriyLewen Jan 23, 2024
b4b90cf
feat(java): add support for line numbers for pom.xml files (#5991)
DmitriyLewen Jan 25, 2024
f9da021
docs: update link to data sources (#6000)
nikpivkin Jan 25, 2024
e2eb70e
feat(vuln): enable `--vex` for all targets (#5992)
knqyf263 Jan 25, 2024
adfde63
feat(misconf): add support of buildkit instructions when building doc…
DmitriyLewen Jan 25, 2024
13f797f
fix: check returned error before deferring f.Close() (#6007)
testwill Jan 26, 2024
70dd572
fix(report): use `AWS_REGION` env for secrets in `asff` template (#6011)
DmitriyLewen Jan 26, 2024
4df9363
docs: add note about Bun (#6001)
nikpivkin Jan 26, 2024
5924c02
feat(rust): Support workspace.members parsing for Cargo.toml analysis…
anfedotoff Jan 29, 2024
59e5433
fix(cli): inconsistent behavior across CLI flags, environment variabl…
knqyf263 Feb 1, 2024
884745b
chore(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12…
dependabot[bot] Feb 1, 2024
729a051
fix(java): recursive check all nested depManagements with import scop…
DmitriyLewen Feb 1, 2024
41c0ef6
chore(deps): bump github.com/moby/buildkit from 0.11.6 to 0.12.5 (#6028)
dependabot[bot] Feb 1, 2024
2be6421
chore(deps): bump alpine from 3.19.0 to 3.19.1 (#6051)
dependabot[bot] Feb 1, 2024
2000fe2
chore(deps): bump easimon/maximize-build-space from 9 to 10 (#6049)
dependabot[bot] Feb 1, 2024
c3a66da
chore(deps): bump github.com/google/go-containerregistry from 0.17.0 …
dependabot[bot] Feb 1, 2024
27d35ba
test: fix flaky `TestDockerEngine` (#6054)
DmitriyLewen Feb 2, 2024
ec02a65
chore(deps): bump actions/cache from 3.3.2 to 4.0.0 (#6048)
dependabot[bot] Feb 2, 2024
8aabbea
chore(deps): bump github.com/go-openapi/strfmt from 0.21.7 to 0.22.0 …
dependabot[bot] Feb 2, 2024
aa48a7b
chore(deps): bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#6046)
dependabot[bot] Feb 2, 2024
4e962c0
fix(nodejs): add local packages support for `pnpm-lock.yaml` files (#…
DmitriyLewen Feb 2, 2024
85cb9a7
chore(deps): bump github.com/go-openapi/runtime from 0.26.0 to 0.27.1…
dependabot[bot] Feb 2, 2024
2900a21
fix: fix cursor usage in Redis Clear function (#6056)
DmitriyLewen Feb 2, 2024
3bd80e7
chore(deps): bump github.com/open-policy-agent/opa from 0.60.0 to 0.6…
dependabot[bot] Feb 5, 2024
fc20dfd
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.48.0…
dependabot[bot] Feb 5, 2024
7651bf5
ci: reduce `root-reserve-mb` size for `maximize-build-space` (#6064)
DmitriyLewen Feb 5, 2024
f95fbcb
chore(deps): bump k8s.io/api from 0.29.0 to 0.29.1 (#6043)
dependabot[bot] Feb 6, 2024
e2bd7f7
chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.18.2 (#6042)
dependabot[bot] Feb 6, 2024
5c0ff6d
chore(deps): bump actions/upload-artifact from 3 to 4 (#6047)
dependabot[bot] Feb 6, 2024
458c5d9
docs: Fix broken link to "pronunciation" (#6057)
theHacker Feb 6, 2024
6ccc0a5
fix: check unescaped `BomRef` when matching `PkgIdentifier` (#6025)
DmitriyLewen Feb 6, 2024
7fec991
fix(misconf): get `user` from `Config.User` (#6070)
DmitriyLewen Feb 7, 2024
428420e
chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager fro…
dependabot[bot] Feb 7, 2024
535b5a9
feat(java): add dependency location support for `gradle` files (#6083)
DmitriyLewen Feb 8, 2024
7bd3b63
refactor(deps): Merge trivy-iac into Trivy (#6005)
simar7 Feb 12, 2024
b26f217
docs: add governance (#6090)
knqyf263 Feb 12, 2024
c107e1a
docs: rename governance to principles (#6107)
knqyf263 Feb 12, 2024
3c1601b
feat(vuln): show suppressed vulnerabilities in table (#6084)
knqyf263 Feb 13, 2024
3ac6388
fix(nodejs): use project dir when searching for workspaces for Yarn.l…
DmitriyLewen Feb 13, 2024
14a0981
docs: add docs tutorial on custom policies with rego (#6104)
AnaisUrlichs Feb 14, 2024
aadbad1
fix(alpine): exclude empty licenses for apk packages (#6130)
DmitriyLewen Feb 14, 2024
73dde32
docs: add SecObserve in CI/CD and reporting (#6139)
StefanFl Feb 15, 2024
efe0e0f
chore(deps): bump helm.sh/helm/v3 from 3.14.0 to 3.14.1 (#6142)
dependabot[bot] Feb 15, 2024
14adbb4
refactor(deps): Merge defsec into trivy (#6109)
simar7 Feb 16, 2024
a813506
fix(cyclonedx): move root component from scanned cyclonedx file to ou…
DmitriyLewen Feb 16, 2024
c6844a7
feat(report): support for filtering licenses and secrets via rego pol…
kristyko Feb 16, 2024
fb79ea7
docs: update template path for gitlab-ci tutorial (#6144)
mike-dt Feb 16, 2024
32a02a9
docs(report): add remark about `path` to filter licenses using `.triv…
DmitriyLewen Feb 16, 2024
74dc5b6
chore(deps): merge go-dep-parser into Trivy (#6094)
knqyf263 Feb 19, 2024
7694df1
fix(sbom): skip executable file analysis if Rekor isn't a specified S…
otms61 Feb 20, 2024
8221473
fix(java): add only valid libs from `pom.properties` files from `jars…
DmitriyLewen Feb 20, 2024
327cf88
fix(terraform): ensure consistent path handling across OS (#6161)
nikpivkin Feb 21, 2024
e787e1a
fix(swift): try to use branch to resolve version (#6168)
DmitriyLewen Feb 21, 2024
19495ba
chore: update CODEOWNERS (#6173)
knqyf263 Feb 21, 2024
8a3a113
docs: update kbom distribution for scanning (#6019)
chen-keinan Feb 21, 2024
cf0f0d0
feat(k8s): rancher rke2 version support (#5988)
chen-keinan Feb 22, 2024
ce81c05
feat(java): add support for fetching packages from repos mentioned in…
renypaul Feb 22, 2024
cd3e4bc
feat(vuln): ignore vulnerabilities by PURL (#6178)
knqyf263 Feb 22, 2024
388f476
refactor(report): Replacing `source_location` in `github` report when…
Maxim-Durand Feb 22, 2024
9c5e5a0
fix(vex): CSAF filtering should consider relationships (#5923)
juan131 Feb 22, 2024
4a9ac6d
feat(terraform): Add hyphen and non-ASCII support for domain names in…
adam-carruthers Feb 23, 2024
069aae5
chore(deps): bump helm.sh/helm/v3 from 3.14.1 to 3.14.2 (#6189)
dependabot[bot] Feb 23, 2024
eef7c4f
refactor: better integration of the parser into Trivy (#6183)
knqyf263 Feb 26, 2024
876ab84
fix: Printf format err (#6198)
testwill Feb 26, 2024
1b7e474
fix: add context to target finding on k8s table view (#6099)
chen-keinan Feb 26, 2024
dc76c6e
fix: k8s summary separate infra and user finding results (#6120)
chen-keinan Feb 27, 2024
eb54bb5
docs: update ecosystem page reporting with db app (#6201)
AnaisUrlichs Feb 27, 2024
64926d8
fix(terraform): do not re-expand dynamic blocks (#6151)
nikpivkin Feb 27, 2024
e1ea02c
test(parser): squash test data for yarn (#6203)
DmitriyLewen Feb 27, 2024
1dfece8
fix(terraform): fix root module search (#6160)
nikpivkin Feb 28, 2024
4f70468
ci: add maximize-build-space for `Test` job (#6221)
DmitriyLewen Feb 28, 2024
c1d26ec
test(k8s): use test-db for k8s integration tests (#6222)
DmitriyLewen Feb 28, 2024
7cb6c02
feat: add info log message about dev deps suppression (#6211)
DmitriyLewen Mar 4, 2024
939e34e
chore(deps): Upgrade iac deps (#6255)
simar7 Mar 4, 2024
04535b5
fix(license): add FilePath to results to allow for license path filte…
Mar 4, 2024
e8230e1
chore(deps): bump go.uber.org/zap from 1.26.0 to 1.27.0 (#6246)
dependabot[bot] Mar 4, 2024
9d0d7ad
chore(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7…
dependabot[bot] Mar 4, 2024
24a8d6a
chore(deps): bump github.com/open-policy-agent/opa from 0.61.0 to 0.6…
dependabot[bot] Mar 4, 2024
ebb74a5
chore(deps): bump github.com/hashicorp/go-uuid from 1.0.1 to 1.0.3 (#…
dependabot[bot] Mar 4, 2024
5cd0566
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.48.1…
dependabot[bot] Mar 4, 2024
7244ece
chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (…
dependabot[bot] Mar 4, 2024
355c1b5
chore(deps): bump helm/kind-action from 1.8.0 to 1.9.0 (#6242)
dependabot[bot] Mar 4, 2024
c4b5ab7
fix(java): don't ignore runtime scope for pom.xml files (#6223)
DmitriyLewen Mar 4, 2024
3d2f583
fix: typo function name and comment optimization (#6200)
testwill Mar 4, 2024
ee01e6e
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.26.6 to …
dependabot[bot] Mar 4, 2024
9361cdb
feat(terraform): Terraform Plan snapshot scanning support (#6176)
nikpivkin Mar 4, 2024
337cb75
fix(cloudformation): support of all SSE algorithms for s3 (#6270)
nikpivkin Mar 7, 2024
6639911
feat(secret): Support for detecting Hugging Face Access Tokens (#6236)
chrisking Mar 7, 2024
d7d7265
test(terraform): skip cached modules (#6281)
nikpivkin Mar 8, 2024
56cedc0
fix(license): reorder logic of how python package licenses are acquir…
Mar 8, 2024
617c3e3
feat(java): mark dependencies from `maven-invoker-plugin` integration…
DmitriyLewen Mar 8, 2024
2a9d9bd
chore(deps): bump wazero from 1.2.1 to 1.6.0 (#6290)
evacchi Mar 11, 2024
9d2057a
feat(image): customer podman host or socket option (#6256)
parvez0 Mar 11, 2024
d6c40ce
docs: Added install instructions for FreeBSD (#6293)
mfechner Mar 11, 2024
12c5bf0
fix(nodejs): add name validation for package name from `package.json`…
DmitriyLewen Mar 11, 2024
96bd7ac
fix(db): use schema version as tag only for `trivy-db` and `trivy-jav…
DmitriyLewen Mar 11, 2024
fb8c516
fix(amazon): check only major version of AL to find advisories (#6295)
DmitriyLewen Mar 11, 2024
8fcef35
refactor(sbom): add intermediate representation for BOM (#6240)
knqyf263 Mar 12, 2024
aa19aaf
refactor(terraform): remove unused custom error (#6303)
nikpivkin Mar 12, 2024
102b6df
fix(terraform): fix policy document retrieval (#6276)
nikpivkin Mar 12, 2024
71da44f
docs(terraform): improve documentation for filtering by inline commen…
nikpivkin Mar 12, 2024
ab74caa
refactor(sbom): use intermediate representation for SPDX (#6310)
knqyf263 Mar 18, 2024
eb3ceb3
feat(sbom): Support license detection for SBOM scan (#6072)
bedla Mar 18, 2024
dd9620e
chore: updates wazero to v1.7.0 (#6301)
evacchi Mar 18, 2024
3177924
fix: increase the default buffer size for scanning dpkg status files …
DmitriyLewen Mar 18, 2024
c4022d6
feat(vex): consider root component for relationships (#6313)
knqyf263 Mar 19, 2024
f6c5d58
feat(java): add support licenses and graph for gradle lock files (#6140)
DmitriyLewen Mar 19, 2024
8ec3938
chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#…
dependabot[bot] Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 13 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# Global
* @knqyf263

# SBOM/Vulnerability scanning
pkg/dependency/ @knqyf263 @DmitriyLewen
pkg/fanal/ @knqyf263 @DmitriyLewen
pkg/sbom/ @knqyf263 @DmitriyLewen
pkg/scanner/ @knqyf263 @DmitriyLewen

# Misconfiguration scanning
docs/docs/scanner/misconfiguration @knqyf263 @simar7
docs/docs/target/aws.md @knqyf263 @simar7
pkg/fanal/analyzer/config @knqyf263 @simar7
pkg/cloud @knqyf263 @simar7
docs/docs/scanner/misconfiguration/ @simar7 @nikpivkin
docs/docs/target/aws.md @simar7 @nikpivkin
pkg/fanal/analyzer/config/ @simar7 @nikpivkin
pkg/cloud/ @simar7 @nikpivkin
pkg/iac/ @simar7 @nikpivkin

# Helm chart
helm/trivy/ @chen-keinan

# Kubernetes scanning
pkg/k8s/ @josedonizetti @chen-keinan @knqyf263
docs/docs/kubernetes/ @josedonizetti @chen-keinan @knqyf263
pkg/k8s/ @chen-keinan
docs/docs/target/kubernetes.md @chen-keinan
58 changes: 35 additions & 23 deletions .github/DISCUSSION_TEMPLATE/adopters.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
title: "<company name> "
title: "<company name>"
labels: ["adopters"]
body:
- type: checkboxes
- type: textarea
id: info
attributes:
label: Please select all the scan targets that you are using
options:
- label: Container Images
- label: Filesystem
- label: Git Repository
- label: Virtual Machine Images
- label: Kubernetes
- label: AWS
label: "[Optional] How do you use Trivy?"
validations:
required: false
- type: textarea
id: info
attributes:
label: "[Optional] Can you provide us with a quote on your favourite part of Trivy? This may be used on the trivy.dev website, posted on Twitter (@AquaTrivy) or similar marketing material."
validations:
required: false
- type: checkboxes
attributes:
label: Which scanners are you using on those scan targets?
label: "[Optional] Which targets are you scanning with Trivy?"
options:
- label: OS packages and software dependencies in use (SBOM)
- label: Known vulnerabilities (CVEs)
- label: IaC issues and misconfigurations
- label: Sensitive information and secrets
- label: Software licenses
- label: "Container Image"
- label: "Filesystem"
- label: "Git Repository"
- label: "Virtual Machine Image"
- label: "Kubernetes"
- label: "AWS"
- label: "SBOM"
validations:
required: false
- type: textarea
id: info
- type: checkboxes
attributes:
label: "[Optional] What kind of issues are scanning with Trivy?"
options:
- label: "Software Bill of Materials (SBOM)"
- label: "Known vulnerabilities (CVEs)"
- label: "IaC issues and misconfigurations"
- label: "Sensitive information and secrets"
- label: "Software licenses"
- type: markdown
attributes:
label: "Additional Information"
description: "Please tell us more about your use case of Trivy -- anything that you would like to share 🎉"
value: |
...
validations:
required: false
## Get in touch
We are always looking for
* User feedback
* Collaboration with other companies and organisations
* Or just to have a chat with you about trivy.
If any of this interests you or your marketing team, please reach out at: [email protected]
We would love to hear from you!
46 changes: 46 additions & 0 deletions .github/workflows/auto-close-issue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Auto-close issues

on:
issues:
types: [opened]

jobs:
close_issue:
runs-on: ubuntu-latest
steps:
- name: Close issue if user does not have write or admin permissions
uses: actions/github-script@v7
with:
script: |
// Get the issue creator's username
const issueCreator = context.payload.issue.user.login;

// Check the user's permissions for the repository
const repoPermissions = await github.rest.repos.getCollaboratorPermissionLevel({
owner: context.repo.owner,
repo: context.repo.repo,
username: issueCreator
});

const permission = repoPermissions.data.permission;

// If the user does not have write or admin permissions, leave a comment and close the issue
if (permission !== 'write' && permission !== 'admin') {
const commentBody = "Please see https://aquasecurity.github.io/trivy/latest/community/contribute/issue/";
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.issue.number,
body: commentBody
});

await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.issue.number,
state: 'closed',
state_reason: 'not_planned'
});

console.log(`Issue #${context.payload.issue.number} closed because ${issueCreator} does not have sufficient permissions.`);
}
30 changes: 30 additions & 0 deletions .github/workflows/auto-update-labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Auto-update labels
on:
push:
paths:
- 'misc/triage/labels.yaml'
branches:
- main

jobs:
deploy:
name: Auto-update labels
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/[email protected]

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Install aqua tools
uses: aquaproj/[email protected]
with:
aqua_version: v1.25.0

- name: update labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mage label
10 changes: 5 additions & 5 deletions .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Restore Trivy binaries from cache
uses: actions/cache@v3.3.1
uses: actions/cache@v4.0.0
with:
path: dist/
key: ${{ runner.os }}-bins-${{github.workflow}}-${{github.sha}}

# Upload artifacts
- name: Upload artifacts (trivy_Linux-64bit)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy_Linux-64bit
path: dist/trivy_*_Linux-64bit.tar.gz
if-no-files-found: error

- name: Upload artifacts (trivy_Linux-ARM64)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy_Linux-ARM64
path: dist/trivy_*_Linux-ARM64.tar.gz
if-no-files-found: error

- name: Upload artifacts (trivy_macOS-64bit)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy_macOS-64bit
path: dist/trivy_*_macOS-64bit.tar.gz
if-no-files-found: error

- name: Upload artifacts (trivy_macOS-ARM64)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy_macOS-ARM64
path: dist/trivy_*_macOS-ARM64.tar.gz
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/mkdocs-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout main
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
persist-credentials: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
pip install -r docs/build/requirements.txt
env:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/mkdocs-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout main
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
persist-credentials: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
pip install -r docs/build/requirements.txt
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78
with:
version: v3.5.0
- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Setup Chart Linting
id: lint
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992
- name: Setup Kubernetes cluster (KIND)
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140
uses: helm/kind-action@99576bfa6ddf9a8e612d83b513da5a75875caced
with:
version: ${{ env.KIND_VERSION }}
image: ${{ env.KIND_IMAGE }}
Expand All @@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Install chart-releaser
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

- name: Restore Trivy binaries from cache
uses: actions/cache@v3.3.1
uses: actions/cache@v4.0.0
with:
path: dist/
key: ${{ runner.os }}-bins-${{github.workflow}}-${{github.sha}}
Expand All @@ -35,7 +35,7 @@ jobs:
sudo apt-get -y install rpm reprepro createrepo-c distro-info

- name: Checkout trivy-repo
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.1
with:
repository: ${{ github.repository_owner }}/trivy-repo
path: trivy-repo
Expand Down
Loading
Loading