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

feat(api): Vulnerability Exceptions v2 Service #627

Merged
merged 2 commits into from
Jan 7, 2022

Conversation

dmurray-lacework
Copy link
Collaborator

@dmurray-lacework dmurray-lacework commented Dec 1, 2021

Signed-off-by: Darren Murray [email protected]

Summary

New Vulnerability Exceptions service added to go-sdk .

How did you test this change?

api/vulnerability_exceptions_test.go
api/examples/vulnerability-exceptions/main.go

Issue

https://lacework.atlassian.net/browse/ALLY-749

@dmurray-lacework dmurray-lacework marked this pull request as ready for review December 7, 2021 10:49
@dmurray-lacework dmurray-lacework force-pushed the dmurray-lacework/ALLY-749 branch 4 times, most recently from ff20fe8 to d097918 Compare December 13, 2021 11:07
}

// Create creates a single Vulnerability Exception
func (svc *VulnerabilityExceptionsService) Create(vuln VulnerabilityException) (
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest removing Create() and Update() functions since we have specific functions for every type and that way we will follow a pattern.

api/vulnerability_exceptions_container.go Show resolved Hide resolved
Copy link
Contributor

@afiune afiune left a comment

Choose a reason for hiding this comment

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

One comment but out of that, this is ready to go. Just curious why CI is upset... 🤔

tenor-51055055

@dmurray-lacework dmurray-lacework merged commit ef65e23 into main Jan 7, 2022
@dmurray-lacework dmurray-lacework deleted the dmurray-lacework/ALLY-749 branch January 7, 2022 13:20
@lacework-releng lacework-releng mentioned this pull request Jan 25, 2022
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