package
0.0.0-20230516194455-8aef9cf14534
Repository: https://github.com/nextlinux/client-go.git
Documentation: pkg.go.dev

# README

Go API client for external

This is the Nextlinux Engine API. Provides the primary external API for users of the service.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.1.16
  • Package version: 0.1.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./external"

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
ArchivesApiArchiveImageAnalysisPost /archives/images
ArchivesApiCreateAnalysisArchiveRulePost /archives/rules
ArchivesApiDeleteAnalysisArchiveRuleDelete /archives/rules/{ruleId}
ArchivesApiDeleteArchivedAnalysisDelete /archives/images/{imageDigest}
ArchivesApiGetAnalysisArchiveRuleGet /archives/rules/{ruleId}
ArchivesApiGetArchivedAnalysisGet /archives/images/{imageDigest}
ArchivesApiListAnalysisArchiveGet /archives/images
ArchivesApiListAnalysisArchiveRulesGet /archives/rules
ArchivesApiListArchivesGet /archives
DefaultApiGetOauthTokenPost /oauth/token
DefaultApiHealthCheckGet /health
DefaultApiListFileContentSearchResultsGet /images/{imageDigest}/artifacts/file_content_searchReturn a list of analyzer artifacts of the specified type
DefaultApiListRetrievedFilesGet /images/{imageDigest}/artifacts/retrieved_filesReturn a list of analyzer artifacts of the specified type
DefaultApiListSecretSearchResultsGet /images/{imageDigest}/artifacts/secret_searchReturn a list of analyzer artifacts of the specified type
DefaultApiPingGet /
DefaultApiVersionCheckGet /version
EventsApiDeleteEventDelete /events/{eventId}Delete Event
EventsApiDeleteEventsDelete /eventsDelete Events
EventsApiGetEventGet /events/{eventId}Get Event
EventsApiListEventTypesGet /event_typesList Event Types
EventsApiListEventsGet /eventsList Events
IdentityApiAddCredentialPost /user/credentialsadd/replace credential
IdentityApiGetCredentialsGet /user/credentialsGet current credential summary
IdentityApiGetUserGet /userList authenticated user info
IdentityApiGetUsersAccountGet /accountList the account for the authenticated user
ImagesApiAddImagePost /imagesSubmit a new image for analysis by the engine
ImagesApiDeleteImageDelete /images/{imageDigest}Delete an image analysis
ImagesApiDeleteImageByImageIdDelete /images/by_id/{imageId}Delete image by docker imageId
ImagesApiDeleteImagesAsyncDelete /imagesBulk mark images for deletion
ImagesApiGetImageGet /images/{imageDigest}Get image metadata
ImagesApiGetImageByImageIdGet /images/by_id/{imageId}Lookup image by docker imageId
ImagesApiGetImageContentByTypeGet /images/{imageDigest}/content/{ctype}Get the content of an image by type
ImagesApiGetImageContentByTypeFilesGet /images/{imageDigest}/content/filesGet the content of an image by type files
ImagesApiGetImageContentByTypeImageIdGet /images/by_id/{imageId}/content/{ctype}Get the content of an image by type
ImagesApiGetImageContentByTypeImageIdFilesGet /images/by_id/{imageId}/content/filesGet the content of an image by type files
ImagesApiGetImageContentByTypeImageIdJavapackageGet /images/by_id/{imageId}/content/javaGet the content of an image by type java
ImagesApiGetImageContentByTypeJavapackageGet /images/{imageDigest}/content/javaGet the content of an image by type java
ImagesApiGetImageContentByTypeMalwareGet /images/{imageDigest}/content/malwareGet the content of an image by type malware
ImagesApiGetImageMetadataByTypeGet /images/{imageDigest}/metadata/{mtype}Get the metadata of an image by type
ImagesApiGetImagePolicyCheckGet /images/{imageDigest}/checkCheck policy evaluation status for image
ImagesApiGetImagePolicyCheckByImageIdGet /images/by_id/{imageId}/checkCheck policy evaluation status for image
ImagesApiGetImageVulnerabilitiesByTypeGet /images/{imageDigest}/vuln/{vtype}Get vulnerabilities by type
ImagesApiGetImageVulnerabilitiesByTypeImageIdGet /images/by_id/{imageId}/vuln/{vtype}Get vulnerabilities by type
ImagesApiGetImageVulnerabilityTypesGet /images/{imageDigest}/vulnGet vulnerability types
ImagesApiGetImageVulnerabilityTypesByImageIdGet /images/by_id/{imageId}/vulnGet vulnerability types
ImagesApiListImageContentGet /images/{imageDigest}/contentList image content types
ImagesApiListImageContentByImageidGet /images/by_id/{imageId}/contentList image content types
ImagesApiListImageMetadataGet /images/{imageDigest}/metadataList image metadata types
ImagesApiListImagesGet /imagesList all visible images
ImportApiImportImageArchivePost /import/imagesImport an nextlinux image tar.gz archive file. This is a deprecated API replaced by the "/imports/images" route
ImportsApiCreateOperationPost /imports/imagesBegin the import of an image analyzed by Syft into the system
ImportsApiGetOperationGet /imports/images/{operation_id}Get detail on a single import
ImportsApiImportImageConfigPost /imports/images/{operation_id}/image_configImport a docker or OCI image config to associate with the image
ImportsApiImportImageDockerfilePost /imports/images/{operation_id}/dockerfileBegin the import of an image analyzed by Syft into the system
ImportsApiImportImageManifestPost /imports/images/{operation_id}/manifestImport a docker or OCI distribution manifest to associate with the image
ImportsApiImportImagePackagesPost /imports/images/{operation_id}/packagesBegin the import of an image analyzed by Syft into the system
ImportsApiImportImageParentManifestPost /imports/images/{operation_id}/parent_manifestImport a docker or OCI distribution manifest list to associate with the image
ImportsApiInvalidateOperationDelete /imports/images/{operation_id}Invalidate operation ID so it can be garbage collected
ImportsApiListImportDockerfilesGet /imports/images/{operation_id}/dockerfileList uploaded dockerfiles
ImportsApiListImportImageConfigsGet /imports/images/{operation_id}/image_configList uploaded image configs
ImportsApiListImportImageManifestsGet /imports/images/{operation_id}/manifestList uploaded image manifests
ImportsApiListImportPackagesGet /imports/images/{operation_id}/packagesList uploaded package manifests
ImportsApiListImportParentManifestsGet /imports/images/{operation_id}/parent_manifestList uploaded parent manifests (manifest lists for a tag)
ImportsApiListOperationsGet /imports/imagesLists in-progress imports
PoliciesApiAddPolicyPost /policiesAdd a new policy
PoliciesApiDeletePolicyDelete /policies/{policyId}Delete policy
PoliciesApiGetPolicyGet /policies/{policyId}Get specific policy
PoliciesApiListPoliciesGet /policiesList policies
PoliciesApiUpdatePolicyPut /policies/{policyId}Update policy
QueryApiQueryImagesByPackageGet /query/images/by_packageList of images containing given package
QueryApiQueryImagesByVulnerabilityGet /query/images/by_vulnerabilityList images vulnerable to the specific vulnerability ID.
QueryApiQueryVulnerabilitiesGet /query/vulnerabilitiesListing information about given vulnerability
RegistriesApiCreateRegistryPost /registriesAdd a new registry
RegistriesApiDeleteRegistryDelete /registries/{registry}Delete a registry configuration
RegistriesApiGetRegistryGet /registries/{registry}Get a specific registry configuration
RegistriesApiListRegistriesGet /registriesList configured registries
RegistriesApiUpdateRegistryPut /registries/{registry}Update/replace a registry configuration
RepositoryCredentialsApiAddRepositoryPost /repositoriesAdd repository to watch
SubscriptionsApiAddSubscriptionPost /subscriptionsAdd a subscription of a specific type
SubscriptionsApiDeleteSubscriptionDelete /subscriptions/{subscriptionId}Delete subscriptions of a specific type
SubscriptionsApiGetSubscriptionGet /subscriptions/{subscriptionId}Get a specific subscription set
SubscriptionsApiListSubscriptionsGet /subscriptionsList all subscriptions
SubscriptionsApiUpdateSubscriptionPut /subscriptions/{subscriptionId}Update an existing and specific subscription
SummariesApiListImagetagsGet /summaries/imagetagsList all visible image digests and tags
SystemApiDeleteFeedDelete /system/feeds/{feed}
SystemApiDeleteFeedGroupDelete /system/feeds/{feed}/{group}
SystemApiDeleteServiceDelete /system/services/{servicename}/{hostid}Delete the service config
SystemApiDescribeErrorCodesGet /system/error_codesDescribe nextlinux engine error codes.
SystemApiDescribePolicyGet /system/policy_specDescribe the policy language spec implemented by this service.
SystemApiGetServiceDetailGet /systemSystem status
SystemApiGetServicesByNameGet /system/services/{servicename}Get a service configuration and state
SystemApiGetServicesByNameAndHostGet /system/services/{servicename}/{hostid}Get service config for a specific host
SystemApiGetStatusGet /statusService status
SystemApiGetSystemFeedsGet /system/feedslist feeds operations and information
SystemApiListServicesGet /system/servicesList system services
SystemApiPostSystemFeedsPost /system/feedstrigger feeds operations
SystemApiTestWebhookPost /system/webhooks/{webhook_type}/testAdds the capabilities to test a webhook delivery for the given notification type
SystemApiToggleFeedEnabledPut /system/feeds/{feed}
SystemApiToggleGroupEnabledPut /system/feeds/{feed}/{group}
UserManagementApiCreateAccountPost /accountsCreate a new user. Only avaialble to admin user.
UserManagementApiCreateUserPost /accounts/{accountname}/usersCreate a new user
UserManagementApiCreateUserCredentialPost /accounts/{accountname}/users/{username}/credentialsadd/replace credential
UserManagementApiDeleteAccountDelete /accounts/{accountname}Delete the specified account, only allowed if the account is in the disabled state. All users will be deleted along with the account and all resources will be garbage collected
UserManagementApiDeleteUserDelete /accounts/{accountname}/users/{username}Delete a specific user credential by username of the credential. Cannot be the credential used to authenticate the request.
UserManagementApiDeleteUserCredentialDelete /accounts/{accountname}/users/{username}/credentialsDelete a credential by type
UserManagementApiGetAccountGet /accounts/{accountname}Get info about an user. Only available to admin user. Uses the main user Id, not a username.
UserManagementApiGetAccountUserGet /accounts/{accountname}/users/{username}Get a specific user in the specified account
UserManagementApiListAccountsGet /accountsList user summaries. Only available to the system admin user.
UserManagementApiListUserCredentialsGet /accounts/{accountname}/users/{username}/credentialsGet current credential summary
UserManagementApiListUsersGet /accounts/{accountname}/usersList accounts for the user
UserManagementApiUpdateAccountStatePut /accounts/{accountname}/stateUpdate the state of an account to either enabled or disabled. For deletion use the DELETE route

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

