Ben
4f3ef49f99
Implementing capability to print out the "print" statements of the rego
...
Signed-off-by: Ben <ben@armosec.io >
2024-11-20 00:10:18 +02:00
Matthias Bertschy
761d4c6ff4
gofmt and try to make linter happy
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-11-19 15:10:37 +01:00
jnathangreeg
7735087937
fix the repo scan get stucked bug
...
Signed-off-by: jnathangreeg <jonathang@armosec.io >
2024-11-19 15:13:31 +02:00
jnathangreeg
6f47f8dae0
adding a second term for getFilesFromTree for makeing sure we scaning the right path
...
Signed-off-by: jnathangreeg <jonathang@armosec.io >
2024-11-11 19:29:22 +02:00
Matthias Bertschy
d5b8532e40
fix include/exclude NS for SA discovered via CRB
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-07-23 18:42:01 +02:00
Matthias Bertschy
c7d3105ca5
use proper params in pager call
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-07-10 11:58:06 +02:00
Matthias Bertschy
2d77ea7b62
use pager.EachListItem to filter parented resources
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-07-03 16:41:12 +02:00
Anubhav Gupta
2bbedc99dd
Merge branch 'master' of ssh://github.com/kubescape/kubescape into copa-grype
2024-06-22 08:59:18 +05:30
David Wertenteil
0ee98351c0
fix scanning unsupported clouds
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-05-26 15:45:19 +03:00
Matthias Bertschy
840162c865
fix yamlhandler deleting too many lines during fix
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-05-21 08:48:01 +02:00
Anubhav Gupta
160709eabf
Merge branch 'master' of ssh://github.com/kubescape/kubescape into copa-grype
2024-05-17 13:37:25 +05:30
David Wertenteil
b2b37f6abc
Mask all containers data
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-05-09 19:08:09 +03:00
David Wertenteil
3cbd2c458d
fix scanning repo
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-05-06 16:22:38 +03:00
David Wertenteil
a15fc066e1
fixed return status code
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-04-30 15:26:38 +03:00
Matthias Bertschy
9521cf1974
bump syft version
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-04-29 14:00:18 +02:00
fanqiaojun
bd35d521f2
Fix some comments
...
Signed-off-by: fanqiaojun <fanqiaojun@yeah.net >
2024-04-13 15:42:01 +08:00
Massimiliano Giovagnoli
e0f2944fc8
chore(core/pkg/resultshandling): add control id to pdf output
...
Add a new column in the PDF output to reference each control that has
been executed as control ID.
Signed-off-by: Massimiliano Giovagnoli <me@maxgio.it >
2024-04-10 17:11:30 +02:00
Anubhav Gupta
4c9cacecfe
fix lint
...
Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com >
2024-04-09 22:41:57 +05:30
Anubhav Gupta
6ee6a78a75
Merge branch 'master' of https://github.com/kubescape/kubescape into copa-grype
2024-04-09 21:37:46 +05:30
Anubhav Gupta
e754ecff4f
fix grype name
...
Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com >
2024-04-09 21:33:16 +05:30
Matthias Bertschy
bda7a17f41
Merge pull request #1658 from needsure/master
...
chore: fix function names in comment
2024-04-09 11:47:07 +02:00
needsure
dee6ed96f8
chore: fix function names in comment
...
Signed-off-by: needsure <qinzhipeng@outlook.com >
2024-04-09 16:33:24 +08:00
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
Matthias Bertschy
d9736d7d56
Merge pull request #1644 from kubescape/fix-panic-submitting-report
...
fix panic when submitting report
2024-03-27 10:54:28 +01:00
YiscahLevySilas1
0477f8cb03
use regolibrary v2
...
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io >
2024-03-26 09:05:01 +02:00
Anubhav Gupta
b9fd60b395
fix
...
Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com >
2024-03-26 12:06:16 +05:30
Amir Malka
8a671b9658
fix panic when submitting report
...
Signed-off-by: Amir Malka <amirm@armosec.io >
2024-03-19 11:39:26 +02:00
Matthias Bertschy
708bf4477a
Fix gitlab ( #1639 )
...
* always use git token if we provide one
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
* bump go-git-url for gitlab fix
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
* fix action permissions for cosign signature
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
---------
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-03-18 11:02:39 +02:00
Amir Malka
56a9d9a7f3
fix panic when error is returned from SubmitReport ( #1640 )
...
Signed-off-by: Amir Malka <amirm@armosec.io >
2024-03-17 14:08:04 +02:00
Matthias Bertschy
55e570a2b2
get KubernetesClient only if k8s is not nil
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-03-13 10:45:32 +01:00
Matthias Bertschy
da022a1cf0
set BuildNumber and Client from env
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-03-12 16:11:58 +01:00
David Wertenteil
d8d6ab96df
Merge pull request #1629 from kubescape/fix/sarif-fix
...
Remove repeating fixes
2024-03-11 09:47:42 +02:00
David Wertenteil
abefe8c21a
Merge pull request #1593 from kubescape/daily
...
update daily report
2024-03-11 09:26:28 +02:00
David Wertenteil
0e0e1ed6fb
remove repeating fixes
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-03-11 09:22:03 +02:00
mmmmmmorty
f5e110c212
Fix bug for no matches of yalib in one file mapping
...
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
2024-03-08 10:50:39 +02:00
Matthias Bertschy
2429d2b89d
move versioncheck to kubescape/backend
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-03-06 14:44:37 +01:00
Anubhav Gupta
f0c3a568f0
change reference from anubhav06 to project-copacetic
...
Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com >
2024-03-05 17:36:48 +01:00
David Wertenteil
e87f3399c7
fixed release artifacts
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-03-01 15:09:25 +02:00
Alfredo Garcia
fad8f2b272
Add Vulnerability scanning report to the summaryDetails section ( #1615 )
...
* Add Vulnerability scanning report to the summaryDetails section
Signed-off-by: Alfredo Garcia <algarcia@vmware.com >
* Updating the opa-utils dependency version
Signed-off-by: Alfredo Garcia <algarcia@vmware.com >
---------
Signed-off-by: Alfredo Garcia <algarcia@vmware.com >
2024-03-01 14:59:23 +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
533edc6d05
Fixing exceptions for regovector objects
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-02-29 08:42:32 +02:00
Matthias Bertschy
ac6c5ca570
image scan add schema v1 support
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-02-28 10:25:16 +01: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
05903e34ff
Handle unknown fw
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-02-22 17:05:38 +02:00
David Wertenteil
9b05fb60e4
Merge pull request #1607 from kubescape/fix/fw-list
...
Remove "%" from the print
2024-02-22 15:36:24 +02:00
David Wertenteil
d01a7977ae
Remove "%" from the print
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2024-02-22 14:26:51 +02:00
Matthias Bertschy
3e287db1f9
remove libgit files and dependencies
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-01-20 10:24:21 +01:00
YiscahLevySilas1
1b59b6a35f
fix backslashes
...
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io >
2024-01-16 11:59:28 +02:00
Matthias Bertschy
6a6e4181bd
fetch Rekor before cosign validation
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-01-15 14:33:39 +01:00
Amir Malka
4b8786bcaa
checking for compatible policy rules before pulling k8s resources; failing to pull some k8s resource should not fail the entire scan ( #1578 )
...
Signed-off-by: Amir Malka <amirm@armosec.io >
2024-01-09 09:44:45 +02:00