Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(core/pkg/resultshandling): add control id to pdf output #1662

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

maxgio92
Copy link
Contributor

@maxgio92 maxgio92 commented Apr 10, 2024

Overview

This PR adds a new column in the PDF output to reference each control that has been executed as control ID.

Additional Information

The PDF report is useful, especially for assessment overviews.
As of now a reference to each control, independently of the framework, is missing and only a description.
The description of the control is not enough to reference the documentation of the control, remediation.

Furthermore, this PR increments the control description volume width to 73 characters, from 53.

How to Test

kubescape scan -v --format pdf --output test-report.pdf

Examples/Screenshots

image

Related issues/PRs:

#1661

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>
@maxgio92 maxgio92 marked this pull request as ready for review April 10, 2024 15:14
@maxgio92
Copy link
Contributor Author

maxgio92 commented Apr 10, 2024

Hello, are there any constraints external to the printer's technical ones to limit the control description width to 53 characters (... included)?

@matthyx
Copy link
Contributor

matthyx commented Apr 11, 2024

Hello, are there any constraints external to the printer's technical ones to limit the control description width to 53 characters (... included)?

Hi @maxgio92 nice to meet you!
Good question @alegrey91 @nitishchauhan0022 ?

@alegrey91
Copy link
Collaborator

Hello, are there any constraints external to the printer's technical ones to limit the control description width to 53 characters (... included)?

Hi @maxgio92 nice to meet you! Good question @alegrey91 @nitishchauhan0022 ?

I guess it was to not get out from the pdf column.
LGTM

@maxgio92
Copy link
Contributor Author

Hey @alegrey91, I tested it and it seems that with this new column split 70 characters are supported

@matthyx matthyx merged commit 533c039 into kubescape:master Apr 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants