David Wertenteil
108a2d6dd8
Merge pull request #962 from anubhav06/gitlab-scan
...
added GitLab repo scanning support
2022-12-22 17:29:57 +02:00
David Wertenteil
2c28286bb1
update httphandler go mod
2022-12-22 17:07:47 +02:00
David Wertenteil
79858b7ed7
Merge pull request #975 from kooomix/dev
...
control scan and download only by id
2022-12-22 16:56:40 +02:00
David Wertenteil
42ed787f7b
update go mod in httphandler
2022-12-22 13:32:27 +02:00
David Wertenteil
c59f7691dc
Breakdown cloud-cluster name
2022-12-22 11:43:45 +02:00
kooomix
cf87c2d30b
Fixed test
2022-12-21 19:25:22 +02:00
kooomix
134d854722
opa-utils v0.0.216
2022-12-21 15:29:58 +02:00
kooomix
ca5b3e626b
test fix
2022-12-14 14:08:32 +02:00
David Wertenteil
60c69ac3f0
Merge pull request #950 from fredbi/fix-789
...
fix(giturlparse): fixes panic on unexpected gitlab remote URL
2022-12-06 14:12:25 +02:00
David Wertenteil
1fb9320421
Merge pull request #941 from dwertent/master
...
Updating examples
2022-12-06 14:11:07 +02:00
Frederic BIDON
b734b3aef0
go mod tidy ancillary modules manifest
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2022-12-04 12:39:34 +01:00
kooomix
f99f955223
go mod tidy
2022-11-29 15:26:30 +02:00
David Wertenteil
c61c7edbd0
update examples
2022-11-24 11:06:37 +02:00
Marco Kilchhofer
4fef6200f8
fix: filepath.Dir requires trailing slash
...
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com >
2022-11-22 21:26:37 +01:00
Amir Malka
a81d770360
fixed docker build to support arm
2022-11-15 10:57:29 +02:00
Moshe-Rappaport-CA
4da09529b6
Update rbac-utils tag
2022-11-10 18:56:28 +02:00
Moshe-Rappaport-CA
de375992e8
Fix go.mod in httphandler
2022-11-10 17:54:44 +02:00
Matthias Bertschy
746e060402
remove deprecated ioutil package
2022-11-10 09:58:07 +01:00
Amir Malka
e3362c2e3d
updated go.mod
2022-11-03 14:38:07 +02:00
Amir Malka
08b8b68f9a
added line and column information when using the sarif format
2022-11-03 14:08:53 +02:00
Amir Malka
d1024359c9
fix dependencies
2022-11-03 12:15:13 +02:00
Moshe-Rappaport-CA
05bcf018d1
Merge remote-tracking branch 'armo/dev' into dev
2022-11-02 15:02:30 +02:00
David Wertenteil
0af5d2e0bb
Merge pull request #876 from Moshe-Rappaport-CA/PER-335-removing-support-for-submitting-results-without-accountid
...
Per 335 removing support for submitting results without accountid
2022-11-02 12:55:20 +02:00
Moshe-Rappaport-CA
eaf05fe9be
Add support to exceptions on repo (files) scan
2022-11-02 12:49:14 +02:00
Moshe-Rappaport-CA
8dba8f7491
Add go sum
2022-10-27 18:25:46 +03:00
Moshe-Rappaport-CA
cc39e5b905
Fix go mod and go sum
2022-10-27 18:18:26 +03:00
David Wertenteil
379800c49f
Merge pull request #885 from vladklokun/per-519-add-sarif-printer
...
feat: support the SARIF output format
2022-10-26 19:02:21 +03:00
Vlad Klokun
79e2515807
feat: support the SARIF output format
2022-10-26 18:13:37 +03:00
David Wertenteil
0e81870b85
Merge pull request #799 from itsCheithanya/master
...
Add update command for kubescape
2022-10-26 15:46:03 +03:00
David Wertenteil
d0fd8c4fe4
Merge pull request #869 from shm12/master
...
APIServerInfo resource added to the scan
2022-10-26 12:59:51 +03:00
David Wertenteil
22521b7159
use os path join in build file
2022-10-24 11:39:37 +03:00
Moshe-Rappaport-CA
c8fc5378c1
PER-335 Remove submit option from kubescape docs
2022-10-23 16:19:38 +03:00
shm12
e3c60e3202
APIServerInfo resource added to the scan
2022-10-12 22:52:42 +03:00
shm12
7b5bcb05b1
Upgrade opa dependency
2022-10-12 20:51:50 +03:00
David Wertenteil
9ab0fc593f
Update python build file
2022-10-02 20:27:38 +03:00
Vlad Klokun
d3c41f2492
feat: unify severity threshold into one CLI flag ( #838 )
...
* feat: unify severity threshold into one CLI flag
Before this commit, severity threshold flags were separated by severity.
This commit unifies these thresholds into one flag that forces Kubescape
to terminate with an exit code 1 if there was at least one failed
control at the specified severity threshold or above.
* chore: update opa utils version
* chore: update opa-utils in httphandler
* feat: dont enforce severity by default
Previous iteration of supporting the severity threshold enforced it even
if the severity threshold was not explicitly specified.
This change enforces the severity threshold only if it has been
explicitly set.
* refactor: clarify flagValidationFramework func name
This change clarifies the meaning of the function that validates the
scan info for the `scan framework` command.
It achieves this by renaming the `flagValidationFramework` function to
`validateFrameworkScanInfo`.
2022-09-22 15:56:30 +03:00
Suhas Gumma
faf0ae6bdc
Scan Kustomize Directory ( #795 )
...
* Scan Kustomize Files
* update 'scam Kustomize Directory' documentation in Readme.md
* go get
* go get inside httphandler
* SourceTypeKustomizeDirectory
* Added Scan for Kustomization File
Co-authored-by: David Wertenteil <dwertent@armosec.io >
2022-09-20 10:28:50 +03:00
Cheithanya
12f81353e0
Made the required changes
2022-09-19 00:30:26 +05:30
David Wertenteil
dc10125380
Merge branch 'master' into dev
2022-09-18 15:48:48 +03:00
Rutvikk :D
a8ad8e5f5a
Update README.md ( #827 )
2022-09-18 13:33:07 +03:00
David Wertenteil
196d07edc6
Per 307 fail on severity counters ( #831 )
...
* feat: fail on exceeding severity thresholds (#830 )
- Add support for severity counters
- Add support for CLI flags that set severity thresholds
- Terminate Kubescape with an exit code 1 if scan results exceed the
severity thresholds
* Update opa-utils pkg version
Co-authored-by: Vlad Klokun <vladklokun@users.noreply.github.com >
2022-09-18 10:34:34 +03:00
Amir Malka
2b931fb3f0
Prioritization ( #815 )
...
* removed commented out code
* Added attack tracks information to prioritization algorithm
* bump opa-utils
* go mod tidy
* go mod tidy
* CR changes
2022-09-15 16:16:54 +03:00
Moshe Rappaport
cb704cb1e7
Edit Junit output ( #802 )
...
* Edit Junit output
* Update go sum
* Following review
2022-09-14 08:59:39 +03:00
Vicky Aryan
43dbb55d50
fixed some typo mistakes ( #786 )
2022-09-07 11:01:21 +03:00
David Wertenteil
d1c759f04f
Hot fix - Revert report structure ( #776 )
...
* 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
* Remove windows extension build (#775 )
* update logger version
* update scanner image
* remove windows exe extension
* commened out prioritization logic
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 12:08:19 +03:00
Amir Malka
81482b7421
commened out prioritization logic
2022-09-05 11:46:59 +03: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
Amir Malka
23ea7e0511
bump opa-utils to 181
2022-09-04 15:32:42 +03:00
David Wertenteil
13ffd92210
update logger version ( #773 )
2022-09-04 15:13:16 +03:00
Amir Malka
18c6e80c3c
Added resource prioritization information, raw resource will be sent on the result object
2022-09-04 13:38:48 +03:00