Граф коммитов

77 Коммитов

Автор SHA1 Сообщение Дата
Christian Dupuis 97956e0e1e
Filter out same upstream 2023-01-17 09:25:06 +01:00
Christian Dupuis 865a45c4f1
Allow image upload without sbom 2023-01-17 09:24:59 +01:00
Christian Dupuis d042c75335
Suppress packages with no type 2023-01-16 12:41:13 +01:00
Christian Dupuis 6513861386
Add new distro 2023-01-16 12:31:15 +01:00
Yves Brissaud 065626deec
Merge pull request #16 from eunomie/version
Version command
2023-01-13 10:18:07 +01:00
Yves Brissaud c3df0d4631
chore: read commit from Go
That way we don't rely on an external tool to pass it and it's always
set at build time.

Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-10 11:39:08 +01:00
Yves Brissaud 7b5c3d98e3
chore: add version command
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-10 11:38:25 +01:00
Yves Brissaud 1977311d69
Merge pull request #11 from eunomie/lint
Lint code, catch missing errors, and improve style, simplify code.
No real change in term of logic, just fixes.
2023-01-10 10:07:11 +01:00
Yves Brissaud 719e511e55
ci: run linter on CI
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud c55a8bca8d
chore: fix staticcheck issues
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 42cc62465b
lint: ignore gocyclo on sbom.toPackage
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud a44edfd3d7
chore: fix unused issued
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 66cf5ccc26
chore: fix gosimple issues
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 7fcd084fe3
style: apply gofmt
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud a57b765027
chore: fix bodyclose issues
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 40e528c0fd
chore: fix ineffassign issues
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 519742ddac
chore: fix govet issues
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 6d45a08028
chore: fix errcheck issues
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:45 +01:00
Yves Brissaud 7d2ec59e56
chore: add golangci-lint task and config
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-09 17:57:39 +01:00
Christian Dupuis e776e28f1d
Update docker-publish.yaml 2023-01-09 17:49:16 +01:00
Christian Dupuis 7a42d64f34
Update docker-publish.yaml 2023-01-09 17:48:56 +01:00
Christian Dupuis a660f3a437
Update docker-publish.yaml 2023-01-09 17:46:01 +01:00
Christian Dupuis ced579c1c0
Merge pull request #10 from docker/dependabot/go_modules/github.com/containerd/containerd-1.6.12
Bump github.com/containerd/containerd from 1.6.8 to 1.6.12
2023-01-09 13:30:41 +01:00
dependabot[bot] beb4a70a97
Bump github.com/containerd/containerd from 1.6.8 to 1.6.12
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.8 to 1.6.12.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.8...v1.6.12)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 09:52:29 +00:00
Yves Brissaud 395a136226
Merge pull request #9 from eunomie/fix-tests
Run all tests on PR and fix TestNodeDetector
2023-01-09 10:49:56 +01:00
Christian Dupuis 5d32054ab2
Fix secret detection in layer history 2023-01-05 11:20:48 +01:00
Christian Dupuis 3eb6de3c7d
Add diff-id to lsp hashes 2023-01-04 23:59:26 +01:00
Christian Dupuis 7910587620
Add SendFileHashes 2023-01-04 22:59:33 +01:00
Christian Dupuis 3b7d198766
Fix layer mapping 2023-01-04 14:37:19 +01:00
Christian Dupuis b5805f0bab
Fix ordinal creation 2023-01-04 13:07:32 +01:00
Christian Dupuis 2957f00398
Lint 2023-01-04 11:53:48 +01:00
Christian Dupuis 83836bea2a
Add secret scanning 2023-01-04 11:53:03 +01:00
Yves Brissaud dc3627552f
test: fail fast to avoid unexpected behaviour
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-03 16:25:09 +01:00
Yves Brissaud d82e24b1f5
fix: bad usage of %w not in fmt.Errorf
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-03 13:13:33 +01:00
Yves Brissaud f5d502f41f
fix: sbom/detect/TestNodeDetector
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-03 13:13:33 +01:00
Yves Brissaud 9b2a688702
tests: run them all
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-01-03 13:13:33 +01:00
Christian Dupuis d19b93daab
Update docker-publish.yaml 2023-01-03 12:31:19 +01:00
Christian Dupuis e185ea3b15
Merge pull request #8 from docker/memory-fix
Memory fix
2022-12-30 12:56:42 +01:00
Christian Dupuis aa96c601fd
Bring back remote download 2022-12-27 18:37:59 +01:00
Christian Dupuis 022a6eb97e
Add function to send Sbom 2022-12-21 23:19:37 +01:00
Christian Dupuis 4205c9f1d2
Refactor to use less memory 2022-12-21 22:17:07 +01:00
Christian Dupuis 7af84f9f6c
Fix test 2022-12-20 15:30:36 +01:00
Christian Dupuis 7d3f41cb08
Rev sbom version 2022-11-24 14:30:30 +01:00
Christian Dupuis 221acbdcde
Break early in case of errors 2022-11-24 13:30:49 +01:00
Christian Dupuis 6db7bb2cf4
Make sure self references are showing as base images 2022-11-24 08:21:01 +01:00
Christian Dupuis 839925c997
Switch to GraphQL CVE query 2022-11-23 22:45:52 +01:00
Christian Dupuis dcd3cef253
Fix issue with detection from source 2022-11-23 12:22:32 +01:00
Christian Dupuis a57ba59d2a
Fix panic because of missing Id 2022-11-23 11:12:05 +01:00
Christian Dupuis 37037e9c4b
Add query for image details 2022-11-22 17:35:25 +01:00
Christian Dupuis ba294b2805
Fix official badge 2022-11-21 16:23:51 +01:00