-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): new Vulnerabilities.ListEvaluations() func
This new feature is adding two new functions `ListEvalutions()` and `ListEvaluationsDateRange()` to the `Vulnerabilities` service inside the Go API client, these endpoints wrap the new API endpoint: `/external/vulnerabilities/container/GetEvaluationsForDateRange` The functions will allow users to lists all evaluations in an account. An example: ```go package main import ( "fmt" "log" "github.com/lacework/go-sdk/api" ) func main() { lacework, err := api.NewClient("account") if err != nil { log.Fatal(err) } fmt.Println(lacework.Vulnerabilities.ListEvaluations()) } ``` Contributes to #156 Signed-off-by: Salim Afiune Maya <[email protected]>
- Loading branch information
Showing
6 changed files
with
510 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.