David Wertenteil
22521b7159
use os path join in build file
2022-10-24 11:39:37 +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
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
shm12
a76228c1e1
update go.mod
2022-08-30 11:39:54 +03:00
Moshe-Rappaport-CA
9c764c90e3
Fix scanning ListObj following reviews
2022-08-29 10:29:25 +03:00
Moshe-Rappaport-CA
5774acfc81
Merge remote-tracking branch 'armo/dev' into support-scanning-several-files
2022-08-25 15:25:58 +03:00
David Wertenteil
70288c94c3
Merge pull request #665 from rahuldhirendersingh/patch-1
...
Fixed typo: for better code readability
2022-08-24 15:39:24 +03:00
David Wertenteil
2bc63c2ab6
Merge pull request #659 from RohitYandigeri/patch-4
...
Update README.md
2022-08-24 15:35:21 +03:00
Rahul Singh
8ac41533b6
typo correction: for better code readability
...
There was some spelling mistakes at multiple places, so I've made those changes to increase the better code readability
2022-08-24 14:07:49 +05:30
Rohit Yandigeri
eb33542e4a
Update README.md
2022-08-24 10:40:48 +05:30
David Wertenteil
5f6689adc1
Merge pull request #651 from dwertent/master
...
Fixed links in readme
2022-08-23 21:48:31 +03:00
David Wertenteil
c3434814c1
Fixed readme links
2022-08-23 21:43:02 +03:00
Moshe-Rappaport-CA
9454924b9f
Merge remote-tracking branch 'armo/dev' into dev
2022-08-23 16:11:07 +03:00
Moshe-Rappaport-CA
905db42625
Fix go mod in httphandler pkg
2022-08-23 15:49:06 +03:00
David Wertenteil
40e02899bb
Merge pull request #604 from kubescape/send-num-of-resources
...
Send num of resources
2022-08-23 15:26:23 +03:00
David Wertenteil
cbd4fc1a80
replace armo by kubescape mentioned in urls
2022-08-23 12:33:48 +03:00
David Wertenteil
bd970eff83
update to kubescape org
2022-08-22 18:22:28 +03:00
Daniel-GrunbergerCA
ad1c39a7e5
go mod tidy
2022-08-22 16:03:10 +03:00
David Wertenteil
7f2a4bdfd8
use ks namespace
2022-08-21 10:20:29 +03:00
David Wertenteil
ad91178ef7
updated dependencies pkgs
2022-08-18 17:41:03 +03:00
Vlad Klokun
f6e2651f88
refactor!: httphandler: use Kubescape’s updated exported functions
2022-08-18 15:19:36 +03:00
David Wertenteil
3c615f180b
adding gitlab support
2022-08-07 10:48:02 +03:00
David Wertenteil
1a15ee757b
update readme
2022-08-04 14:25:25 +03:00
David Wertenteil
eab0d6650e
-tags=Merge remote-tracking branch 'armosec/dev'
2022-08-03 10:44:35 +03:00
Vlad Klokun
e69cf89fec
chore: regenerate swagger.yaml on latest
2022-08-01 21:29:51 +03:00
Vlad Klokun
45007a6aa4
chore: clean up unused files
2022-08-01 21:29:51 +03:00
Vlad Klokun
40e8dd3575
fix: add Swagger file to httphandler package
2022-08-01 21:29:51 +03:00
Vlad Klokun
be92c0a3e1
fix: update go module files
2022-08-01 21:29:51 +03:00
Vlad Klokun
46a1a4ce04
docs: add embedded Swagger spec
2022-08-01 21:29:51 +03:00
Vlad Klokun
4fadb413c3
fix: tag proper JSON field in StatusQueryParams
2022-08-01 21:29:51 +03:00
Vlad Klokun
99436f1b4d
refactor: clean up OpenAPI UI serving func
2022-08-01 21:29:51 +03:00
Vlad Klokun
3f7a55c48e
wip: feat: serve swagger doc
2022-08-01 21:29:51 +03:00
Vlad Klokun
2fffd25e05
wip: docs: autogenerate Swagger specs
2022-08-01 21:29:51 +03:00
Vlad Klokun
e5d02419f7
docs: add OpenAPI v3 spec
2022-08-01 21:29:51 +03:00
Vlad Klokun
30919d7e9e
docs: swagger: extend GET scan endpoint info
2022-08-01 21:29:51 +03:00
Vlad Klokun
96903ea77d
docs: swagger: add OpenAPI V2 schema
2022-08-01 21:29:51 +03:00