Matthias Bertschy
3dd95ff3a3
Merge pull request #1791 from kubescape/prereq
...
update prerequisites
v3.0.28-rc.0
2025-02-14 16:12:03 +01:00
Matthias Bertschy
daadb5b804
update prerequisites
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-14 16:10:31 +01:00
Matthias Bertschy
d250017faf
Merge pull request #1790 from pixel365/err
...
fix: add error handling and context propagation
2025-02-12 10:56:03 +01:00
Ruslan Semagin
835bcbeb12
fix: format imports with goimports
...
Signed-off-by: Ruslan Semagin <pixel.365.24@gmail.com >
2025-02-12 12:15:14 +03:00
Ruslan Semagin
2e4f7c4477
fix: add error handling and context propagation
...
Signed-off-by: Ruslan Semagin <pixel.365.24@gmail.com >
2025-02-12 09:02:01 +03:00
Matthias Bertschy
66bf93eb0c
Merge pull request #1789 from pixel365/ctx
...
Refactor: propagate context from main to avoid redundant context creation
2025-02-11 21:27:48 +01:00
Matthias Bertschy
3a036ed0e3
remove test resources saved by accident
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-11 21:26:26 +01:00
Ruslan Semagin
fe7dad4560
Refactor: propagate context from main to avoid redundant context creation
...
- Introduced a single context in main() to handle interrupt signals (os.Interrupt, syscall.SIGTERM).
- Removed repetitive context creation in the program by reusing the propagated context.
- Improved code readability and maintainability by centralizing context management.
- Ensured consistent handling of graceful shutdown across the program.
Signed-off-by: Ruslan Semagin <pixel.365.24@gmail.com >
2025-02-11 19:52:48 +03:00
Matthias Bertschy
fb36b09f3a
remove mv kubescape arm64 binary step
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.27
v3.0.27-rc.0
2025-02-11 09:49:17 +01:00
Matthias Bertschy
e71b0c75a9
fix downloaded artifacts path
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.26
v3.0.26-rc.2
2025-02-11 08:55:43 +01:00
Matthias Bertschy
d615099ce1
try fixing download-artifacts action for release
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.26-rc.1
2025-02-11 07:42:30 +01:00
Matthias Bertschy
f265b91939
Merge pull request #1788 from kubescape/sarif
...
do not skip on location resolver error
2025-02-10 13:40:59 +01:00
Matthias Bertschy
825694ade1
do not skip on location resolver error
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.26-rc.0
2025-02-10 10:25:44 +01:00
Matthias Bertschy
979a30aea7
Merge pull request #1591 from Sanskarzz/scanapiexception
...
added support for exception rules in Scan API ( As a HTTP request)
2025-02-07 13:32:42 +01:00
Matthias Bertschy
39c4aa4faa
Merge pull request #1568 from VaibhavMalik4187/feature-exceptions
...
Feature: Added exceptions flag in scan image cmd
2025-02-07 12:40:24 +01:00
Matthias Bertschy
475b672a7a
add fixed grypeDB for tests
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-07 12:34:11 +01:00
Matthias Bertschy
815c87b532
implement reviews from DW
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-07 12:16:35 +01:00
Sanskarzz
82120f9d31
added support for exception rules
...
Signed-off-by: Sanskarzz <sanskar.gur@gmail.com >
2025-02-07 12:15:56 +01:00
VaibhavMalik4187
0545818f82
Added tests and improvements for image exceptions
...
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2025-02-07 10:26:53 +01:00
VaibhavMalik4187
046da1940c
Added support for targets in image exceptions
...
This commit introduces the ability to specify targets in image
exceptions. Each target will have the following 4 attributes:
1. Registry
2. Organization
3. ImageName
4. ImageTag
These attributes will be used to match against the canonical image name
of the image to be scanned. The vulnerabilites and the severities
specified in the VulnerabilitiesIgnorePolicy object will be considered
only if the image to be scanned matches the targets specified for that
policy. Regular expressions can also be used to specify the image
attributes.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2025-02-07 10:26:53 +01:00
VaibhavMalik4187
a31154897f
Added support for severity exceptions in imagescan
...
This commit add relevant functions to support severity exceptions during
image scan.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2025-02-07 10:26:53 +01:00
VaibhavMalik4187
199c57be30
WIP: Load image exceptions from file
...
Added initial commit to start loading image exceptions from json files.
Currently, it supports vulnerability exceptions using their CVE-IDs.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2025-02-07 10:26:53 +01:00
VaibhavMalik4187
7d55c79f11
Feature: Added exceptions flag in scan image cmd
...
This commit introduces the "exceptions" flag in the scan image command.
Users can pass a list of vulnerabilities they ignore while scanning an
image using this flag. Also added tests for the same.
Fixes: https://github.com/kubescape/kubescape/issues/1564
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
2025-02-07 10:26:53 +01:00
Matthias Bertschy
ee76364371
fix scorecard-action version
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-07 09:23:28 +01:00
Matthias Bertschy
4f2c7ac1de
Merge pull request #1787 from kubescape/bump
...
bump all CI actions
2025-02-07 09:09:44 +01:00
Matthias Bertschy
00340827be
bump all CI actions
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-07 08:00:19 +01:00
Matthias Bertschy
708fe64240
Merge pull request #1786 from Fernando-hub527/refactor/maroto-version-v2
...
Refactor: maroto version v2
2025-02-07 07:33:34 +01:00
Fernando-hub527
8985bbe3a9
refactor: update Maroto configuration file location
...
Signed-off-by: Fernando-hub527 <fernandocoelhosaraivanando@gmail.com >
2025-02-06 18:07:57 -03:00
Matthias Bertschy
1ffca5648e
delete TableObject.getSeverityColor to please CI
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-02-06 07:56:07 +01:00
Fernando-hub527
76b1ecb022
refactor: create a method that returns the pdf row
...
Return a struct with the data for ease of use
Signed-off-by: Fernando-hub527 <fernandocoelhosaraivanando@gmail.com >
2025-02-05 21:52:50 -03:00
Fernando-hub527
fc69a3692e
refactor: remove unused code
...
Signed-off-by: Fernando-hub527 <fernandocoelhosaraivanando@gmail.com >
2025-02-05 21:47:28 -03:00
Fernando-hub527
e159458129
test:validate creation of report pdf
...
Signed-off-by: Fernando-hub527 <fernandocoelhosaraivanando@gmail.com >
2025-02-05 21:45:01 -03:00
Fernando-hub527
b259f117ff
refactor: create a report template with maroto/v2
...
Separate template creation from application logic
Signed-off-by: Fernando-hub527 <fernandocoelhosaraivanando@gmail.com >
2025-02-05 21:36:39 -03:00
Fernando-hub527
13cf34bffd
refactor: update Maroto version to v2
...
Signed-off-by: Fernando-hub527 <fernandocoelhosaraivanando@gmail.com >
2025-02-05 21:31:22 -03:00
Matthias Bertschy
0300fee38b
bump actions/download-artifact@v4
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.25
v3.0.25-rc.1
2025-01-31 16:38:01 +01:00
Matthias Bertschy
d61d641e81
bump actions/upload-artifact@v4
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.25-rc.0
2025-01-31 16:09:16 +01:00
Matthias Bertschy
2added0f7c
use go 1.23, disable cache
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-01-31 16:06:13 +01:00
Matthias Bertschy
b6f6573ed8
Merge pull request #1785 from kubescape/sarif
...
fix helm detection in sarif printer
2025-01-31 16:04:36 +01:00
Matthias Bertschy
4215771134
fix helm detection in sarif printer
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-01-31 15:23:15 +01:00
Amit Schendel
fd37446e1b
Merge pull request #1784 from kubescape/feature/incubating-logo
...
Changing README of Kubescape from Sandbox to Incubating
2025-01-27 14:01:09 +02:00
Amit Schendel
351498aac5
Changing README of Kubescape from Sandbox to Incubating
...
Signed-off-by: Amit Schendel <amitschendel@gmail.com >
2025-01-27 13:47:16 +02:00
Eng Zer Jun
2005010568
Replace golang.org/x/exp/slices with slices from stdlib ( #1783 )
2025-01-17 20:51:08 +02:00
Matthias Bertschy
e16c4cc9b4
fix go.mod for httphandler
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
v3.0.24
v3.0.24-rc.1
2025-01-16 15:20:58 +01:00
Matthias Bertschy
544ba9831a
Merge pull request #1782 from kubescape/prereq
...
add prerequisites command
v3.0.24-rc.0
2025-01-16 14:50:28 +01:00
Matthias Bertschy
b6c919feb1
add prerequisites command
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2025-01-16 14:10:40 +01:00
Matthias Bertschy
1c3b2831a2
Merge pull request #1781 from kubescape/add-trigger-indication-in-posture-report
...
add trigger by indication in posture report
v3.0.23
v3.0.23-rc.1
2025-01-09 16:12:43 +01:00
Amit Schendel
8a19a73bb1
Update b-binary-build-and-e2e-tests.yaml ( #1761 )
...
Signed-off-by: Amit Schendel <58078857+amitschendel@users.noreply.github.com >
2025-01-09 17:01:51 +02:00
Amir Malka
d966b0acbc
update opa-utils
...
Signed-off-by: Amir Malka <amirm@armosec.io >
2025-01-09 16:35:53 +02:00
Amir Malka
14ffe35437
add trigger by indication in posture report
...
Signed-off-by: Amir Malka <amirm@armosec.io >
2025-01-09 16:13:29 +02:00
Matthias Bertschy
985d72e5fb
Merge pull request #1780 from kubescape/airgap
...
Airgap support
v3.0.23-rc.0
2025-01-09 14:00:50 +01:00