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

Ignore whitespaces when parsing github action scan types #3143

Closed
hamidonos opened this issue May 23, 2024 · 0 comments · Fixed by #3152
Closed

Ignore whitespaces when parsing github action scan types #3143

hamidonos opened this issue May 23, 2024 · 0 comments · Fixed by #3152

Comments

@hamidonos
Copy link
Collaborator

hamidonos commented May 23, 2024

Situation

When passing scan types as comma separated list with whitepaces the scan type is not correctly recognized because some scan types contain the whitespace

Wanted

scan-types: 'codeScan, secretScan' is parsed as ['codeScan', 'secretScan']

Solution

Sanitize the comma separated string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants