Matthias Bertschy
d27284b6f6
remove api calls from scan repo
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-04-09 07:37:58 +02:00
David Wertenteil
ea7a8bef94
Fix/backlog ( #1613 )
...
* Many minor improvements
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* Handle fw scan error
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* Remove prometheus docs
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fix workload threshold
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fixed units
Signed-off-by: David Wertenteil <dwertent@armosec.io >
---------
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-02-26 22:42:41 +02:00
David Wertenteil
3e2314a269
Bump v3 ( #1449 )
...
* bump version
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* change default view
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fixed tests
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* fixed go mod
Signed-off-by: David Wertenteil <dwertent@armosec.io >
---------
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-10-22 17:43:51 +03:00
Daniel Grunberger
936cb26c06
fix panic and improve logs ( #1344 )
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
Co-authored-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-08-16 13:00:52 +03:00
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
Amir Malka
0c019819ff
Scanning a single resource ( #1300 )
...
* 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 >
* added unit tests
Signed-off-by: Amir Malka <amirm@armosec.io >
* 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 >
* fix tests
Signed-off-by: Amir Malka <amirm@armosec.io >
* use ScanObject instead of workload identifier
Signed-off-by: Amir Malka <amirm@armosec.io >
* refactor logic after CR
Signed-off-by: Amir Malka <amirm@armosec.io >
---------
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
Signed-off-by: Amir Malka <amirm@armosec.io >
Co-authored-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-08-01 14:07:31 +03:00
Frederic BIDON
668514e08d
commented currently unused code
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-01-06 09:32:17 +01:00
Frederic BIDON
8557075b7c
fix(giturlparse): fixes panic on unexpected gitlab remote URL
...
* replaced dependencies to github.com/armosec/go-git-url by
github.com/kubescape/go-git-url
* fixes #789
NOTE: this requires kubescape/go-git-url#2 to be merged, a new release
of that repo to be cut, in order to finalize the dependency update.
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2022-12-02 16:09:25 +01:00
David Wertenteil
72f9c6d81b
Fixed InfoMap usage ( #680 )
...
* Fix issue for scanning list obj
* Fix go mod in httphandler pkg
* Broken links fix in roadmap.md
Planning, backlog, and wishlist links were not taking to the required section.
* override infoMap only if it's not nil
* improved icon of kubescape in readme
* Support scanning several files
* gramatical improvements
* docs(readme): Star → star
* Fix issues according to review
* Handle with issues caused by updating opa-utils
* Fix scanning ListObj following reviews
* Update core/pkg/resourcehandler/filesloader.go
Co-authored-by: Vlad Klokun <vladklokun@users.noreply.github.com >
* Update completion.go
* Added fixed control input
* update go.mod
* Print chart name log when fail to generate
* Change formatting to %s
* Added resource prioritization information, raw resource will be sent on the result object
* Merging typo fixes from master (#772 )
* greetings
* Update aws.sh
simplified the comment
* typo: In the title and h1 element
Their was a typo in index.html file.
* punctuation changes
* docs : added gitpod badge in readme.md
* fixed typos
* some grammar mistake is corrected inPULL_REQUEST_TEMPLATE.md file
* Updated README.md file
Added link to CONTRIBUTING.md file in a line in README.
* Added link to code of conduct file
I have added link to the code of conduct file and fixed some problems in the Readme file.
* Fixed readme
* Added alpine tag
Adding alpine tag instead of latest and removing repeating commands
* roadmap.md file is modified
* Automatically Close "Typo" labelled Issue
* build.py is modified
* modified PR template
* Fixed some typos in feature_request.md
"." at the end of the headings were missing and all the text were in same line.
Now this gives a clear and concise view of the texts.
* fixed the typo in docs/index.html
Found and fixed typo in the 'alt' attribute of img tag
* Update PULL_REQUEST_TEMPLATE.md
Co-authored-by: Krishna Agarwal <dmkrishna.agarwal@gmail.com >
Co-authored-by: Saswata Senapati <74651639+saswat16@users.noreply.github.com >
Co-authored-by: Rahul Singh <110548934+rahuldhirendersingh@users.noreply.github.com >
Co-authored-by: deepuyadav004 <deepuyadavze@gmail.com >
Co-authored-by: kartik <97971066+kartikgajjar7@users.noreply.github.com >
Co-authored-by: Rounak-28 <95576871+Rounak-28@users.noreply.github.com >
Co-authored-by: pwnb0y <vickykr07@yahoo.com >
Co-authored-by: Ben Hirschberg <59160382+slashben@users.noreply.github.com >
Co-authored-by: Saptarshi Sarkar <saptarshi.programmer@gmail.com >
Co-authored-by: Rahul Surwade <93492791+RahulSurwade08@users.noreply.github.com >
Co-authored-by: Suhas Gumma <43647369+suhasgumma@users.noreply.github.com >
Co-authored-by: Kamal Nayan <95926324+legendarykamal@users.noreply.github.com >
Co-authored-by: TarangVerma <90996971+TarangVerma@users.noreply.github.com >
Co-authored-by: avikittu <65793296+avikittu@users.noreply.github.com >
* update logger version (#773 )
* Fixed: Kubescape fails to authenticate remote private Github repo (#721 )
* grammar error fixer in CONTRIBUTING.md
* scanning private git repository is available
* giturl to gitapi
* NO TOKEN error functionality added
* Used GetToken method of giturl.IGitAPPI for auth
Co-authored-by: satyam kale <satyamkale271@gmail.com >
Co-authored-by: Ben Hirschberg <59160382+slashben@users.noreply.github.com >
* bump opa-utils to 181
* Option to force enable color output (closes #560 ) (#767 )
* Option to force enable color output (closes #560 )
(cherry picked from commit 4f951781ee8dd6bb451ac7d159787f47e4b07379)
* Update go.mod
* Update host scanner image (#774 )
* update logger version
* update scanner image
Co-authored-by: Moshe-Rappaport-CA <moshep@armosec.io >
Co-authored-by: Moshe Rappaport <89577611+Moshe-Rappaport-CA@users.noreply.github.com >
Co-authored-by: Om Raut <33827410+om2137@users.noreply.github.com >
Co-authored-by: Kamal Nayan <95926324+legendarykamal@users.noreply.github.com >
Co-authored-by: Vlad Klokun <vladklokun@users.noreply.github.com >
Co-authored-by: Chirag Arora <84070677+Chirag8023@users.noreply.github.com >
Co-authored-by: shm12 <shmuelb@armosec.io >
Co-authored-by: Amir Malka <amirm@armosec.io >
Co-authored-by: Krishna Agarwal <dmkrishna.agarwal@gmail.com >
Co-authored-by: Saswata Senapati <74651639+saswat16@users.noreply.github.com >
Co-authored-by: Rahul Singh <110548934+rahuldhirendersingh@users.noreply.github.com >
Co-authored-by: deepuyadav004 <deepuyadavze@gmail.com >
Co-authored-by: kartik <97971066+kartikgajjar7@users.noreply.github.com >
Co-authored-by: Rounak-28 <95576871+Rounak-28@users.noreply.github.com >
Co-authored-by: pwnb0y <vickykr07@yahoo.com >
Co-authored-by: Ben Hirschberg <59160382+slashben@users.noreply.github.com >
Co-authored-by: Saptarshi Sarkar <saptarshi.programmer@gmail.com >
Co-authored-by: Rahul Surwade <93492791+RahulSurwade08@users.noreply.github.com >
Co-authored-by: Suhas Gumma <43647369+suhasgumma@users.noreply.github.com >
Co-authored-by: TarangVerma <90996971+TarangVerma@users.noreply.github.com >
Co-authored-by: avikittu <65793296+avikittu@users.noreply.github.com >
Co-authored-by: satyam kale <satyamkale271@gmail.com >
Co-authored-by: Aditya Pratap Singh <adityapratapsingh51@gmail.com >
2022-09-05 10:49:37 +03:00
David Wertenteil
bd970eff83
update to kubescape org
2022-08-22 18:22:28 +03:00
David Wertenteil
ad91178ef7
updated dependencies pkgs
2022-08-18 17:41:03 +03:00
David Wertenteil
aef74d6480
use exteranl go logger
2022-07-18 23:59:56 +03:00
David Wertenteil
643d0620d7
Support relative paths in repo scanning
2022-07-18 18:22:49 +03:00
David Wertenteil
099886e1bb
mixed merge
2022-07-05 10:34:33 +03:00