[email protected]

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResonse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new Configuration object.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKey takes an APIKey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.

# Structs

AccessCredential A login credential mapped to a user identity.
Account Account information.
AccountCreationRequest An account to create/add to the system.
AccountStatus A summary of account status.
AddImageOpts Optional parameters for the method 'AddImage'.
AddPolicyOpts Optional parameters for the method 'AddPolicy'.
AddRepositoryOpts Optional parameters for the method 'AddRepository'.
AddSubscriptionOpts Optional parameters for the method 'AddSubscription'.
AnalysisArchiveAddResult The result of adding a single digest to the archive.
AnalysisArchiveRulesSummary Summary of the transition rule set.
AnalysisArchiveSource An image reference in the analysis archive for the purposes of loading analysis from the archive into th working set.
AnalysisArchiveSummary A summarization of the analysis archive, including size, counts, etc.
AnalysisArchiveTransitionHistory A rule for auto-archiving image analysis by time and/or tag-history.
AnalysisArchiveTransitionRule A rule for auto-archiving image analysis by time and/or tag-history.
AnalysisArchiveTransitionRuleExclude Which Images to exclude from auto-archiving logic.
AnalysisUpdateEval Evaluation Results for an entity (current or last).
AnalysisUpdateNotification struct for AnalysisUpdateNotification.
AnalysisUpdateNotificationAllOf The Notification Object definition for Tag Update Notifications.
AnalysisUpdateNotificationData struct for AnalysisUpdateNotificationData.
AnalysisUpdateNotificationDataAllOf struct for AnalysisUpdateNotificationDataAllOf.
AnalysisUpdateNotificationPayload struct for AnalysisUpdateNotificationPayload.
AnalysisUpdateNotificationPayloadAllOf struct for AnalysisUpdateNotificationPayloadAllOf.
APIClient manages communication with the Nextlinux Engine API Server API v0.1.16 In most cases there should be only one, shared, APIClient.
ApiErrorResponse Generic HTTP API error response.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
ArchivedAnalysis struct for ArchivedAnalysis.
ArchiveSummary A summarization of the available archives, a place to for long-term storage of audit, analysis, or other data to remove it from the system's working set but keep it available.
BaseNotificationData Every notification has a payload, which follows this basic structure.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
ContentFilesResponse File content listings from images.
ContentFilesResponseContent struct for ContentFilesResponseContent.
ContentJavaPackageResponse Java package content listings from images.
ContentJavaPackageResponseContent struct for ContentJavaPackageResponseContent.
ContentMalwareResponse Malware listing response.
ContentPackageResponse Package content listings from images.
ContentPackageResponseContent struct for ContentPackageResponseContent.
ContentResponse Generic wrapper for content listings from images.
CreateRegistryOpts Optional parameters for the method 'CreateRegistry'.
Cvssv2Scores struct for Cvssv2Scores.
Cvssv3Scores struct for Cvssv3Scores.
DeleteArchivedAnalysisOpts Optional parameters for the method 'DeleteArchivedAnalysis'.
DeleteEventOpts Optional parameters for the method 'DeleteEvent'.
DeleteEventsOpts Optional parameters for the method 'DeleteEvents'.
DeleteImageByImageIdOpts Optional parameters for the method 'DeleteImageByImageId'.
DeleteImageOpts Optional parameters for the method 'DeleteImage'.
DeleteImageResponse Image deletion response containing status and details.
DeleteImagesAsyncOpts Optional parameters for the method 'DeleteImagesAsync'.
DeletePolicyOpts Optional parameters for the method 'DeletePolicy'.
DeleteRegistryOpts Optional parameters for the method 'DeleteRegistry'.
DeleteSubscriptionOpts Optional parameters for the method 'DeleteSubscription'.
EventCategory A collection of event subcategories.
EventDescription A description of an event type.
EventResponse A record of occurance of an asynchronous event triggered either by system or by user activity.
EventResponseEvent struct for EventResponseEvent.
EventResponseEventResource struct for EventResponseEventResource.
EventResponseEventSource struct for EventResponseEventSource.
EventsList Response envelope for paginated listing of events.
EventSubcategory A collection of events related to each other.
FeedGroupMetadata struct for FeedGroupMetadata.
FeedMetadata Metadata on a single feed based on what the engine finds from querying the endpoints.
FeedSyncResult The result of a sync of a single feed.
FileContentSearchResult The retrieved file entry including content (b64 encoded).
GateSpec A description of the set of gates available in this engine and the triggers and parameters supported.
GenericNotificationPayload Parent class for Notification Payloads.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
GetEventOpts Optional parameters for the method 'GetEvent'.
GetImageByImageIdOpts Optional parameters for the method 'GetImageByImageId'.
GetImageContentByTypeFilesOpts Optional parameters for the method 'GetImageContentByTypeFiles'.
GetImageContentByTypeImageIdFilesOpts Optional parameters for the method 'GetImageContentByTypeImageIdFiles'.
GetImageContentByTypeImageIdJavapackageOpts Optional parameters for the method 'GetImageContentByTypeImageIdJavapackage'.
GetImageContentByTypeImageIdOpts Optional parameters for the method 'GetImageContentByTypeImageId'.
GetImageContentByTypeJavapackageOpts Optional parameters for the method 'GetImageContentByTypeJavapackage'.
GetImageContentByTypeMalwareOpts Optional parameters for the method 'GetImageContentByTypeMalware'.
GetImageContentByTypeOpts Optional parameters for the method 'GetImageContentByType'.
GetImageMetadataByTypeOpts Optional parameters for the method 'GetImageMetadataByType'.
GetImageOpts Optional parameters for the method 'GetImage'.
GetImagePolicyCheckByImageIdOpts Optional parameters for the method 'GetImagePolicyCheckByImageId'.
GetImagePolicyCheckOpts Optional parameters for the method 'GetImagePolicyCheck'.
GetImageVulnerabilitiesByTypeImageIdOpts Optional parameters for the method 'GetImageVulnerabilitiesByTypeImageId'.
GetImageVulnerabilitiesByTypeOpts Optional parameters for the method 'GetImageVulnerabilitiesByType'.
GetImageVulnerabilityTypesByImageIdOpts Optional parameters for the method 'GetImageVulnerabilityTypesByImageId'.
GetImageVulnerabilityTypesOpts Optional parameters for the method 'GetImageVulnerabilityTypes'.
GetOauthTokenOpts Optional parameters for the method 'GetOauthToken'.
GetPolicyOpts Optional parameters for the method 'GetPolicy'.
GetRegistryOpts Optional parameters for the method 'GetRegistry'.
GetSubscriptionOpts Optional parameters for the method 'GetSubscription'.
GroupSyncResult struct for GroupSyncResult.
ImageAnalysisRequest A request to add an image to be watched and analyzed by the engine.
ImageDetail A metadata detail record for a specific image.
ImageFilter Filter for an image list by id, tag, or digest, but not both.
ImageImportContentResponse struct for ImageImportContentResponse.
ImageImportManifest struct for ImageImportManifest.
ImageImportOperation An import record, creating a unique identifier for referencing the operation as well as its state.
ImagePackageManifest struct for ImagePackageManifest.
ImageRef A reference to an image.
ImageReference A summary of an image identity, including digest, id (if available), and any tags known to have ever been mapped to the digest.
ImageSelectionRule struct for ImageSelectionRule.
ImageSelector A set of selection criteria to match an image by a tagged pullstring based on its components, with regex support in each field.
ImageSource A set of analysis source types.
ImageWithPackages An image record that contains packages.
ImportContentDigests Digest of content to use in the final import.
ImportDescriptor struct for ImportDescriptor.
ImportDistribution struct for ImportDistribution.
ImportPackage struct for ImportPackage.
ImportPackageLocation struct for ImportPackageLocation.
ImportPackageRelationship struct for ImportPackageRelationship.
ImportSchema struct for ImportSchema.
ImportSource struct for ImportSource.
ListAccountsOpts Optional parameters for the method 'ListAccounts'.
ListAnalysisArchiveRulesOpts Optional parameters for the method 'ListAnalysisArchiveRules'.
ListEventsOpts Optional parameters for the method 'ListEvents'.
ListImageContentByImageidOpts Optional parameters for the method 'ListImageContentByImageid'.
ListImageContentOpts Optional parameters for the method 'ListImageContent'.
ListImageMetadataOpts Optional parameters for the method 'ListImageMetadata'.
ListImagesOpts Optional parameters for the method 'ListImages'.
ListImagetagsOpts Optional parameters for the method 'ListImagetags'.
ListPoliciesOpts Optional parameters for the method 'ListPolicies'.
ListRegistriesOpts Optional parameters for the method 'ListRegistries'.
ListSubscriptionsOpts Optional parameters for the method 'ListSubscriptions'.
LocalAnalysisSource struct for LocalAnalysisSource.
MalwareScan A single scan from a scanner.
MalwareScanFindings struct for MalwareScanFindings.
MappingRule struct for MappingRule.
MetadataResponse Generic wrapper for metadata listings from images.
NextlinuxErrorCode A description of an nextlinux error code (name, description).
NextlinuxImage A unique image in the engine.
NextlinuxImageTagSummary A unique image in the engine.
NotificationBase base object for Notifications (every notification has this basic structure).
NvdDataObject struct for NvdDataObject.
PackageReference A record of a software item which is vulnerable or carries a fix for a vulnerability.
PaginatedImageList Pagination wrapped list of images that match some filter.
PaginatedImageListAllOf struct for PaginatedImageListAllOf.
PaginatedVulnerabilityList A paginated listing of vulnerability records sorted by ID in descending order.
PaginatedVulnerabilityListAllOf struct for PaginatedVulnerabilityListAllOf.
PaginatedVulnerableImageList Pagination wrapped list of images with vulnerabilties that match some filter.
PaginatedVulnerableImageListAllOf struct for PaginatedVulnerableImageListAllOf.
PaginationProperties Properties for common pagination handling to be included in any wrapping object that needs pagination elements.
Policy struct for Policy.
PolicyBundle A bundle containing a set of policies, whitelists, and rules for mapping them to specific images.
PolicyBundleRecord A policy bundle plus some metadata.
PolicyEvalNotification struct for PolicyEvalNotification.
PolicyEvalNotificationAllOf The Notification Object definition for Policy Eval Notifications.
PolicyEvalNotificationData struct for PolicyEvalNotificationData.
PolicyEvalNotificationDataAllOf struct for PolicyEvalNotificationDataAllOf.
PolicyEvalNotificationPayload struct for PolicyEvalNotificationPayload.
PolicyEvalNotificationPayloadAllOf struct for PolicyEvalNotificationPayloadAllOf.
PolicyRule A rule that defines and decision value if the match is found true for a given image.
PolicyRuleParams struct for PolicyRuleParams.
PostSystemFeedsOpts Optional parameters for the method 'PostSystemFeeds'.
QueryImagesByPackageOpts Optional parameters for the method 'QueryImagesByPackage'.
QueryImagesByVulnerabilityOpts Optional parameters for the method 'QueryImagesByVulnerability'.
QueryVulnerabilitiesOpts Optional parameters for the method 'QueryVulnerabilities'.
RegexContentMatch Match of a named regex on a file.
RegistryConfiguration A registry entry describing the endpoint and credentials for a registry to pull images from.
RegistryConfigurationRequest A registry record describing the endpoint and credentials for a registry.
RegistryDigestSource An image reference using a digest in a registry, includes some extra tag and timestamp info in addition to the pull string to allow proper tag history reconstruction.
RegistryTagSource An image reference using a tag in a registry, this is the most common source type.
RetrievedFile The retrieved file entry including content (b64 encoded).
SecretSearchResult The retrieved file entry including content (b64 encoded).
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
Service A service status record.
ServiceVersion Version information for a service.
ServiceVersionApi Api Version string.
ServiceVersionDb struct for ServiceVersionDb.
ServiceVersionService struct for ServiceVersionService.
StandaloneVulnerability A single vulnerability record in a single namespace, the unique key is the combination of the id and namespace.
StatusResponse System status response.
Subscription Subscription entry.
SubscriptionRequest A subscription entry to add to the system.
SubscriptionUpdate A modification to a subscription entry to change its status or value.
SystemStatusResponse System status response.
TagEntry A docker-pullable tag value as well as deconstructed components.
TagUpdateNotification struct for TagUpdateNotification.
TagUpdateNotificationAllOf The Notification Object definition for Tag Update Notifications.
TagUpdateNotificationData struct for TagUpdateNotificationData.
TagUpdateNotificationDataAllOf struct for TagUpdateNotificationDataAllOf.
TagUpdateNotificationPayload struct for TagUpdateNotificationPayload.
TagUpdateNotificationPayloadAllOf struct for TagUpdateNotificationPayloadAllOf.
TestWebhookOpts Optional parameters for the method 'TestWebhook'.
TokenResponse struct for TokenResponse.
TriggerParamSpec struct for TriggerParamSpec.
TriggerSpec Definition of a trigger and its parameters.
UpdatePolicyOpts Optional parameters for the method 'UpdatePolicy'.
UpdateRegistryOpts Optional parameters for the method 'UpdateRegistry'.
UpdateSubscriptionOpts Optional parameters for the method 'UpdateSubscription'.
User A username for authenticating with one or more types of credentials.
UserCreationRequest A payload for creating a new user, includes the username and password in a single request.
VendorDataObject struct for VendorDataObject.
VulnDiffResult The results of the comparing two vulnerability records during an update.
Vulnerability struct for Vulnerability.
VulnerabilityReference An external link/reference.
VulnerabilityResponse envelope containing list of vulnerabilities.
VulnerableImage A record of an image vulnerable to some known vulnerability.
VulnerablePackageReference A record of a software item which is vulnerable or carries a fix for a vulnerability.
VulnUpdateNotification struct for VulnUpdateNotification.
VulnUpdateNotificationAllOf The Notification Object definition for Tag Update Notifications.
VulnUpdateNotificationData struct for VulnUpdateNotificationData.
VulnUpdateNotificationDataAllOf struct for VulnUpdateNotificationDataAllOf.
VulnUpdateNotificationPayload struct for VulnUpdateNotificationPayload.
VulnUpdateNotificationPayloadAllOf struct for VulnUpdateNotificationPayloadAllOf.
Whitelist A collection of whitelist items to match a policy evaluation against.
WhitelistItem Identifies a specific gate and trigger match from a policy against an image and indicates it should be ignored in final policy decisions.

# Type aliases

ArchivesApiService ArchivesApi service.
DefaultApiService DefaultApi service.
EventsApiService EventsApi service.
IdentityApiService IdentityApi service.
ImagesApiService ImagesApi service.
ImportApiService ImportApi service.
ImportsApiService ImportsApi service.
PoliciesApiService PoliciesApi service.
QueryApiService QueryApi service.
RegistriesApiService RegistriesApi service.
RepositoryCredentialsApiService RepositoryCredentialsApi service.
SubscriptionsApiService SubscriptionsApi service.
SummariesApiService SummariesApi service.
SystemApiService SystemApi service.
UserManagementApiService UserManagementApi service.