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

Added rule policy deflation #168

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Added rule policy deflation #168

merged 1 commit into from
Nov 18, 2024

Conversation

afek854
Copy link
Contributor

@afek854 afek854 commented Nov 14, 2024

Sorry, we do not accept changes directly against this repository. Please see
CONTRIBUTING.md for information on where and how to contribute instead.

Copy link

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: success

@afek854 afek854 requested a review from matthyx November 18, 2024 07:19
out := make(map[string]softwarecomposition.RulePolicy)
for key, item := range in {
item.AllowedProcesses = mapset.Sorted(mapset.NewThreadUnsafeSet(item.AllowedProcesses...))
out[key] = item
Copy link
Contributor

Choose a reason for hiding this comment

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

why not directly in[key] = item ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

DONE

Signed-off-by: Afek Berger <[email protected]>
@afek854 afek854 force-pushed the fix/policy_rule_deflation branch from 8774d0f to f8f5379 Compare November 18, 2024 07:48
Copy link

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: success

@afek854 afek854 merged commit 5785b47 into main Nov 18, 2024
6 checks passed
@matthyx matthyx deleted the fix/policy_rule_deflation branch December 5, 2024 15:56
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.

2 participants