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
Class | Method | HTTP request | Description |
---|---|---|---|
ArchivesApi | ArchiveImageAnalysis | Post /archives/images | |
ArchivesApi | CreateAnalysisArchiveRule | Post /archives/rules | |
ArchivesApi | DeleteAnalysisArchiveRule | Delete /archives/rules/{ruleId} | |
ArchivesApi | DeleteArchivedAnalysis | Delete /archives/images/{imageDigest} | |
ArchivesApi | GetAnalysisArchiveRule | Get /archives/rules/{ruleId} | |
ArchivesApi | GetArchivedAnalysis | Get /archives/images/{imageDigest} | |
ArchivesApi | ListAnalysisArchive | Get /archives/images | |
ArchivesApi | ListAnalysisArchiveRules | Get /archives/rules | |
ArchivesApi | ListArchives | Get /archives | |
DefaultApi | GetOauthToken | Post /oauth/token | |
DefaultApi | HealthCheck | Get /health | |
DefaultApi | ListFileContentSearchResults | Get /images/{imageDigest}/artifacts/file_content_search | Return a list of analyzer artifacts of the specified type |
DefaultApi | ListRetrievedFiles | Get /images/{imageDigest}/artifacts/retrieved_files | Return a list of analyzer artifacts of the specified type |
DefaultApi | ListSecretSearchResults | Get /images/{imageDigest}/artifacts/secret_search | Return a list of analyzer artifacts of the specified type |
DefaultApi | Ping | Get / | |
DefaultApi | VersionCheck | Get /version | |
EventsApi | DeleteEvent | Delete /events/{eventId} | Delete Event |
EventsApi | DeleteEvents | Delete /events | Delete Events |
EventsApi | GetEvent | Get /events/{eventId} | Get Event |
EventsApi | ListEventTypes | Get /event_types | List Event Types |
EventsApi | ListEvents | Get /events | List Events |
IdentityApi | AddCredential | Post /user/credentials | add/replace credential |
IdentityApi | GetCredentials | Get /user/credentials | Get current credential summary |
IdentityApi | GetUser | Get /user | List authenticated user info |
IdentityApi | GetUsersAccount | Get /account | List the account for the authenticated user |
ImagesApi | AddImage | Post /images | Submit a new image for analysis by the engine |
ImagesApi | DeleteImage | Delete /images/{imageDigest} | Delete an image analysis |
ImagesApi | DeleteImageByImageId | Delete /images/by_id/{imageId} | Delete image by docker imageId |
ImagesApi | DeleteImagesAsync | Delete /images | Bulk mark images for deletion |
ImagesApi | GetImage | Get /images/{imageDigest} | Get image metadata |
ImagesApi | GetImageByImageId | Get /images/by_id/{imageId} | Lookup image by docker imageId |
ImagesApi | GetImageContentByType | Get /images/{imageDigest}/content/{ctype} | Get the content of an image by type |
ImagesApi | GetImageContentByTypeFiles | Get /images/{imageDigest}/content/files | Get the content of an image by type files |
ImagesApi | GetImageContentByTypeImageId | Get /images/by_id/{imageId}/content/{ctype} | Get the content of an image by type |
ImagesApi | GetImageContentByTypeImageIdFiles | Get /images/by_id/{imageId}/content/files | Get the content of an image by type files |
ImagesApi | GetImageContentByTypeImageIdJavapackage | Get /images/by_id/{imageId}/content/java | Get the content of an image by type java |
ImagesApi | GetImageContentByTypeJavapackage | Get /images/{imageDigest}/content/java | Get the content of an image by type java |
ImagesApi | GetImageContentByTypeMalware | Get /images/{imageDigest}/content/malware | Get the content of an image by type malware |
ImagesApi | GetImageMetadataByType | Get /images/{imageDigest}/metadata/{mtype} | Get the metadata of an image by type |
ImagesApi | GetImagePolicyCheck | Get /images/{imageDigest}/check | Check policy evaluation status for image |
ImagesApi | GetImagePolicyCheckByImageId | Get /images/by_id/{imageId}/check | Check policy evaluation status for image |
ImagesApi | GetImageVulnerabilitiesByType | Get /images/{imageDigest}/vuln/{vtype} | Get vulnerabilities by type |
ImagesApi | GetImageVulnerabilitiesByTypeImageId | Get /images/by_id/{imageId}/vuln/{vtype} | Get vulnerabilities by type |
ImagesApi | GetImageVulnerabilityTypes | Get /images/{imageDigest}/vuln | Get vulnerability types |
ImagesApi | GetImageVulnerabilityTypesByImageId | Get /images/by_id/{imageId}/vuln | Get vulnerability types |
ImagesApi | ListImageContent | Get /images/{imageDigest}/content | List image content types |
ImagesApi | ListImageContentByImageid | Get /images/by_id/{imageId}/content | List image content types |
ImagesApi | ListImageMetadata | Get /images/{imageDigest}/metadata | List image metadata types |
ImagesApi | ListImages | Get /images | List all visible images |
ImportApi | ImportImageArchive | Post /import/images | Import an nextlinux image tar.gz archive file. This is a deprecated API replaced by the "/imports/images" route |
ImportsApi | CreateOperation | Post /imports/images | Begin the import of an image analyzed by Syft into the system |
ImportsApi | GetOperation | Get /imports/images/{operation_id} | Get detail on a single import |
ImportsApi | ImportImageConfig | Post /imports/images/{operation_id}/image_config | Import a docker or OCI image config to associate with the image |
ImportsApi | ImportImageDockerfile | Post /imports/images/{operation_id}/dockerfile | Begin the import of an image analyzed by Syft into the system |
ImportsApi | ImportImageManifest | Post /imports/images/{operation_id}/manifest | Import a docker or OCI distribution manifest to associate with the image |
ImportsApi | ImportImagePackages | Post /imports/images/{operation_id}/packages | Begin the import of an image analyzed by Syft into the system |
ImportsApi | ImportImageParentManifest | Post /imports/images/{operation_id}/parent_manifest | Import a docker or OCI distribution manifest list to associate with the image |
ImportsApi | InvalidateOperation | Delete /imports/images/{operation_id} | Invalidate operation ID so it can be garbage collected |
ImportsApi | ListImportDockerfiles | Get /imports/images/{operation_id}/dockerfile | List uploaded dockerfiles |
ImportsApi | ListImportImageConfigs | Get /imports/images/{operation_id}/image_config | List uploaded image configs |
ImportsApi | ListImportImageManifests | Get /imports/images/{operation_id}/manifest | List uploaded image manifests |
ImportsApi | ListImportPackages | Get /imports/images/{operation_id}/packages | List uploaded package manifests |
ImportsApi | ListImportParentManifests | Get /imports/images/{operation_id}/parent_manifest | List uploaded parent manifests (manifest lists for a tag) |
ImportsApi | ListOperations | Get /imports/images | Lists in-progress imports |
PoliciesApi | AddPolicy | Post /policies | Add a new policy |
PoliciesApi | DeletePolicy | Delete /policies/{policyId} | Delete policy |
PoliciesApi | GetPolicy | Get /policies/{policyId} | Get specific policy |
PoliciesApi | ListPolicies | Get /policies | List policies |
PoliciesApi | UpdatePolicy | Put /policies/{policyId} | Update policy |
QueryApi | QueryImagesByPackage | Get /query/images/by_package | List of images containing given package |
QueryApi | QueryImagesByVulnerability | Get /query/images/by_vulnerability | List images vulnerable to the specific vulnerability ID. |
QueryApi | QueryVulnerabilities | Get /query/vulnerabilities | Listing information about given vulnerability |
RegistriesApi | CreateRegistry | Post /registries | Add a new registry |
RegistriesApi | DeleteRegistry | Delete /registries/{registry} | Delete a registry configuration |
RegistriesApi | GetRegistry | Get /registries/{registry} | Get a specific registry configuration |
RegistriesApi | ListRegistries | Get /registries | List configured registries |
RegistriesApi | UpdateRegistry | Put /registries/{registry} | Update/replace a registry configuration |
RepositoryCredentialsApi | AddRepository | Post /repositories | Add repository to watch |
SubscriptionsApi | AddSubscription | Post /subscriptions | Add a subscription of a specific type |
SubscriptionsApi | DeleteSubscription | Delete /subscriptions/{subscriptionId} | Delete subscriptions of a specific type |
SubscriptionsApi | GetSubscription | Get /subscriptions/{subscriptionId} | Get a specific subscription set |
SubscriptionsApi | ListSubscriptions | Get /subscriptions | List all subscriptions |
SubscriptionsApi | UpdateSubscription | Put /subscriptions/{subscriptionId} | Update an existing and specific subscription |
SummariesApi | ListImagetags | Get /summaries/imagetags | List all visible image digests and tags |
SystemApi | DeleteFeed | Delete /system/feeds/{feed} | |
SystemApi | DeleteFeedGroup | Delete /system/feeds/{feed}/{group} | |
SystemApi | DeleteService | Delete /system/services/{servicename}/{hostid} | Delete the service config |
SystemApi | DescribeErrorCodes | Get /system/error_codes | Describe nextlinux engine error codes. |
SystemApi | DescribePolicy | Get /system/policy_spec | Describe the policy language spec implemented by this service. |
SystemApi | GetServiceDetail | Get /system | System status |
SystemApi | GetServicesByName | Get /system/services/{servicename} | Get a service configuration and state |
SystemApi | GetServicesByNameAndHost | Get /system/services/{servicename}/{hostid} | Get service config for a specific host |
SystemApi | GetStatus | Get /status | Service status |
SystemApi | GetSystemFeeds | Get /system/feeds | list feeds operations and information |
SystemApi | ListServices | Get /system/services | List system services |
SystemApi | PostSystemFeeds | Post /system/feeds | trigger feeds operations |
SystemApi | TestWebhook | Post /system/webhooks/{webhook_type}/test | Adds the capabilities to test a webhook delivery for the given notification type |
SystemApi | ToggleFeedEnabled | Put /system/feeds/{feed} | |
SystemApi | ToggleGroupEnabled | Put /system/feeds/{feed}/{group} | |
UserManagementApi | CreateAccount | Post /accounts | Create a new user. Only avaialble to admin user. |
UserManagementApi | CreateUser | Post /accounts/{accountname}/users | Create a new user |
UserManagementApi | CreateUserCredential | Post /accounts/{accountname}/users/{username}/credentials | add/replace credential |
UserManagementApi | DeleteAccount | Delete /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 |
UserManagementApi | DeleteUser | Delete /accounts/{accountname}/users/{username} | Delete a specific user credential by username of the credential. Cannot be the credential used to authenticate the request. |
UserManagementApi | DeleteUserCredential | Delete /accounts/{accountname}/users/{username}/credentials | Delete a credential by type |
UserManagementApi | GetAccount | Get /accounts/{accountname} | Get info about an user. Only available to admin user. Uses the main user Id, not a username. |
UserManagementApi | GetAccountUser | Get /accounts/{accountname}/users/{username} | Get a specific user in the specified account |
UserManagementApi | ListAccounts | Get /accounts | List user summaries. Only available to the system admin user. |
UserManagementApi | ListUserCredentials | Get /accounts/{accountname}/users/{username}/credentials | Get current credential summary |
UserManagementApi | ListUsers | Get /accounts/{accountname}/users | List accounts for the user |
UserManagementApi | UpdateAccountState | Put /accounts/{accountname}/state | Update the state of an account to either enabled or disabled. For deletion use the DELETE route |
Documentation For Models
- AccessCredential
- Account
- AccountCreationRequest
- AccountStatus
- AnalysisArchiveAddResult
- AnalysisArchiveRulesSummary
- AnalysisArchiveSource
- AnalysisArchiveSummary
- AnalysisArchiveTransitionHistory
- AnalysisArchiveTransitionRule
- AnalysisArchiveTransitionRuleExclude
- AnalysisUpdateEval
- AnalysisUpdateNotification
- AnalysisUpdateNotificationAllOf
- AnalysisUpdateNotificationData
- AnalysisUpdateNotificationDataAllOf
- AnalysisUpdateNotificationPayload
- AnalysisUpdateNotificationPayloadAllOf
- NextlinuxErrorCode
- NextlinuxImage
- NextlinuxImageTagSummary
- ApiErrorResponse
- ArchiveSummary
- ArchivedAnalysis
- BaseNotificationData
- ContentFilesResponse
- ContentFilesResponseContent
- ContentJavaPackageResponse
- ContentJavaPackageResponseContent
- ContentMalwareResponse
- ContentPackageResponse
- ContentPackageResponseContent
- ContentResponse
- Cvssv2Scores
- Cvssv3Scores
- DeleteImageResponse
- EventCategory
- EventDescription
- EventResponse
- EventResponseEvent
- EventResponseEventResource
- EventResponseEventSource
- EventSubcategory
- EventsList
- FeedGroupMetadata
- FeedMetadata
- FeedSyncResult
- FileContentSearchResult
- GateSpec
- GenericNotificationPayload
- GroupSyncResult
- ImageAnalysisRequest
- ImageDetail
- ImageFilter
- ImageImportContentResponse
- ImageImportManifest
- ImageImportOperation
- ImagePackageManifest
- ImageRef
- ImageReference
- ImageSelectionRule
- ImageSelector
- ImageSource
- ImageWithPackages
- ImportContentDigests
- ImportDescriptor
- ImportDistribution
- ImportPackage
- ImportPackageLocation
- ImportPackageRelationship
- ImportSchema
- ImportSource
- LocalAnalysisSource
- MalwareScan
- MalwareScanFindings
- MappingRule
- MetadataResponse
- NotificationBase
- NvdDataObject
- PackageReference
- PaginatedImageList
- PaginatedImageListAllOf
- PaginatedVulnerabilityList
- PaginatedVulnerabilityListAllOf
- PaginatedVulnerableImageList
- PaginatedVulnerableImageListAllOf
- PaginationProperties
- Policy
- PolicyBundle
- PolicyBundleRecord
- PolicyEvalNotification
- PolicyEvalNotificationAllOf
- PolicyEvalNotificationData
- PolicyEvalNotificationDataAllOf
- PolicyEvalNotificationPayload
- PolicyEvalNotificationPayloadAllOf
- PolicyRule
- PolicyRuleParams
- RegexContentMatch
- RegistryConfiguration
- RegistryConfigurationRequest
- RegistryDigestSource
- RegistryTagSource
- RetrievedFile
- SecretSearchResult
- Service
- ServiceVersion
- ServiceVersionApi
- ServiceVersionDb
- ServiceVersionService
- StandaloneVulnerability
- StatusResponse
- Subscription
- SubscriptionRequest
- SubscriptionUpdate
- SystemStatusResponse
- TagEntry
- TagUpdateNotification
- TagUpdateNotificationAllOf
- TagUpdateNotificationData
- TagUpdateNotificationDataAllOf
- TagUpdateNotificationPayload
- TagUpdateNotificationPayloadAllOf
- TokenResponse
- TriggerParamSpec
- TriggerSpec
- User
- UserCreationRequest
- VendorDataObject
- VulnDiffResult
- VulnUpdateNotification
- VulnUpdateNotificationAllOf
- VulnUpdateNotificationData
- VulnUpdateNotificationDataAllOf
- VulnUpdateNotificationPayload
- VulnUpdateNotificationPayloadAllOf
- Vulnerability
- VulnerabilityReference
- VulnerabilityResponse
- VulnerableImage
- VulnerablePackageReference
- Whitelist
- WhitelistItem
Documentation For Authorization
Endpoints do not require authorization.
Author
# 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.