jnathangreeg
7735087937
fix the repo scan get stucked bug
...
Signed-off-by: jnathangreeg <jonathang@armosec.io >
2024-11-19 15:13:31 +02:00
MMMMMMorty
bc33f10d0a
feat: Add the debugging ability for scanning Helm chart ( #1215 )
...
* Fix issue 11552
Signed-off-by: MMMMMMorty <465346562@qq.com >
* Add helm chart mapping node for sarif printer
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
* add MappingNodes to getWorkloadFromHelmChart
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
* clear the code to mappingnode and parseFile
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
* add input to fixPathsToString
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
* add fixs for error message
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
* Add solution for multiple files in one yaml helm chart file
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
* Add parseFile tests
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
---------
Signed-off-by: MMMMMMorty <465346562@qq.com >
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
2024-03-01 14:31:51 +02:00
David Wertenteil
65a557db90
fixed test ( #1573 )
...
* fixed test
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* update cosign-release version
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fixed filepath related tests
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* failed windows tests
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fixed cosign version
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* update go version
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fixed test
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* change actor
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* Cosign use secret
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* update cosign
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* update cosign
Signed-off-by: David Wertenteil <dwertent@armosec.io >
---------
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-01-07 16:26:34 +02:00
VaibhavMalik4187
155889a479
Added missing tests for locationresolver
...
Wrote new tests to cover the unhandled statements in the
`NewFixPathLocationResolver` and `ResolveLocation` functions.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-12-23 17:23:07 +05:30
VaibhavMalik4187
beb6d9535c
Added tests for cautils
...
Wrote new tests for the following files:
- controllink.go
- display.go
- fileutils.go
- getter/getpoliciesutils.go
- getter/utils.go
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-11-22 20:24:16 +05:30
Daniel Grunberger
5379b9b0a6
New output ( #1320 )
...
* phase-1
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
* factory
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
* wip: feat(cli): add an image scanning command
Add a CLI command that launches an image scan. Does not scan images yet.
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* wip: feat: add image scanning service
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* chore: include dependencies
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* wip: adjust image scanning service
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* wip: feat: use scanning service in CLI
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* use iface
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
* touches
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
* continue
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
* add cmd
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
* support single workload scan
Signed-off-by: Amir Malka <amirm@armosec.io >
* fix conflict
Signed-off-by: Amir Malka <amirm@armosec.io >
* identifiers
* go mod
* feat(imagescan): add an image scanning command
This commit adds a CLI command and an associated package that scan
images for vulnerabilities.
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
feat(imagescan): fail on exceeding the severity threshold
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* chore(imagescan): include dependencies
This commit adds the dependencies necessary for image scanning.
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* chore(imagescan): add dependencies to httphandler
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* added unit tests
Signed-off-by: Amir Malka <amirm@armosec.io >
* merge
* more
* integrate img scan
* added unit tests
Signed-off-by: Amir Malka <amirm@armosec.io >
* more refactoring
Signed-off-by: Amir Malka <amirm@armosec.io >
* add scanned workload reference to opasessionobj
Signed-off-by: Amir Malka <amirm@armosec.io >
* fix GetWorkloadParentKind
Signed-off-by: Amir Malka <amirm@armosec.io >
* remove namespace argument from pullSingleResource, using field selector instead
Signed-off-by: Amir Malka <amirm@armosec.io >
* removed designators (unused) field from PolicyIdentifier, and designators argument from GetResources function
Signed-off-by: Amir Malka <amirm@armosec.io >
* changes
* changes
* fixes
* changes
* feat(imagescan): add an image scanning command
This commit adds a CLI command and an associated package that scan
images for vulnerabilities.
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
feat(imagescan): fail on exceeding the severity threshold
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* chore(imagescan): include dependencies
This commit adds the dependencies necessary for image scanning.
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* chore(imagescan): add dependencies to httphandler
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* chore(imagescan): create vuln db with dedicated function
Remove commented out code, too.
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* docs(imagescan): provide package-level docs
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
* finish merge
* image scan tests
* continue
* fixes
* refactor
* rm duplicate
* start fixes
* update gh actions
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* pr fixes
* fix test
* improvements
---------
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
Signed-off-by: Vlad Klokun <vklokun@protonmail.ch >
Signed-off-by: Amir Malka <amirm@armosec.io >
Signed-off-by: David Wertenteil <dwertent@armosec.io >
Co-authored-by: Daniel Grunberger <danielgrunberger@armosec.io >
Co-authored-by: Vlad Klokun <vklokun@protonmail.ch >
Co-authored-by: Amir Malka <amirm@armosec.io >
Co-authored-by: David Wertenteil <dwertent@armosec.io >
2023-08-03 12:09:33 +03:00
rcohencyberarmor
ca6bdb0bef
review corrections
...
Signed-off-by: rcohencyberarmor <rcohen@armosec.io >
2023-07-30 12:06:03 +03:00
rcohencyberarmor
3280173e95
add error handle when there are no scan to trigger since the directory not contain any relevant scanning files
...
Signed-off-by: rcohencyberarmor <rcohen@armosec.io >
2023-07-24 17:17:06 +03:00
Matthias Bertschy
160ac0db7c
add otel with uptrace client
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2023-01-31 08:06:33 +01:00
David Wertenteil
ad91178ef7
updated dependencies pkgs
2022-08-18 17:41:03 +03:00
Amir Malka
2b2034f2da
include helm chart name
2022-07-24 15:10:45 +03:00
David Wertenteil
fc78d9143b
use filepath join in unitests
2022-07-05 11:44:07 +03:00
David Wertenteil
099886e1bb
mixed merge
2022-07-05 10:34:33 +03:00
David Wertenteil
3cebfb3065
Merge branch 'dev' into dev
2022-07-05 09:51:32 +03:00
David Wertenteil
889dd15772
handke invalide files
2022-06-30 19:33:43 +03:00
Amir Malka
ea1426a24b
helm chart scanning
2022-06-27 17:28:25 +03:00
David Wertenteil
154794e774
fixed test
2022-06-19 11:46:43 +03:00
David Wertenteil
e6d3e7d7da
fixed test
2022-06-19 08:55:56 +03:00
David Wertenteil
c1da380c9b
fixed test
2022-06-16 12:13:55 +03:00
David Wertenteil
b3c1aec461
fixed unitests
2022-06-15 13:43:45 +03:00
David Wertenteil
536a94de45
adding git data to file
2022-06-08 16:26:02 +03:00
David Wertenteil
8a1ef7da87
submit git scanning
2022-06-07 17:39:02 +03:00
dwertent
8487a031ee
fixed url scanning
2022-03-24 09:45:35 +02:00
dwertent
b8df07b547
fixed unitest
2022-03-13 18:59:39 +02:00
dwertent
d0e2730518
add cautils to core
2022-03-13 18:14:48 +02:00