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

handle timeout of kics scan and gitlab pipeline #59

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

beechesII
Copy link
Collaborator

Unfortunately, when scanning the repositories, we have the problem that Kics times out in some of the repositories.

The Gitlab pipeline then aborts after the timeout defined in Gitlab. With the changes contained in the PR, a timeout is set for the subprocess that starts the kics scan. The exception that results from the timeout is caught with a try except.

An issue is opened in the affected repo in which the user is asked to exclude the repo from the scan.

@beechesII beechesII changed the title handle timeout of kics scan handle timeout of kics scan and gitlab pipeline Oct 30, 2024
@beechesII beechesII requested review from schurzi and z-bsod October 30, 2024 20:30
@beechesII beechesII added the bug Something isn't working label Oct 30, 2024
@beechesII beechesII merged commit 21b9101 into main Nov 14, 2024
1 check passed
@beechesII beechesII deleted the handle_timeout_of_kics_scan branch November 14, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants