Matthias Bertschy
4208ed1ca6
Merge pull request #1456 from kubescape/fix-docker-build
...
Fix Docker Build for Kubescape-CLI
2024-01-03 15:52:12 +01:00
Matthias Bertschy
4adb1da4d2
Merge pull request #1556 from VaibhavMalik4187/locationresolver-tests
...
Added missing tests for locationresolver
2024-01-03 15:49:40 +01:00
Matthias Bertschy
3ba1e9c187
Merge pull request #1570 from kubescape/dependabot/go_modules/github.com/go-git/go-git/v5-5.11.0
...
Bump github.com/go-git/go-git/v5 from 5.8.1 to 5.11.0
2024-01-03 14:35:35 +01:00
dependabot[bot]
81eec99b51
Bump github.com/go-git/go-git/v5 from 5.8.1 to 5.11.0
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.8.1 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.8.1...v5.11.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-03 13:00:47 +00:00
Matthias Bertschy
3ba3af8244
Merge pull request #1569 from kubescape/dependabot/go_modules/httphandler/github.com/go-git/go-git/v5-5.11.0
...
Bump github.com/go-git/go-git/v5 from 5.8.1 to 5.11.0 in /httphandler
2024-01-03 13:58:31 +01:00
dependabot[bot]
8ca6f71d57
Bump github.com/go-git/go-git/v5 from 5.8.1 to 5.11.0 in /httphandler
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.8.1 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.8.1...v5.11.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-02 11:31:26 +00:00
VaibhavMalik4187
155889a479
Added missing tests for locationresolver
...
Wrote new tests to cover the unhandled statements in the
`NewFixPathLocationResolver` and `ResolveLocation` functions.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-12-23 17:23:07 +05:30
Yuval Leibovich
06d9c9d31c
Merge pull request #1562 from kubescape/remove-control-0086
...
Remove control 0086
2023-12-14 18:50:37 +02:00
David Wertenteil
f309d54b08
Merge pull request #1558 from kubescape/wlid
...
add wlid annotation to workloadconfigurationscans and summaries
2023-12-14 13:35:48 +02:00
Yuval Leibovich
0d2a667299
Update html-format.html
...
Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com >
2023-12-13 15:45:58 +02:00
Yuval Leibovich
1dd8022d6a
removing control 0086
...
Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com >
2023-12-13 15:42:42 +02:00
Matthias Bertschy
e29e6a5e8a
add wlid annotation to workloadconfigurationscans and summaries
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2023-12-12 10:42:02 +01:00
Matthias Bertschy
e27237047e
Merge pull request #1561 from kubescape/bump
...
patch GHSA-3f2q-6294-fmq5 by switching to chainguard's fork
2023-12-11 07:29:00 +01:00
Matthias Bertschy
1b260f60cc
patch GHSA-3f2q-6294-fmq5 by switching to chainguard's fork
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2023-12-11 07:19:05 +01:00
David Wertenteil
882a8404d3
Merge pull request #1557 from kubescape/feature/slack-badge
...
Adding slack badge to README.md
2023-12-05 16:49:58 +02:00
Amit Schendel
b797413ef0
Adding slack badge to README.md
...
Signed-off-by: Amit Schendel <amitschendel@gmail.com >
2023-12-04 21:36:00 +02:00
David Wertenteil
298e30e857
Merge pull request #1489 from kubescape/oshrat_branch
...
update readme
2023-12-03 16:30:42 +02:00
David Wertenteil
6ba727b721
Merge pull request #1555 from kubescape/adding-start-badge
...
Adding stars badge
2023-12-03 16:30:12 +02:00
Matthias Bertschy
362557a964
Merge pull request #1554 from VaibhavMalik4187/scan-crash-fix
...
Fixed crash when running the scan command
2023-12-01 07:12:09 +01:00
Amit Schendel
c119911914
Adding starts badge
...
Signed-off-by: Amit Schendel <amitschendel@gmail.com >
2023-11-30 13:54:21 +02:00
VaibhavMalik4187
de2e86dc6e
Fixed crash when running the scan command
...
Updated the `getSortPackageScores` function to fix the crash in the scan
command.
Fixes: https://github.com/kubescape/kubescape/issues/1553
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-11-30 15:12:33 +05:30
Matthias Bertschy
a2aa52f4cb
Merge pull request #1551 from MMMMMMorty/fix_action_workflow
...
Add github action actor check for binary-build
2023-11-28 15:46:50 +01:00
mmmmmmorty
a382a2c5a3
add github action actor check for binary-build
...
Signed-off-by: mmmmmmorty <mmmmmmorty@outlook.com >
2023-11-28 14:35:36 +01:00
Matthias Bertschy
dd5a18c8fa
Merge pull request #1544 from mohaidoss/Improvement/ks-cloud-logs
...
Enhancement of Logging Mechanisms for KS Cloud Usage
2023-11-27 16:48:10 +01:00
Yuval Leibovich
e4e795c6dc
Merge pull request #1548 from kubescape/remove-armoBuiltin
...
Removal of "armoBuiltin" attribute from JSON files
2023-11-27 16:17:35 +02:00
Matthias Bertschy
2c65d92d69
Merge pull request #1549 from VaibhavMalik4187/junit-tests
...
Addition of new tests for junit printer, version check and PDF printer
2023-11-27 15:02:17 +01:00
VaibhavMalik4187
d1b78856ca
Added tests for versioncheck and printer packages
...
Wrote new tests for the following files:
- junit.go
- pdf.go
- versioncheck.go
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-11-27 18:25:34 +05:30
Matthias Bertschy
289e055014
Merge pull request #1547 from kubescape/add-scan-source
...
add scan source
2023-11-27 12:38:11 +01:00
Matthias Bertschy
81ba550043
Merge pull request #1537 from VaibhavMalik4187/printer-tests-continued
...
Addition of Tests for the PrettyPrinter Package
2023-11-27 11:11:15 +01:00
Matthias Bertschy
8e5d8e5c96
Merge pull request #1539 from VaibhavMalik4187/prettyprinter/utils
...
Performance Enhancements and Test Additions in prettyprinter/utils.go
2023-11-27 11:08:16 +01:00
Matthias Bertschy
5789f1f0fa
Merge pull request #1542 from VaibhavMalik4187/imageprinter-tests
...
Added new tests in the imagewriter package
2023-11-27 11:07:30 +01:00
Matthias Bertschy
9a523f4a01
Merge pull request #1545 from VaibhavMalik4187/configurationprinter-tests
...
Enhancements and Tests for Configuration Printer
2023-11-27 11:06:38 +01:00
Matthias Bertschy
fb3357fba4
Merge pull request #1546 from kubescape/set-default-format
...
Set default format
2023-11-27 11:02:49 +01:00
Yuval Leibovich
69362ae415
Update MITRE.json
...
Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com >
2023-11-27 12:01:14 +02:00
Daniel Grunberger
de799d7b75
fix version
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 11:58:04 +02:00
Yuval Leibovich
bb17e1de78
Update NSA.json
...
Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com >
2023-11-27 11:57:31 +02:00
Daniel Grunberger
23013d6fe6
bring back version
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 11:57:03 +02:00
Daniel Grunberger
27d2fe8f27
fix version
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 11:56:03 +02:00
Yuval Leibovich
504891f519
Update C-0001.json
...
Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com >
2023-11-27 11:51:09 +02:00
Yuval Leibovich
d1606c5e39
Update processorhandler_test.go
...
Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com >
2023-11-27 11:46:50 +02:00
Daniel Grunberger
952beddcc3
add scan source
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 11:24:25 +02:00
Daniel Grunberger
9630adc74b
remove toolchain
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 09:53:01 +02:00
Daniel Grunberger
27c171d09c
go mod for http
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 09:45:29 +02:00
Daniel Grunberger
bd79fe4d8d
update go version
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 09:37:13 +02:00
Daniel Grunberger
08f3756608
fix test
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 09:25:07 +02:00
Daniel Grunberger
7cda7346b7
set default
...
Signed-off-by: Daniel Grunberger <danielgrunberger@armosec.io >
2023-11-27 08:56:33 +02:00
VaibhavMalik4187
8cd0bddf6f
Enhancements and tests for configurationprinter
...
Wrote new tests for `categorytable` and `frameworkscan`
Refactored the `shortFormatRow` function for:
- Imporved readability
- Consistency
- Improve code modularity
- Encapsulation: The formatted string construction is encapsulated
within the function, maintaining code modularity and separation of
concerns.
Added the `MockISeverityCounters` mock struct to test the
`renderSeverityCountersSummary` function.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-11-27 11:35:24 +05:30
VaibhavMalik4187
8fa7fc922d
Added tests for the prettyprinter package
...
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-11-27 03:46:45 +05:30
VaibhavMalik4187
6a2e48ac74
Performance enhancements in utils.go
...
Improvments:
1. filterCVEsBySeverities
- This approach is faster than iterating over the severities slice
for each CVE. The map is created in advance, eliminating the
need for repeated string comparisons.
2. getSortPackageScores
- Avoids unnecessary map lookups by creating a slice of
imageprinter.PackageScore pointers.
3. getSortedCVEsBySeverity
- Avoiding Map Lookups
- Efficient Sorting
- Optimized Output
Added tests for tableprinter/utils
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2023-11-27 03:15:20 +05:30
Mehdi Moussaif
b68cfbed67
Added logs for when KS CLOUD is used
...
Signed-off-by: Mehdi Moussaif <m.moussaif42@gmail.com >
2023-11-26 22:26:58 +01:00