David Wertenteil
d02bef62d3
wip: re-arange struct
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-24 09:17:31 +02:00
David Wertenteil
01c65194a8
removing host scanner otel env
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-24 00:13:22 +02:00
David Wertenteil
7e5abbdd73
Merge pull request #1054 from fredbi/fix/1051-gc-pressure
...
fix(processorhandler): reduce GC pressure
2023-02-23 23:15:22 +02:00
Alessio Greggi
d900ce6146
fix(hostsensorutils): improve namespace deletion in host-scanner lifecycle
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-02-23 14:41:57 +01:00
Frédéric BIDON
65c26e22cf
fix(processorhandler): reduce GC pressure
...
* this onboards an optimization from the opa-utils package (caching
exceptions processing)
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-02-22 20:53:02 +01:00
David Wertenteil
915fa919b2
Fix HTML output ( #1111 )
...
* Fixed HTML template
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* Adding HTML output format example
Signed-off-by: David Wertenteil <dwertent@armosec.io >
---------
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-21 13:55:12 +02:00
David Wertenteil
e8a4c2033f
Merge pull request #1084 from fredbi/test/download-release-policy
...
test(getter): more unit tests
2023-02-20 17:55:08 +02:00
Rotem Refael
8fd9258efa
Merge pull request #1101 from alegrey91/fix/improve-cloud-provider-detection
2023-02-16 15:25:38 +02:00
Alessio Greggi
159d3907b5
style(hostsensorutils): simplify code with gofmt
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-02-16 11:38:55 +01:00
Amir Malka
df39e10300
Statuses ( #1016 ) ( #1082 )
...
New statuses
2023-02-14 15:00:21 +02:00
Alessio Greggi
c7d1292c7d
fix(hostsensorutils): improve cloud provider detection
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-02-14 13:46:09 +01:00
yuleib
ca2730cd85
Revert "fix: add check to skip controlplaneinfo in case of cloud providers"
2023-02-14 08:59:03 +02:00
Alessio Greggi
46ca5036c4
fix: add check to skip controlplaneinfo in case of cloud providers
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-02-13 17:16:53 +01:00
Frederic BIDON
d8f1a25ab7
generated rego policy json fixture file, short-circuited call to github when fixture is here
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-02-10 17:29:46 +01:00
Frederic BIDON
56cfb4fcef
test(getters): added unit tests for utilities
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-02-10 17:29:46 +01:00
Frederic BIDON
894d436274
test(getters): added unit tests to the kubescape API client
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-02-10 17:29:45 +01:00
Frederic BIDON
39166d40bf
tests(cautils): added unit tests for released policy
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-02-10 17:29:45 +01:00
David Wertenteil
6cc5116999
Loading kubeconfig name from env when running ms ( #1089 )
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-09 09:32:13 +02:00
David Wertenteil
d3abd66aa3
Default frameworks ( #1085 )
...
* Update default frameworks names
Signed-off-by: David Wertenteil <dwertent@armosec.io >
* Remove error loggers, print debug instead.
Signed-off-by: David Wertenteil <dwertent@armosec.io >
---------
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-08 08:59:10 +02:00
YiscahLevySilas1
2a0a2cf95a
update logs in some resource getters ( #1071 )
...
* change warning to debug
Signed-off-by: yiscah <yiscahls@armosec.io >
* update log
Signed-off-by: yiscah <yiscahls@armosec.io >
---------
Signed-off-by: yiscah <yiscahls@armosec.io >
Co-authored-by: David Wertenteil <dwertent@armosec.io >
2023-02-07 22:37:13 +02:00
YiscahLevySilas1
e90f08968f
don't add host scanner as excluded ns, use exception instead ( #1083 )
...
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io >
2023-02-07 22:36:32 +02:00
kooomix
4ea35eec00
GitRegoStore moved to Regolibrary ( #1058 )
...
* GitRegoStore moved to Regolibrary
* httphandler go mod
* update go.mod
* test old regostorlibrary
* restore gitRegoStore from regolibrary
* Update github.com/kubescape/regolibrary to ver 249
Signed-off-by: kooomix <eranm@armosec.io >
* update go mod
Signed-off-by: kooomix <eranm@armosec.io >
* print scan_control_id mesg
Signed-off-by: kooomix <eranm@armosec.io >
* Update regolibrary version - windows host fix
Signed-off-by: kooomix <eranm@armosec.io >
---------
Signed-off-by: kooomix <eranm@armosec.io >
Co-authored-by: David Wertenteil <dwertent@armosec.io >
2023-02-07 13:18:51 +02:00
David Wertenteil
8b8fe92072
Merge pull request #1078 from dwertent/master
...
Prepare for release
2023-02-06 16:31:54 +02:00
David Wertenteil
bcf9a10131
Remove host scanner warning message
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-06 15:49:13 +02:00
David Wertenteil
086144c3da
JSON version default v2
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-06 15:49:13 +02:00
David Wertenteil
a45ee8ed42
update compliance url
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-02-06 15:49:13 +02:00
YiscahLevySilas1
9f97f91f32
add context
...
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io >
2023-02-05 12:03:10 +02:00
YiscahLevySilas1
c6eff8cbaa
minor change
2023-02-05 11:54:21 +02:00
David Wertenteil
af9df548d6
Merge branch 'master' into CIS-EKS-support
2023-02-05 09:43:41 +02:00
Matthias Bertschy
3a90682c9e
remove otel from CLI part
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2023-01-31 10:03:56 +01: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
yiscah
45fcc59b5f
add unit test
...
Signed-off-by: yiscah <yiscahls@armosec.io >
2023-01-30 11:03:10 +02:00
YiscahLevySilas1
a7f810f0d1
Merge pull request #1043 from YiscahLevySilas1/dev
...
Get cloud provider resources
2023-01-29 08:59:01 +02:00
Matthias Bertschy
e4e3071f5f
Merge pull request #1057 from slashben/master
...
Progress bar in CLI
2023-01-27 17:52:08 +01:00
yiscah
9a7e61edd1
add cloud resource ListEntitiesForPolicies
2023-01-27 13:42:15 +02:00
Ben
5e6a4cfb3f
Checking for nil interface
...
Signed-off-by: Ben <ben@armosec.io >
2023-01-25 16:23:03 +02:00
Matthias Bertschy
052773b0dc
Merge pull request #1022 from matthyx/krew
...
add kubectl plugin with krew
2023-01-25 08:44:28 +01:00
Matthias Bertschy
d462224b7a
add kubectl plugin with krew
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2023-01-25 08:07:31 +01:00
yiscah
de1d8a9d86
improve cloud resources getters
2023-01-24 17:18:39 +02:00
Ben
d346b05b76
Fixing system test after API change
...
Signed-off-by: Ben <ben@armosec.io >
2023-01-24 14:13:19 +02:00
Ben
a3a61d65e9
Limiting the size of the name of controls in the pretty print of the tabel
...
Signed-off-by: Ben <ben@armosec.io >
2023-01-24 11:55:08 +02:00
Ben
606b0e77ca
fixing progress to work on stderr
...
Signed-off-by: Ben <ben@armosec.io >
2023-01-24 11:55:08 +02:00
Ben
2a82d6cd21
Implementing progress bar for control processing
...
Signed-off-by: Ben <ben@armosec.io >
2023-01-24 11:55:08 +02:00
yiscah
530ffde50d
Merge branch 'master' of https://github.com/kubescape/kubescape into dev
2023-01-23 18:52:43 +02:00
yiscah
7cf23e9730
Merge branch 'dev' of https://github.com/kubescape/kubescape into dev
2023-01-23 18:35:27 +02:00
kooomix
8810631d5c
Support in CNIInfo
2023-01-23 09:50:07 +02:00
yiscah
6cddce7399
minor improvements in getting cloud resources
2023-01-22 12:11:58 +02:00
Frédéric BIDON
e37049f68e
fix ListFrameworks (could return an empty element)
...
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com >
2023-01-20 17:26:27 +02:00
Frédéric BIDON
e37f47de3a
fix ListFrameworks (could return an empty element)
...
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com >
2023-01-20 14:06:51 +01:00
Daniel-GrunbergerCA
c357f12c82
add cosign functions for signature checking
2023-01-19 17:21:00 +01:00