Skip to content

Conversation

@joshuaostrom-cb
Copy link
Contributor

Update gosec exception config to support the normalized exception format. This will enable timeboxing as well.

@ghbren
Copy link
Contributor

ghbren commented Sep 21, 2021

LGTM!

end

def excluded_ids
(fetch_exception_ids + @config.fetch('exclude', [])).uniq
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason to also sort?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think so we just pass the exceptions to gosec for exclusion

@ghbren ghbren self-requested a review September 22, 2021 20:20
@joshuaostrom-cb joshuaostrom-cb merged commit e57fb47 into SECT-912-timebox-support-base Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants