All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetSecurityVulnerabilityOverrides | Get /api/v2/securityOverrides |
ApiSecurityVulnerabilityOverrideResponseDTOV2 GetSecurityVulnerabilityOverrides(ctx).RefId(refId).ComponentPurl(componentPurl).OwnerId(ownerId).Execute()
package main
import (
"context"
"fmt"
"os"
sonatypeiq "github.com/sonatype-nexus-community/nexus-iq-api-client-go"
)
func main() {
refId := "refId_example" // string | (optional)
componentPurl := "componentPurl_example" // string | (optional)
ownerId := "ownerId_example" // string | (optional)
configuration := sonatypeiq.NewConfiguration()
apiClient := sonatypeiq.NewAPIClient(configuration)
resp, r, err := apiClient.SecurityOverridesAPI.GetSecurityVulnerabilityOverrides(context.Background()).RefId(refId).ComponentPurl(componentPurl).OwnerId(ownerId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SecurityOverridesAPI.GetSecurityVulnerabilityOverrides``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSecurityVulnerabilityOverrides`: ApiSecurityVulnerabilityOverrideResponseDTOV2
fmt.Fprintf(os.Stdout, "Response from `SecurityOverridesAPI.GetSecurityVulnerabilityOverrides`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetSecurityVulnerabilityOverridesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
refId | string | ||
componentPurl | string | ||
ownerId | string |
ApiSecurityVulnerabilityOverrideResponseDTOV2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]