Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- containeranalysis.projects.notes.batchCreate
- containeranalysis.projects.notes.create
- containeranalysis.projects.notes.delete
- containeranalysis.projects.notes.get
- containeranalysis.projects.notes.getIamPolicy
- containeranalysis.projects.notes.list
- containeranalysis.projects.notes.occurrences.list
- containeranalysis.projects.notes.patch
- containeranalysis.projects.notes.setIamPolicy
- containeranalysis.projects.notes.testIamPermissions
- containeranalysis.projects.occurrences.batchCreate
- containeranalysis.projects.occurrences.create
- containeranalysis.projects.occurrences.delete
- containeranalysis.projects.occurrences.get
- containeranalysis.projects.occurrences.getIamPolicy
- containeranalysis.projects.occurrences.getNotes
- containeranalysis.projects.occurrences.getVulnerabilitySummary
- containeranalysis.projects.occurrences.list
- containeranalysis.projects.occurrences.patch
- containeranalysis.projects.occurrences.setIamPolicy
- containeranalysis.projects.occurrences.testIamPermissions
- containeranalysis.projects.scanConfigs.get
- containeranalysis.projects.scanConfigs.list
- containeranalysis.projects.scanConfigs.update
- Types
- LayerDirective
- DiscoveredAnalysisStatus
- Installation
- Vulnerability
- GrafeasV1beta1VulnerabilityDetailsSeverity
- Status
- VulnerabilityOccurrencesSummary
- OccurrenceKind
- BuildProvenance
- AuditConfig
- Occurrence
- GrafeasV1beta1VulnerabilityDetails
- VulnerabilitySeverity
- SourceFileHashes
- Expr
- Command
- GetIAMPolicyRequest
- Discovery
- Hash
- Basis
- BatchCreateNotesRequest
- SourceContext
- Distribution
- BatchCreateOccurrencesRequest
- ListOccurrencesResponse
- Location
- Empty
- GerritSourceContext
- RepoId
- DiscoveredContinuousAnalysis
- ListNoteOccurrencesResponse
- NoteKind
- Note
- BatchCreateNotesResponse
- ProjectRepoId
- Fingerprint
- Hint
- PackageIssue
- StatusDetailsItem
- Build
- Attestation
- DeploymentPlatform
- Artifact
- SetIAMPolicyRequest
- BuildProvenanceBuildOptions
- Deployable
- GrafeasV1beta1DiscoveryDetails
- VulnerabilityLocation
- FixableTotalByDigest
- RelatedURL
- GrafeasV1beta1ImageDetails
- BatchCreateOccurrencesResponse
- SourceContextLabels
- DistributionArchitecture
- ListScanConfigsResponse
- FixableTotalByDigestSeverity
- AuditLogConfigLogType
- Version
- FileHashes
- Resource
- GrafeasV1beta1DeploymentDetails
- GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
- PgpSignedAttestationContentType
- Xgafv
- Details
- Package
- ListNotesResponse
- BuildSignature
- TestIAMPermissionsRequest
- VersionKind
- HashType
- Discovered
- BuildSignatureKeyType
- Derived
- GrafeasV1beta1BuildDetails
- Source
- ScanConfig
- GitSourceContext
- TestIAMPermissionsResponse
- Policy
- DiscoveryAnalysisKind
- Layer
- CloudRepoSourceContext
- AuditLogConfig
- PgpSignedAttestation
- BatchCreateNotesRequestNotes
- AliasContext
- AliasContextKind
- Binding
- Detail
- Authority
- GrafeasV1beta1PackageDetails
- Deployment
An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.
Synopsis
- containerAnalysisService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type ContainerAnalysisAPI = ProjectsOccurrencesListResource :<|> (ProjectsOccurrencesGetNotesResource :<|> (ProjectsOccurrencesGetIAMPolicyResource :<|> (ProjectsOccurrencesPatchResource :<|> (ProjectsOccurrencesGetResource :<|> (ProjectsOccurrencesGetVulnerabilitySummaryResource :<|> (ProjectsOccurrencesCreateResource :<|> (ProjectsOccurrencesSetIAMPolicyResource :<|> (ProjectsOccurrencesBatchCreateResource :<|> (ProjectsOccurrencesTestIAMPermissionsResource :<|> (ProjectsOccurrencesDeleteResource :<|> (ProjectsScanConfigsListResource :<|> (ProjectsScanConfigsGetResource :<|> (ProjectsScanConfigsUpdateResource :<|> (ProjectsNotesOccurrencesListResource :<|> (ProjectsNotesListResource :<|> (ProjectsNotesGetIAMPolicyResource :<|> (ProjectsNotesPatchResource :<|> (ProjectsNotesGetResource :<|> (ProjectsNotesCreateResource :<|> (ProjectsNotesSetIAMPolicyResource :<|> (ProjectsNotesBatchCreateResource :<|> (ProjectsNotesTestIAMPermissionsResource :<|> ProjectsNotesDeleteResource))))))))))))))))))))))
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.BatchCreate
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Create
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Delete
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Get
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.GetIAMPolicy
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.List
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Occurrences.List
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.Patch
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.SetIAMPolicy
- module Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.BatchCreate
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Create
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Delete
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Get
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetVulnerabilitySummary
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.List
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.Patch
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.SetIAMPolicy
- module Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions
- module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Get
- module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.List
- module Network.Google.Resource.ContainerAnalysis.Projects.ScanConfigs.Update
- data LayerDirective
- = DirectiveUnspecified
- | Maintainer
- | Run
- | Cmd
- | Label
- | Expose
- | Env
- | Add
- | Copy
- | Entrypoint
- | Volume
- | User
- | Workdir
- | Arg
- | Onbuild
- | Stopsignal
- | Healthcheck
- | Shell
- data DiscoveredAnalysisStatus
- data Installation
- installation :: Installation
- iLocation :: Lens' Installation [Location]
- iName :: Lens' Installation (Maybe Text)
- data Vulnerability
- vulnerability :: Vulnerability
- vCvssScore :: Lens' Vulnerability (Maybe Double)
- vSeverity :: Lens' Vulnerability (Maybe VulnerabilitySeverity)
- vDetails :: Lens' Vulnerability [Detail]
- data GrafeasV1beta1VulnerabilityDetailsSeverity
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data VulnerabilityOccurrencesSummary
- vulnerabilityOccurrencesSummary :: VulnerabilityOccurrencesSummary
- vosCounts :: Lens' VulnerabilityOccurrencesSummary [FixableTotalByDigest]
- data OccurrenceKind
- data BuildProvenance
- buildProvenance :: BuildProvenance
- bpCreator :: Lens' BuildProvenance (Maybe Text)
- bpSourceProvenance :: Lens' BuildProvenance (Maybe Source)
- bpCommands :: Lens' BuildProvenance [Command]
- bpTriggerId :: Lens' BuildProvenance (Maybe Text)
- bpStartTime :: Lens' BuildProvenance (Maybe UTCTime)
- bpBuilderVersion :: Lens' BuildProvenance (Maybe Text)
- bpEndTime :: Lens' BuildProvenance (Maybe UTCTime)
- bpId :: Lens' BuildProvenance (Maybe Text)
- bpProjectId :: Lens' BuildProvenance (Maybe Text)
- bpBuiltArtifacts :: Lens' BuildProvenance [Artifact]
- bpBuildOptions :: Lens' BuildProvenance (Maybe BuildProvenanceBuildOptions)
- bpCreateTime :: Lens' BuildProvenance (Maybe UTCTime)
- bpLogsURI :: Lens' BuildProvenance (Maybe Text)
- data AuditConfig
- auditConfig :: AuditConfig
- acService :: Lens' AuditConfig (Maybe Text)
- acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig]
- data Occurrence
- occurrence :: Occurrence
- oInstallation :: Lens' Occurrence (Maybe GrafeasV1beta1PackageDetails)
- oVulnerability :: Lens' Occurrence (Maybe GrafeasV1beta1VulnerabilityDetails)
- oDerivedImage :: Lens' Occurrence (Maybe GrafeasV1beta1ImageDetails)
- oKind :: Lens' Occurrence (Maybe OccurrenceKind)
- oBuild :: Lens' Occurrence (Maybe GrafeasV1beta1BuildDetails)
- oAttestation :: Lens' Occurrence (Maybe Details)
- oUpdateTime :: Lens' Occurrence (Maybe UTCTime)
- oName :: Lens' Occurrence (Maybe Text)
- oNoteName :: Lens' Occurrence (Maybe Text)
- oRemediation :: Lens' Occurrence (Maybe Text)
- oResource :: Lens' Occurrence (Maybe Resource)
- oDiscovered :: Lens' Occurrence (Maybe GrafeasV1beta1DiscoveryDetails)
- oCreateTime :: Lens' Occurrence (Maybe UTCTime)
- oDeployment :: Lens' Occurrence (Maybe GrafeasV1beta1DeploymentDetails)
- data GrafeasV1beta1VulnerabilityDetails
- grafeasV1beta1VulnerabilityDetails :: GrafeasV1beta1VulnerabilityDetails
- gvvdLongDescription :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text)
- gvvdRelatedURLs :: Lens' GrafeasV1beta1VulnerabilityDetails [RelatedURL]
- gvvdCvssScore :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Double)
- gvvdPackageIssue :: Lens' GrafeasV1beta1VulnerabilityDetails [PackageIssue]
- gvvdSeverity :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe GrafeasV1beta1VulnerabilityDetailsSeverity)
- gvvdShortDescription :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text)
- gvvdType :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text)
- data VulnerabilitySeverity
- data SourceFileHashes
- sourceFileHashes :: HashMap Text FileHashes -> SourceFileHashes
- sfhAddtional :: Lens' SourceFileHashes (HashMap Text FileHashes)
- data Expr
- expr :: Expr
- eLocation :: Lens' Expr (Maybe Text)
- eExpression :: Lens' Expr (Maybe Text)
- eTitle :: Lens' Expr (Maybe Text)
- eDescription :: Lens' Expr (Maybe Text)
- data Command
- command :: Command
- cDir :: Lens' Command (Maybe Text)
- cArgs :: Lens' Command [Text]
- cEnv :: Lens' Command [Text]
- cWaitFor :: Lens' Command [Text]
- cName :: Lens' Command (Maybe Text)
- cId :: Lens' Command (Maybe Text)
- data GetIAMPolicyRequest
- getIAMPolicyRequest :: GetIAMPolicyRequest
- data Discovery
- discovery :: Discovery
- dAnalysisKind :: Lens' Discovery (Maybe DiscoveryAnalysisKind)
- data Hash
- hash :: Hash
- hValue :: Lens' Hash (Maybe ByteString)
- hType :: Lens' Hash (Maybe HashType)
- data Basis
- basis :: Basis
- bFingerprint :: Lens' Basis (Maybe Fingerprint)
- bResourceURL :: Lens' Basis (Maybe Text)
- data BatchCreateNotesRequest
- batchCreateNotesRequest :: BatchCreateNotesRequest
- bcnrNotes :: Lens' BatchCreateNotesRequest (Maybe BatchCreateNotesRequestNotes)
- data SourceContext
- sourceContext :: SourceContext
- scCloudRepo :: Lens' SourceContext (Maybe CloudRepoSourceContext)
- scGerrit :: Lens' SourceContext (Maybe GerritSourceContext)
- scGit :: Lens' SourceContext (Maybe GitSourceContext)
- scLabels :: Lens' SourceContext (Maybe SourceContextLabels)
- data Distribution
- distribution :: Distribution
- dURL :: Lens' Distribution (Maybe Text)
- dMaintainer :: Lens' Distribution (Maybe Text)
- dArchitecture :: Lens' Distribution (Maybe DistributionArchitecture)
- dCpeURI :: Lens' Distribution (Maybe Text)
- dDescription :: Lens' Distribution (Maybe Text)
- dLatestVersion :: Lens' Distribution (Maybe Version)
- data BatchCreateOccurrencesRequest
- batchCreateOccurrencesRequest :: BatchCreateOccurrencesRequest
- bcorOccurrences :: Lens' BatchCreateOccurrencesRequest [Occurrence]
- data ListOccurrencesResponse
- listOccurrencesResponse :: ListOccurrencesResponse
- lorOccurrences :: Lens' ListOccurrencesResponse [Occurrence]
- lorNextPageToken :: Lens' ListOccurrencesResponse (Maybe Text)
- data Location
- location :: Location
- lPath :: Lens' Location (Maybe Text)
- lVersion :: Lens' Location (Maybe Version)
- lCpeURI :: Lens' Location (Maybe Text)
- data Empty
- empty :: Empty
- data GerritSourceContext
- gerritSourceContext :: GerritSourceContext
- gscGerritProject :: Lens' GerritSourceContext (Maybe Text)
- gscRevisionId :: Lens' GerritSourceContext (Maybe Text)
- gscHostURI :: Lens' GerritSourceContext (Maybe Text)
- gscAliasContext :: Lens' GerritSourceContext (Maybe AliasContext)
- data RepoId
- repoId :: RepoId
- riUid :: Lens' RepoId (Maybe Text)
- riProjectRepoId :: Lens' RepoId (Maybe ProjectRepoId)
- data DiscoveredContinuousAnalysis
- data ListNoteOccurrencesResponse
- listNoteOccurrencesResponse :: ListNoteOccurrencesResponse
- lnorOccurrences :: Lens' ListNoteOccurrencesResponse [Occurrence]
- lnorNextPageToken :: Lens' ListNoteOccurrencesResponse (Maybe Text)
- data NoteKind
- data Note
- note :: Note
- nVulnerability :: Lens' Note (Maybe Vulnerability)
- nLongDescription :: Lens' Note (Maybe Text)
- nAttestationAuthority :: Lens' Note (Maybe Authority)
- nDiscovery :: Lens' Note (Maybe Discovery)
- nKind :: Lens' Note (Maybe NoteKind)
- nRelatedNoteNames :: Lens' Note [Text]
- nBuild :: Lens' Note (Maybe Build)
- nDeployable :: Lens' Note (Maybe Deployable)
- nRelatedURL :: Lens' Note [RelatedURL]
- nUpdateTime :: Lens' Note (Maybe UTCTime)
- nShortDescription :: Lens' Note (Maybe Text)
- nName :: Lens' Note (Maybe Text)
- nBaseImage :: Lens' Note (Maybe Basis)
- nPackage :: Lens' Note (Maybe Package)
- nExpirationTime :: Lens' Note (Maybe UTCTime)
- nCreateTime :: Lens' Note (Maybe UTCTime)
- data BatchCreateNotesResponse
- batchCreateNotesResponse :: BatchCreateNotesResponse
- bNotes :: Lens' BatchCreateNotesResponse [Note]
- data ProjectRepoId
- projectRepoId :: ProjectRepoId
- priRepoName :: Lens' ProjectRepoId (Maybe Text)
- priProjectId :: Lens' ProjectRepoId (Maybe Text)
- data Fingerprint
- fingerprint :: Fingerprint
- fV2Name :: Lens' Fingerprint (Maybe Text)
- fV2Blob :: Lens' Fingerprint [Text]
- fV1Name :: Lens' Fingerprint (Maybe Text)
- data Hint
- hint :: Hint
- hHumanReadableName :: Lens' Hint (Maybe Text)
- data PackageIssue
- packageIssue :: PackageIssue
- piAffectedLocation :: Lens' PackageIssue (Maybe VulnerabilityLocation)
- piFixedLocation :: Lens' PackageIssue (Maybe VulnerabilityLocation)
- piSeverityName :: Lens' PackageIssue (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data Build
- build :: Build
- bSignature :: Lens' Build (Maybe BuildSignature)
- bBuilderVersion :: Lens' Build (Maybe Text)
- data Attestation
- attestation :: Attestation
- aPgpSignedAttestation :: Lens' Attestation (Maybe PgpSignedAttestation)
- data DeploymentPlatform
- = PlatformUnspecified
- | Gke
- | Flex
- | Custom
- data Artifact
- artifact :: Artifact
- aChecksum :: Lens' Artifact (Maybe Text)
- aNames :: Lens' Artifact [Text]
- aId :: Lens' Artifact (Maybe Text)
- data SetIAMPolicyRequest
- setIAMPolicyRequest :: SetIAMPolicyRequest
- siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask)
- siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)
- data BuildProvenanceBuildOptions
- buildProvenanceBuildOptions :: HashMap Text Text -> BuildProvenanceBuildOptions
- bpboAddtional :: Lens' BuildProvenanceBuildOptions (HashMap Text Text)
- data Deployable
- deployable :: Deployable
- dResourceURI :: Lens' Deployable [Text]
- data GrafeasV1beta1DiscoveryDetails
- grafeasV1beta1DiscoveryDetails :: GrafeasV1beta1DiscoveryDetails
- gvddDiscovered :: Lens' GrafeasV1beta1DiscoveryDetails (Maybe Discovered)
- data VulnerabilityLocation
- vulnerabilityLocation :: VulnerabilityLocation
- vlVersion :: Lens' VulnerabilityLocation (Maybe Version)
- vlPackage :: Lens' VulnerabilityLocation (Maybe Text)
- vlCpeURI :: Lens' VulnerabilityLocation (Maybe Text)
- data FixableTotalByDigest
- fixableTotalByDigest :: FixableTotalByDigest
- ftbdSeverity :: Lens' FixableTotalByDigest (Maybe FixableTotalByDigestSeverity)
- ftbdFixableCount :: Lens' FixableTotalByDigest (Maybe Int64)
- ftbdResource :: Lens' FixableTotalByDigest (Maybe Resource)
- ftbdTotalCount :: Lens' FixableTotalByDigest (Maybe Int64)
- data RelatedURL
- relatedURL :: RelatedURL
- ruURL :: Lens' RelatedURL (Maybe Text)
- ruLabel :: Lens' RelatedURL (Maybe Text)
- data GrafeasV1beta1ImageDetails
- grafeasV1beta1ImageDetails :: GrafeasV1beta1ImageDetails
- gvidDerivedImage :: Lens' GrafeasV1beta1ImageDetails (Maybe Derived)
- data BatchCreateOccurrencesResponse
- batchCreateOccurrencesResponse :: BatchCreateOccurrencesResponse
- bOccurrences :: Lens' BatchCreateOccurrencesResponse [Occurrence]
- data SourceContextLabels
- sourceContextLabels :: HashMap Text Text -> SourceContextLabels
- sclAddtional :: Lens' SourceContextLabels (HashMap Text Text)
- data DistributionArchitecture
- data ListScanConfigsResponse
- listScanConfigsResponse :: ListScanConfigsResponse
- lscrNextPageToken :: Lens' ListScanConfigsResponse (Maybe Text)
- lscrScanConfigs :: Lens' ListScanConfigsResponse [ScanConfig]
- data FixableTotalByDigestSeverity
- data AuditLogConfigLogType
- data Version
- version :: Version
- vKind :: Lens' Version (Maybe VersionKind)
- vName :: Lens' Version (Maybe Text)
- vRevision :: Lens' Version (Maybe Text)
- vEpoch :: Lens' Version (Maybe Int32)
- data FileHashes
- fileHashes :: FileHashes
- fhFileHash :: Lens' FileHashes [Hash]
- data Resource
- resource :: Resource
- rContentHash :: Lens' Resource (Maybe Hash)
- rURI :: Lens' Resource (Maybe Text)
- rName :: Lens' Resource (Maybe Text)
- data GrafeasV1beta1DeploymentDetails
- grafeasV1beta1DeploymentDetails :: GrafeasV1beta1DeploymentDetails
- gvddDeployment :: Lens' GrafeasV1beta1DeploymentDetails (Maybe Deployment)
- data GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
- googleDevtoolsContaineranalysisV1alpha1OperationMetadata :: GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
- gdcvomEndTime :: Lens' GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (Maybe UTCTime)
- gdcvomCreateTime :: Lens' GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (Maybe UTCTime)
- data PgpSignedAttestationContentType
- data Xgafv
- data Details
- details :: Details
- dAttestation :: Lens' Details (Maybe Attestation)
- data Package
- package :: Package
- pDistribution :: Lens' Package [Distribution]
- pName :: Lens' Package (Maybe Text)
- data ListNotesResponse
- listNotesResponse :: ListNotesResponse
- lnrNextPageToken :: Lens' ListNotesResponse (Maybe Text)
- lnrNotes :: Lens' ListNotesResponse [Note]
- data BuildSignature
- buildSignature :: BuildSignature
- bsSignature :: Lens' BuildSignature (Maybe ByteString)
- bsKeyType :: Lens' BuildSignature (Maybe BuildSignatureKeyType)
- bsKeyId :: Lens' BuildSignature (Maybe Text)
- bsPublicKey :: Lens' BuildSignature (Maybe Text)
- data TestIAMPermissionsRequest
- testIAMPermissionsRequest :: TestIAMPermissionsRequest
- tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
- data VersionKind
- data HashType
- data Discovered
- discovered :: Discovered
- dLastAnalysisTime :: Lens' Discovered (Maybe UTCTime)
- dAnalysisStatusError :: Lens' Discovered (Maybe Status)
- dAnalysisStatus :: Lens' Discovered (Maybe DiscoveredAnalysisStatus)
- dContinuousAnalysis :: Lens' Discovered (Maybe DiscoveredContinuousAnalysis)
- data BuildSignatureKeyType
- data Derived
- derived :: Derived
- dBaseResourceURL :: Lens' Derived (Maybe Text)
- dFingerprint :: Lens' Derived (Maybe Fingerprint)
- dDistance :: Lens' Derived (Maybe Int32)
- dLayerInfo :: Lens' Derived [Layer]
- data GrafeasV1beta1BuildDetails
- grafeasV1beta1BuildDetails :: GrafeasV1beta1BuildDetails
- gvbdProvenanceBytes :: Lens' GrafeasV1beta1BuildDetails (Maybe Text)
- gvbdProvenance :: Lens' GrafeasV1beta1BuildDetails (Maybe BuildProvenance)
- data Source
- source :: Source
- sContext :: Lens' Source (Maybe SourceContext)
- sAdditionalContexts :: Lens' Source [SourceContext]
- sArtifactStorageSourceURI :: Lens' Source (Maybe Text)
- sFileHashes :: Lens' Source (Maybe SourceFileHashes)
- data ScanConfig
- scanConfig :: ScanConfig
- scEnabled :: Lens' ScanConfig (Maybe Bool)
- scUpdateTime :: Lens' ScanConfig (Maybe UTCTime)
- scName :: Lens' ScanConfig (Maybe Text)
- scDescription :: Lens' ScanConfig (Maybe Text)
- scCreateTime :: Lens' ScanConfig (Maybe UTCTime)
- data GitSourceContext
- gitSourceContext :: GitSourceContext
- gURL :: Lens' GitSourceContext (Maybe Text)
- gRevisionId :: Lens' GitSourceContext (Maybe Text)
- data TestIAMPermissionsResponse
- testIAMPermissionsResponse :: TestIAMPermissionsResponse
- tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]
- data Policy
- policy :: Policy
- pAuditConfigs :: Lens' Policy [AuditConfig]
- pEtag :: Lens' Policy (Maybe ByteString)
- pVersion :: Lens' Policy (Maybe Int32)
- pBindings :: Lens' Policy [Binding]
- data DiscoveryAnalysisKind
- data Layer
- layer :: Layer
- lDirective :: Lens' Layer (Maybe LayerDirective)
- lArguments :: Lens' Layer (Maybe Text)
- data CloudRepoSourceContext
- cloudRepoSourceContext :: CloudRepoSourceContext
- crscRepoId :: Lens' CloudRepoSourceContext (Maybe RepoId)
- crscRevisionId :: Lens' CloudRepoSourceContext (Maybe Text)
- crscAliasContext :: Lens' CloudRepoSourceContext (Maybe AliasContext)
- data AuditLogConfig
- auditLogConfig :: AuditLogConfig
- alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType)
- alcExemptedMembers :: Lens' AuditLogConfig [Text]
- data PgpSignedAttestation
- pgpSignedAttestation :: PgpSignedAttestation
- psaSignature :: Lens' PgpSignedAttestation (Maybe Text)
- psaPgpKeyId :: Lens' PgpSignedAttestation (Maybe Text)
- psaContentType :: Lens' PgpSignedAttestation (Maybe PgpSignedAttestationContentType)
- data BatchCreateNotesRequestNotes
- batchCreateNotesRequestNotes :: HashMap Text Note -> BatchCreateNotesRequestNotes
- bcnrnAddtional :: Lens' BatchCreateNotesRequestNotes (HashMap Text Note)
- data AliasContext
- aliasContext :: AliasContext
- acKind :: Lens' AliasContext (Maybe AliasContextKind)
- acName :: Lens' AliasContext (Maybe Text)
- data AliasContextKind
- = KindUnspecified
- | Fixed
- | Movable
- | Other
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
- data Detail
- detail :: Detail
- detMinAffectedVersion :: Lens' Detail (Maybe Version)
- detPackageType :: Lens' Detail (Maybe Text)
- detIsObsolete :: Lens' Detail (Maybe Bool)
- detFixedLocation :: Lens' Detail (Maybe VulnerabilityLocation)
- detSeverityName :: Lens' Detail (Maybe Text)
- detMaxAffectedVersion :: Lens' Detail (Maybe Version)
- detPackage :: Lens' Detail (Maybe Text)
- detCpeURI :: Lens' Detail (Maybe Text)
- detDescription :: Lens' Detail (Maybe Text)
- data Authority
- authority :: Authority
- aHint :: Lens' Authority (Maybe Hint)
- data GrafeasV1beta1PackageDetails
- grafeasV1beta1PackageDetails :: GrafeasV1beta1PackageDetails
- gvpdInstallation :: Lens' GrafeasV1beta1PackageDetails (Maybe Installation)
- data Deployment
- deployment :: Deployment
- depResourceURI :: Lens' Deployment [Text]
- depPlatform :: Lens' Deployment (Maybe DeploymentPlatform)
- depConfig :: Lens' Deployment (Maybe Text)
- depUndeployTime :: Lens' Deployment (Maybe UTCTime)
- depDeployTime :: Lens' Deployment (Maybe UTCTime)
- depAddress :: Lens' Deployment (Maybe Text)
- depUserEmail :: Lens' Deployment (Maybe Text)
Service Configuration
containerAnalysisService :: ServiceConfig Source #
Default request referring to version v1beta1
of the Container Analysis API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type ContainerAnalysisAPI = ProjectsOccurrencesListResource :<|> (ProjectsOccurrencesGetNotesResource :<|> (ProjectsOccurrencesGetIAMPolicyResource :<|> (ProjectsOccurrencesPatchResource :<|> (ProjectsOccurrencesGetResource :<|> (ProjectsOccurrencesGetVulnerabilitySummaryResource :<|> (ProjectsOccurrencesCreateResource :<|> (ProjectsOccurrencesSetIAMPolicyResource :<|> (ProjectsOccurrencesBatchCreateResource :<|> (ProjectsOccurrencesTestIAMPermissionsResource :<|> (ProjectsOccurrencesDeleteResource :<|> (ProjectsScanConfigsListResource :<|> (ProjectsScanConfigsGetResource :<|> (ProjectsScanConfigsUpdateResource :<|> (ProjectsNotesOccurrencesListResource :<|> (ProjectsNotesListResource :<|> (ProjectsNotesGetIAMPolicyResource :<|> (ProjectsNotesPatchResource :<|> (ProjectsNotesGetResource :<|> (ProjectsNotesCreateResource :<|> (ProjectsNotesSetIAMPolicyResource :<|> (ProjectsNotesBatchCreateResource :<|> (ProjectsNotesTestIAMPermissionsResource :<|> ProjectsNotesDeleteResource)))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the Container Analysis API service.
Resources
containeranalysis.projects.notes.batchCreate
containeranalysis.projects.notes.create
containeranalysis.projects.notes.delete
containeranalysis.projects.notes.get
containeranalysis.projects.notes.getIamPolicy
containeranalysis.projects.notes.list
containeranalysis.projects.notes.occurrences.list
containeranalysis.projects.notes.patch
containeranalysis.projects.notes.setIamPolicy
containeranalysis.projects.notes.testIamPermissions
containeranalysis.projects.occurrences.batchCreate
containeranalysis.projects.occurrences.create
containeranalysis.projects.occurrences.delete
containeranalysis.projects.occurrences.get
containeranalysis.projects.occurrences.getIamPolicy
containeranalysis.projects.occurrences.getNotes
containeranalysis.projects.occurrences.getVulnerabilitySummary
containeranalysis.projects.occurrences.list
containeranalysis.projects.occurrences.patch
containeranalysis.projects.occurrences.setIamPolicy
containeranalysis.projects.occurrences.testIamPermissions
containeranalysis.projects.scanConfigs.get
containeranalysis.projects.scanConfigs.list
containeranalysis.projects.scanConfigs.update
Types
LayerDirective
data LayerDirective Source #
Required. The recovered Dockerfile directive used to construct this layer.
DirectiveUnspecified |
|
Maintainer |
|
Run |
|
Cmd |
|
Label |
|
Expose |
|
Env |
|
Add |
|
Copy |
|
Entrypoint |
|
Volume |
|
User |
|
Workdir |
|
Arg |
|
Onbuild |
|
Stopsignal |
|
Healthcheck |
|
Shell |
|
Instances
DiscoveredAnalysisStatus
data DiscoveredAnalysisStatus Source #
The status of discovery for the resource.
AnalysisStatusUnspecified |
|
Pending |
|
Scanning |
|
FinishedSuccess |
|
FinishedFailed |
|
FinishedUnsupported |
|
Instances
Installation
data Installation Source #
This represents how a particular software package may be installed on a system.
See: installation
smart constructor.
Instances
installation :: Installation Source #
Creates a value of Installation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iLocation :: Lens' Installation [Location] Source #
Required. All of the places within the filesystem versions of this package have been found.
Vulnerability
data Vulnerability Source #
Vulnerability provides metadata about a security vulnerability in a Note.
See: vulnerability
smart constructor.
Instances
vulnerability :: Vulnerability Source #
Creates a value of Vulnerability
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vCvssScore :: Lens' Vulnerability (Maybe Double) Source #
The CVSS score for this vulnerability.
vSeverity :: Lens' Vulnerability (Maybe VulnerabilitySeverity) Source #
Note provider assigned impact of the vulnerability.
vDetails :: Lens' Vulnerability [Detail] Source #
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
GrafeasV1beta1VulnerabilityDetailsSeverity
data GrafeasV1beta1VulnerabilityDetailsSeverity Source #
Output only. The note provider assigned Severity of the vulnerability.
SeverityUnspecified |
|
Minimal |
|
Low |
|
Medium |
|
High |
|
Critical |
|
Instances
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
VulnerabilityOccurrencesSummary
data VulnerabilityOccurrencesSummary Source #
A summary of how many vulnerability occurrences there are per resource and severity type.
See: vulnerabilityOccurrencesSummary
smart constructor.
Instances
vulnerabilityOccurrencesSummary :: VulnerabilityOccurrencesSummary Source #
Creates a value of VulnerabilityOccurrencesSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vosCounts :: Lens' VulnerabilityOccurrencesSummary [FixableTotalByDigest] Source #
A listing by resource of the number of fixable and total vulnerabilities.
OccurrenceKind
data OccurrenceKind Source #
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
OKNoteKindUnspecified |
|
OKVulnerability |
|
OKBuild |
|
OKImage |
|
OKPackage |
|
OKDeployment |
|
OKDiscovery |
|
OKAttestation |
|
Instances
BuildProvenance
data BuildProvenance Source #
Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
See: buildProvenance
smart constructor.
Instances
buildProvenance :: BuildProvenance Source #
Creates a value of BuildProvenance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bpCreator :: Lens' BuildProvenance (Maybe Text) Source #
E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
bpSourceProvenance :: Lens' BuildProvenance (Maybe Source) Source #
Details of the Source input to the build.
bpCommands :: Lens' BuildProvenance [Command] Source #
Commands requested by the build.
bpTriggerId :: Lens' BuildProvenance (Maybe Text) Source #
Trigger identifier if the build was triggered automatically; empty if not.
bpStartTime :: Lens' BuildProvenance (Maybe UTCTime) Source #
Time at which execution of the build was started.
bpBuilderVersion :: Lens' BuildProvenance (Maybe Text) Source #
Version string of the builder at the time this build was executed.
bpEndTime :: Lens' BuildProvenance (Maybe UTCTime) Source #
Time at which execution of the build was finished.
bpProjectId :: Lens' BuildProvenance (Maybe Text) Source #
ID of the project.
bpBuiltArtifacts :: Lens' BuildProvenance [Artifact] Source #
Output of the build.
bpBuildOptions :: Lens' BuildProvenance (Maybe BuildProvenanceBuildOptions) Source #
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
bpCreateTime :: Lens' BuildProvenance (Maybe UTCTime) Source #
Time at which the build was created.
bpLogsURI :: Lens' BuildProvenance (Maybe Text) Source #
URI where any logs for this provenance were written.
AuditConfig
data AuditConfig Source #
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar'gmail.com" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo'gmail.com from DATA_READ logging, and bar'gmail.com from DATA_WRITE logging.
See: auditConfig
smart constructor.
Instances
auditConfig :: AuditConfig Source #
Creates a value of AuditConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acService :: Lens' AuditConfig (Maybe Text) Source #
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig] Source #
The configuration for logging of each type of permission.
Occurrence
data Occurrence Source #
An instance of an analysis type that has been found on a resource.
See: occurrence
smart constructor.
Instances
occurrence :: Occurrence Source #
Creates a value of Occurrence
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oInstallation :: Lens' Occurrence (Maybe GrafeasV1beta1PackageDetails) Source #
Describes the installation of a package on the linked resource.
oVulnerability :: Lens' Occurrence (Maybe GrafeasV1beta1VulnerabilityDetails) Source #
Describes a security vulnerability.
oDerivedImage :: Lens' Occurrence (Maybe GrafeasV1beta1ImageDetails) Source #
Describes how this resource derives from the basis in the associated note.
oKind :: Lens' Occurrence (Maybe OccurrenceKind) Source #
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
oBuild :: Lens' Occurrence (Maybe GrafeasV1beta1BuildDetails) Source #
Describes a verifiable build.
oAttestation :: Lens' Occurrence (Maybe Details) Source #
Describes an attestation of an artifact.
oUpdateTime :: Lens' Occurrence (Maybe UTCTime) Source #
Output only. The time this occurrence was last updated.
oName :: Lens' Occurrence (Maybe Text) Source #
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
oNoteName :: Lens' Occurrence (Maybe Text) Source #
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
oRemediation :: Lens' Occurrence (Maybe Text) Source #
A description of actions that can be taken to remedy the note.
oResource :: Lens' Occurrence (Maybe Resource) Source #
Required. Immutable. The resource for which the occurrence applies.
oDiscovered :: Lens' Occurrence (Maybe GrafeasV1beta1DiscoveryDetails) Source #
Describes when a resource was discovered.
oCreateTime :: Lens' Occurrence (Maybe UTCTime) Source #
Output only. The time this occurrence was created.
oDeployment :: Lens' Occurrence (Maybe GrafeasV1beta1DeploymentDetails) Source #
Describes the deployment of an artifact on a runtime.
GrafeasV1beta1VulnerabilityDetails
data GrafeasV1beta1VulnerabilityDetails Source #
Details of a vulnerability Occurrence.
See: grafeasV1beta1VulnerabilityDetails
smart constructor.
Instances
grafeasV1beta1VulnerabilityDetails :: GrafeasV1beta1VulnerabilityDetails Source #
Creates a value of GrafeasV1beta1VulnerabilityDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvvdLongDescription :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text) Source #
Output only. A detailed description of this vulnerability.
gvvdRelatedURLs :: Lens' GrafeasV1beta1VulnerabilityDetails [RelatedURL] Source #
Output only. URLs related to this vulnerability.
gvvdCvssScore :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Double) Source #
Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
gvvdPackageIssue :: Lens' GrafeasV1beta1VulnerabilityDetails [PackageIssue] Source #
Required. The set of affected locations and their fixes (if available) within the associated resource.
gvvdSeverity :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe GrafeasV1beta1VulnerabilityDetailsSeverity) Source #
Output only. The note provider assigned Severity of the vulnerability.
gvvdShortDescription :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text) Source #
Output only. A one sentence description of this vulnerability.
gvvdType :: Lens' GrafeasV1beta1VulnerabilityDetails (Maybe Text) Source #
The type of package; whether native or non native(ruby gems, node.js packages etc)
VulnerabilitySeverity
data VulnerabilitySeverity Source #
Note provider assigned impact of the vulnerability.
VSSeverityUnspecified |
|
VSMinimal |
|
VSLow |
|
VSMedium |
|
VSHigh |
|
VSCritical |
|
Instances
SourceFileHashes
data SourceFileHashes Source #
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
See: sourceFileHashes
smart constructor.
Instances
Creates a value of SourceFileHashes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Expr
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
See: expr
smart constructor.
Instances
Eq Expr Source # | |
Data Expr Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Expr -> c Expr # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Expr # dataTypeOf :: Expr -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Expr) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Expr) # gmapT :: (forall b. Data b => b -> b) -> Expr -> Expr # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQ :: (forall d. Data d => d -> u) -> Expr -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Expr -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # | |
Show Expr Source # | |
Generic Expr Source # | |
ToJSON Expr Source # | |
FromJSON Expr Source # | |
type Rep Expr Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Expr
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eLocation :: Lens' Expr (Maybe Text) Source #
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
eExpression :: Lens' Expr (Maybe Text) Source #
Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
eTitle :: Lens' Expr (Maybe Text) Source #
An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
eDescription :: Lens' Expr (Maybe Text) Source #
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
Command
Command describes a step performed as part of the build pipeline.
See: command
smart constructor.
Instances
cDir :: Lens' Command (Maybe Text) Source #
Working directory (relative to project source root) used when running this command.
cName :: Lens' Command (Maybe Text) Source #
Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
cId :: Lens' Command (Maybe Text) Source #
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
GetIAMPolicyRequest
data GetIAMPolicyRequest Source #
Request message for `GetIamPolicy` method.
See: getIAMPolicyRequest
smart constructor.
Instances
getIAMPolicyRequest :: GetIAMPolicyRequest Source #
Creates a value of GetIAMPolicyRequest
with the minimum fields required to make a request.
Discovery
A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.
See: discovery
smart constructor.
Instances
Eq Discovery Source # | |
Data Discovery Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Discovery -> c Discovery # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Discovery # toConstr :: Discovery -> Constr # dataTypeOf :: Discovery -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Discovery) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Discovery) # gmapT :: (forall b. Data b => b -> b) -> Discovery -> Discovery # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Discovery -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Discovery -> r # gmapQ :: (forall d. Data d => d -> u) -> Discovery -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Discovery -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Discovery -> m Discovery # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Discovery -> m Discovery # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Discovery -> m Discovery # | |
Show Discovery Source # | |
Generic Discovery Source # | |
ToJSON Discovery Source # | |
FromJSON Discovery Source # | |
type Rep Discovery Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Discovery = D1 (MetaData "Discovery" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" True) (C1 (MetaCons "Discovery'" PrefixI True) (S1 (MetaSel (Just "_dAnalysisKind") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DiscoveryAnalysisKind)))) |
discovery :: Discovery Source #
Creates a value of Discovery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAnalysisKind :: Lens' Discovery (Maybe DiscoveryAnalysisKind) Source #
Required. Immutable. The kind of analysis that is handled by this discovery.
Hash
Container message for hash values.
See: hash
smart constructor.
Instances
Eq Hash Source # | |
Data Hash Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Hash -> c Hash # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Hash # dataTypeOf :: Hash -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Hash) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Hash) # gmapT :: (forall b. Data b => b -> b) -> Hash -> Hash # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Hash -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Hash -> r # gmapQ :: (forall d. Data d => d -> u) -> Hash -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Hash -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Hash -> m Hash # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Hash -> m Hash # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Hash -> m Hash # | |
Show Hash Source # | |
Generic Hash Source # | |
ToJSON Hash Source # | |
FromJSON Hash Source # | |
type Rep Hash Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Hash = D1 (MetaData "Hash" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Hash'" PrefixI True) (S1 (MetaSel (Just "_hValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_hType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HashType)))) |
Basis
Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url.
See: basis
smart constructor.
Instances
Eq Basis Source # | |
Data Basis Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Basis -> c Basis # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Basis # dataTypeOf :: Basis -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Basis) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Basis) # gmapT :: (forall b. Data b => b -> b) -> Basis -> Basis # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Basis -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Basis -> r # gmapQ :: (forall d. Data d => d -> u) -> Basis -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Basis -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Basis -> m Basis # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Basis -> m Basis # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Basis -> m Basis # | |
Show Basis Source # | |
Generic Basis Source # | |
ToJSON Basis Source # | |
FromJSON Basis Source # | |
type Rep Basis Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Basis = D1 (MetaData "Basis" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Basis'" PrefixI True) (S1 (MetaSel (Just "_bFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Fingerprint)) :*: S1 (MetaSel (Just "_bResourceURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Basis
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bFingerprint :: Lens' Basis (Maybe Fingerprint) Source #
Required. Immutable. The fingerprint of the base image.
bResourceURL :: Lens' Basis (Maybe Text) Source #
Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
BatchCreateNotesRequest
data BatchCreateNotesRequest Source #
Request to create notes in batch.
See: batchCreateNotesRequest
smart constructor.
Instances
batchCreateNotesRequest :: BatchCreateNotesRequest Source #
Creates a value of BatchCreateNotesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bcnrNotes :: Lens' BatchCreateNotesRequest (Maybe BatchCreateNotesRequestNotes) Source #
The notes to create. Max allowed length is 1000.
SourceContext
data SourceContext Source #
A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
See: sourceContext
smart constructor.
Instances
sourceContext :: SourceContext Source #
Creates a value of SourceContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scCloudRepo :: Lens' SourceContext (Maybe CloudRepoSourceContext) Source #
A SourceContext referring to a revision in a Google Cloud Source Repo.
scGerrit :: Lens' SourceContext (Maybe GerritSourceContext) Source #
A SourceContext referring to a Gerrit project.
scGit :: Lens' SourceContext (Maybe GitSourceContext) Source #
A SourceContext referring to any third party Git repo (e.g., GitHub).
scLabels :: Lens' SourceContext (Maybe SourceContextLabels) Source #
Labels with user defined metadata.
Distribution
data Distribution Source #
This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.
See: distribution
smart constructor.
Instances
distribution :: Distribution Source #
Creates a value of Distribution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dURL :: Lens' Distribution (Maybe Text) Source #
The distribution channel-specific homepage for this package.
dMaintainer :: Lens' Distribution (Maybe Text) Source #
A freeform string denoting the maintainer of this package.
dArchitecture :: Lens' Distribution (Maybe DistributionArchitecture) Source #
The CPU architecture for which packages in this distribution channel were built.
dCpeURI :: Lens' Distribution (Maybe Text) Source #
Required. The cpe_uri in CPE format denoting the package manager version distributing a package.
dDescription :: Lens' Distribution (Maybe Text) Source #
The distribution channel-specific description of this package.
dLatestVersion :: Lens' Distribution (Maybe Version) Source #
The latest available version of this package in this distribution channel.
BatchCreateOccurrencesRequest
data BatchCreateOccurrencesRequest Source #
Request to create occurrences in batch.
See: batchCreateOccurrencesRequest
smart constructor.
Instances
batchCreateOccurrencesRequest :: BatchCreateOccurrencesRequest Source #
Creates a value of BatchCreateOccurrencesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bcorOccurrences :: Lens' BatchCreateOccurrencesRequest [Occurrence] Source #
The occurrences to create. Max allowed length is 1000.
ListOccurrencesResponse
data ListOccurrencesResponse Source #
Response for listing occurrences.
See: listOccurrencesResponse
smart constructor.
Instances
listOccurrencesResponse :: ListOccurrencesResponse Source #
Creates a value of ListOccurrencesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorOccurrences :: Lens' ListOccurrencesResponse [Occurrence] Source #
The occurrences requested.
lorNextPageToken :: Lens' ListOccurrencesResponse (Maybe Text) Source #
The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.
Location
An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
See: location
smart constructor.
Instances
Eq Location Source # | |
Data Location Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Location -> c Location # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Location # toConstr :: Location -> Constr # dataTypeOf :: Location -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Location) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Location) # gmapT :: (forall b. Data b => b -> b) -> Location -> Location # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r # gmapQ :: (forall d. Data d => d -> u) -> Location -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Location -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Location -> m Location # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location # | |
Show Location Source # | |
Generic Location Source # | |
ToJSON Location Source # | |
FromJSON Location Source # | |
type Rep Location Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Location = D1 (MetaData "Location" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Location'" PrefixI True) (S1 (MetaSel (Just "_lPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Version)) :*: S1 (MetaSel (Just "_lCpeURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
lPath :: Lens' Location (Maybe Text) Source #
The path from which we gathered that this package/version is installed.
lCpeURI :: Lens' Location (Maybe Text) Source #
Required. The CPE URI in CPE format denoting the package manager version distributing a package.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
GerritSourceContext
data GerritSourceContext Source #
A SourceContext referring to a Gerrit project.
See: gerritSourceContext
smart constructor.
Instances
gerritSourceContext :: GerritSourceContext Source #
Creates a value of GerritSourceContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gscGerritProject :: Lens' GerritSourceContext (Maybe Text) Source #
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
gscRevisionId :: Lens' GerritSourceContext (Maybe Text) Source #
A revision (commit) ID.
gscHostURI :: Lens' GerritSourceContext (Maybe Text) Source #
The URI of a running Gerrit instance.
gscAliasContext :: Lens' GerritSourceContext (Maybe AliasContext) Source #
An alias, which may be a branch or tag.
RepoId
A unique identifier for a Cloud Repo.
See: repoId
smart constructor.
Instances
Eq RepoId Source # | |
Data RepoId Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoId -> c RepoId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoId # toConstr :: RepoId -> Constr # dataTypeOf :: RepoId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoId) # gmapT :: (forall b. Data b => b -> b) -> RepoId -> RepoId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoId -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoId -> r # gmapQ :: (forall d. Data d => d -> u) -> RepoId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoId -> m RepoId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoId -> m RepoId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoId -> m RepoId # | |
Show RepoId Source # | |
Generic RepoId Source # | |
ToJSON RepoId Source # | |
FromJSON RepoId Source # | |
type Rep RepoId Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep RepoId = D1 (MetaData "RepoId" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "RepoId'" PrefixI True) (S1 (MetaSel (Just "_riUid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_riProjectRepoId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectRepoId)))) |
Creates a value of RepoId
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
riProjectRepoId :: Lens' RepoId (Maybe ProjectRepoId) Source #
A combination of a project ID and a repo name.
DiscoveredContinuousAnalysis
data DiscoveredContinuousAnalysis Source #
Whether the resource is continuously analyzed.
ContinuousAnalysisUnspecified |
|
Active |
|
Inactive |
|
Instances
ListNoteOccurrencesResponse
data ListNoteOccurrencesResponse Source #
Response for listing occurrences for a note.
See: listNoteOccurrencesResponse
smart constructor.
Instances
listNoteOccurrencesResponse :: ListNoteOccurrencesResponse Source #
Creates a value of ListNoteOccurrencesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnorOccurrences :: Lens' ListNoteOccurrencesResponse [Occurrence] Source #
The occurrences attached to the specified note.
lnorNextPageToken :: Lens' ListNoteOccurrencesResponse (Maybe Text) Source #
Token to provide to skip to a particular spot in the list.
NoteKind
Output only. The type of analysis. This field can be used as a filter in list requests.
NKNoteKindUnspecified |
|
NKVulnerability |
|
NKBuild |
|
NKImage |
|
NKPackage |
|
NKDeployment |
|
NKDiscovery |
|
NKAttestation |
|
Instances
Note
A type of analysis that can be done for a resource.
See: note
smart constructor.
Instances
Creates a value of Note
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nVulnerability :: Lens' Note (Maybe Vulnerability) Source #
A note describing a package vulnerability.
nAttestationAuthority :: Lens' Note (Maybe Authority) Source #
A note describing an attestation role.
nDiscovery :: Lens' Note (Maybe Discovery) Source #
A note describing the initial analysis of a resource.
nKind :: Lens' Note (Maybe NoteKind) Source #
Output only. The type of analysis. This field can be used as a filter in list requests.
nBuild :: Lens' Note (Maybe Build) Source #
A note describing build provenance for a verifiable build.
nDeployable :: Lens' Note (Maybe Deployable) Source #
A note describing something that can be deployed.
nRelatedURL :: Lens' Note [RelatedURL] Source #
URLs associated with this note.
nUpdateTime :: Lens' Note (Maybe UTCTime) Source #
Output only. The time this note was last updated. This field can be used as a filter in list requests.
nName :: Lens' Note (Maybe Text) Source #
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
nPackage :: Lens' Note (Maybe Package) Source #
A note describing a package hosted by various package managers.
nExpirationTime :: Lens' Note (Maybe UTCTime) Source #
Time of expiration for this note. Empty if note does not expire.
nCreateTime :: Lens' Note (Maybe UTCTime) Source #
Output only. The time this note was created. This field can be used as a filter in list requests.
BatchCreateNotesResponse
data BatchCreateNotesResponse Source #
Response for creating notes in batch.
See: batchCreateNotesResponse
smart constructor.
Instances
batchCreateNotesResponse :: BatchCreateNotesResponse Source #
Creates a value of BatchCreateNotesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ProjectRepoId
data ProjectRepoId Source #
Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.
See: projectRepoId
smart constructor.
Instances
projectRepoId :: ProjectRepoId Source #
Creates a value of ProjectRepoId
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
priRepoName :: Lens' ProjectRepoId (Maybe Text) Source #
The name of the repo. Leave empty for the default repo.
priProjectId :: Lens' ProjectRepoId (Maybe Text) Source #
The ID of the project.
Fingerprint
data Fingerprint Source #
A set of properties that uniquely identify a given Docker image.
See: fingerprint
smart constructor.
Instances
fingerprint :: Fingerprint Source #
Creates a value of Fingerprint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fV2Name :: Lens' Fingerprint (Maybe Text) Source #
Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.
fV2Blob :: Lens' Fingerprint [Text] Source #
Required. The ordered list of v2 blobs that represent a given image.
fV1Name :: Lens' Fingerprint (Maybe Text) Source #
Required. The layer ID of the final layer in the Docker image's v1 representation.
Hint
This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.
See: hint
smart constructor.
Instances
Eq Hint Source # | |
Data Hint Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Hint -> c Hint # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Hint # dataTypeOf :: Hint -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Hint) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Hint) # gmapT :: (forall b. Data b => b -> b) -> Hint -> Hint # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Hint -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Hint -> r # gmapQ :: (forall d. Data d => d -> u) -> Hint -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Hint -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Hint -> m Hint # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Hint -> m Hint # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Hint -> m Hint # | |
Show Hint Source # | |
Generic Hint Source # | |
ToJSON Hint Source # | |
FromJSON Hint Source # | |
type Rep Hint Source # | |
Creates a value of Hint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hHumanReadableName :: Lens' Hint (Maybe Text) Source #
Required. The human readable name of this attestation authority, for example "qa".
PackageIssue
data PackageIssue Source #
This message wraps a location affected by a vulnerability and its associated fix (if one is available).
See: packageIssue
smart constructor.
Instances
packageIssue :: PackageIssue Source #
Creates a value of PackageIssue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
piAffectedLocation :: Lens' PackageIssue (Maybe VulnerabilityLocation) Source #
Required. The location of the vulnerability.
piFixedLocation :: Lens' PackageIssue (Maybe VulnerabilityLocation) Source #
The location of the available fix for vulnerability.
piSeverityName :: Lens' PackageIssue (Maybe Text) Source #
The severity (e.g., distro assigned severity) for this vulnerability.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
Build
Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.
See: build
smart constructor.
Instances
Eq Build Source # | |
Data Build Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Build -> c Build # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Build # dataTypeOf :: Build -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Build) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Build) # gmapT :: (forall b. Data b => b -> b) -> Build -> Build # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Build -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Build -> r # gmapQ :: (forall d. Data d => d -> u) -> Build -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Build -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Build -> m Build # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Build -> m Build # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Build -> m Build # | |
Show Build Source # | |
Generic Build Source # | |
ToJSON Build Source # | |
FromJSON Build Source # | |
type Rep Build Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Build = D1 (MetaData "Build" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Build'" PrefixI True) (S1 (MetaSel (Just "_bSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BuildSignature)) :*: S1 (MetaSel (Just "_bBuilderVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Build
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bSignature :: Lens' Build (Maybe BuildSignature) Source #
Signature of the build in occurrences pointing to this build note containing build details.
bBuilderVersion :: Lens' Build (Maybe Text) Source #
Required. Immutable. Version of the builder which produced this build.
Attestation
data Attestation Source #
Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for look-up (how to find this attestation if you already know the authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).
See: attestation
smart constructor.
Instances
attestation :: Attestation Source #
Creates a value of Attestation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aPgpSignedAttestation :: Lens' Attestation (Maybe PgpSignedAttestation) Source #
A PGP signed attestation.
DeploymentPlatform
data DeploymentPlatform Source #
Platform hosting this deployment.
PlatformUnspecified |
|
Gke |
|
Flex |
|
Custom |
|
Instances
Artifact
Artifact describes a build product.
See: artifact
smart constructor.
Instances
Eq Artifact Source # | |
Data Artifact Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Artifact -> c Artifact # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Artifact # toConstr :: Artifact -> Constr # dataTypeOf :: Artifact -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Artifact) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Artifact) # gmapT :: (forall b. Data b => b -> b) -> Artifact -> Artifact # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Artifact -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Artifact -> r # gmapQ :: (forall d. Data d => d -> u) -> Artifact -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Artifact -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Artifact -> m Artifact # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Artifact -> m Artifact # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Artifact -> m Artifact # | |
Show Artifact Source # | |
Generic Artifact Source # | |
ToJSON Artifact Source # | |
FromJSON Artifact Source # | |
type Rep Artifact Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Artifact = D1 (MetaData "Artifact" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Artifact'" PrefixI True) (S1 (MetaSel (Just "_aChecksum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_aId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
aChecksum :: Lens' Artifact (Maybe Text) Source #
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
aNames :: Lens' Artifact [Text] Source #
Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
aId :: Lens' Artifact (Maybe Text) Source #
Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename'sha256:123456`.
SetIAMPolicyRequest
data SetIAMPolicyRequest Source #
Request message for `SetIamPolicy` method.
See: setIAMPolicyRequest
smart constructor.
Instances
setIAMPolicyRequest :: SetIAMPolicyRequest Source #
Creates a value of SetIAMPolicyRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask) Source #
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.
siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #
REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
BuildProvenanceBuildOptions
data BuildProvenanceBuildOptions Source #
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
See: buildProvenanceBuildOptions
smart constructor.
Instances
buildProvenanceBuildOptions Source #
Creates a value of BuildProvenanceBuildOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Deployable
data Deployable Source #
An artifact that can be deployed in some runtime.
See: deployable
smart constructor.
Instances
deployable :: Deployable Source #
Creates a value of Deployable
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dResourceURI :: Lens' Deployable [Text] Source #
Required. Resource URI for the artifact being deployed.
GrafeasV1beta1DiscoveryDetails
data GrafeasV1beta1DiscoveryDetails Source #
Details of a discovery occurrence.
See: grafeasV1beta1DiscoveryDetails
smart constructor.
Instances
grafeasV1beta1DiscoveryDetails :: GrafeasV1beta1DiscoveryDetails Source #
Creates a value of GrafeasV1beta1DiscoveryDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvddDiscovered :: Lens' GrafeasV1beta1DiscoveryDetails (Maybe Discovered) Source #
Required. Analysis status for the discovered resource.
VulnerabilityLocation
data VulnerabilityLocation Source #
The location of the vulnerability.
See: vulnerabilityLocation
smart constructor.
Instances
vulnerabilityLocation :: VulnerabilityLocation Source #
Creates a value of VulnerabilityLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vlVersion :: Lens' VulnerabilityLocation (Maybe Version) Source #
Required. The version of the package being described.
vlPackage :: Lens' VulnerabilityLocation (Maybe Text) Source #
Required. The package being described.
vlCpeURI :: Lens' VulnerabilityLocation (Maybe Text) Source #
Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.
FixableTotalByDigest
data FixableTotalByDigest Source #
Per resource and severity counts of fixable and total vulnerabilites.
See: fixableTotalByDigest
smart constructor.
Instances
fixableTotalByDigest :: FixableTotalByDigest Source #
Creates a value of FixableTotalByDigest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ftbdSeverity :: Lens' FixableTotalByDigest (Maybe FixableTotalByDigestSeverity) Source #
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
ftbdFixableCount :: Lens' FixableTotalByDigest (Maybe Int64) Source #
The number of fixable vulnerabilities associated with this resource.
ftbdResource :: Lens' FixableTotalByDigest (Maybe Resource) Source #
The affected resource.
ftbdTotalCount :: Lens' FixableTotalByDigest (Maybe Int64) Source #
The total number of vulnerabilities associated with this resource.
RelatedURL
data RelatedURL Source #
Metadata for any related URL information.
See: relatedURL
smart constructor.
Instances
relatedURL :: RelatedURL Source #
Creates a value of RelatedURL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GrafeasV1beta1ImageDetails
data GrafeasV1beta1ImageDetails Source #
Details of an image occurrence.
See: grafeasV1beta1ImageDetails
smart constructor.
Instances
grafeasV1beta1ImageDetails :: GrafeasV1beta1ImageDetails Source #
Creates a value of GrafeasV1beta1ImageDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvidDerivedImage :: Lens' GrafeasV1beta1ImageDetails (Maybe Derived) Source #
Required. Immutable. The child image derived from the base image.
BatchCreateOccurrencesResponse
data BatchCreateOccurrencesResponse Source #
Response for creating occurrences in batch.
See: batchCreateOccurrencesResponse
smart constructor.
Instances
batchCreateOccurrencesResponse :: BatchCreateOccurrencesResponse Source #
Creates a value of BatchCreateOccurrencesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bOccurrences :: Lens' BatchCreateOccurrencesResponse [Occurrence] Source #
The occurrences that were created.
SourceContextLabels
data SourceContextLabels Source #
Labels with user defined metadata.
See: sourceContextLabels
smart constructor.
Instances
Creates a value of SourceContextLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
DistributionArchitecture
data DistributionArchitecture Source #
The CPU architecture for which packages in this distribution channel were built.
ArchitectureUnspecified |
|
X86 |
|
X64 |
|
Instances
ListScanConfigsResponse
data ListScanConfigsResponse Source #
Response for listing scan configurations.
See: listScanConfigsResponse
smart constructor.
Instances
listScanConfigsResponse :: ListScanConfigsResponse Source #
Creates a value of ListScanConfigsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lscrNextPageToken :: Lens' ListScanConfigsResponse (Maybe Text) Source #
The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.
lscrScanConfigs :: Lens' ListScanConfigsResponse [ScanConfig] Source #
The scan configurations requested.
FixableTotalByDigestSeverity
data FixableTotalByDigestSeverity Source #
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
FTBDSSeverityUnspecified |
|
FTBDSMinimal |
|
FTBDSLow |
|
FTBDSMedium |
|
FTBDSHigh |
|
FTBDSCritical |
|
Instances
AuditLogConfigLogType
data AuditLogConfigLogType Source #
The log type that this config enables.
LogTypeUnspecified |
|
AdminRead |
|
DataWrite |
|
DataRead |
|
Instances
Version
Version contains structured information about the version of a package.
See: version
smart constructor.
Instances
Eq Version Source # | |
Data Version Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Version -> c Version # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Version # toConstr :: Version -> Constr # dataTypeOf :: Version -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Version) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Version) # gmapT :: (forall b. Data b => b -> b) -> Version -> Version # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Version -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Version -> r # gmapQ :: (forall d. Data d => d -> u) -> Version -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Version -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Version -> m Version # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Version -> m Version # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Version -> m Version # | |
Show Version Source # | |
Generic Version Source # | |
ToJSON Version Source # | |
FromJSON Version Source # | |
type Rep Version Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Version = D1 (MetaData "Version" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Version'" PrefixI True) ((S1 (MetaSel (Just "_vKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VersionKind)) :*: S1 (MetaSel (Just "_vName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_vRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vEpoch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) |
vKind :: Lens' Version (Maybe VersionKind) Source #
Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
vName :: Lens' Version (Maybe Text) Source #
Required only when version kind is NORMAL. The main part of the version name.
vRevision :: Lens' Version (Maybe Text) Source #
The iteration of the package build from the above version.
vEpoch :: Lens' Version (Maybe Int32) Source #
Used to correct mistakes in the version numbering scheme.
FileHashes
data FileHashes Source #
Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.
See: fileHashes
smart constructor.
Instances
fileHashes :: FileHashes Source #
Creates a value of FileHashes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fhFileHash :: Lens' FileHashes [Hash] Source #
Required. Collection of file hashes.
Resource
An entity that can have metadata. For example, a Docker image.
See: resource
smart constructor.
Instances
Eq Resource Source # | |
Data Resource Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Resource -> c Resource # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Resource # toConstr :: Resource -> Constr # dataTypeOf :: Resource -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Resource) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Resource) # gmapT :: (forall b. Data b => b -> b) -> Resource -> Resource # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r # gmapQ :: (forall d. Data d => d -> u) -> Resource -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Resource -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Resource -> m Resource # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource # | |
Show Resource Source # | |
Generic Resource Source # | |
ToJSON Resource Source # | |
FromJSON Resource Source # | |
type Rep Resource Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Resource = D1 (MetaData "Resource" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Resource'" PrefixI True) (S1 (MetaSel (Just "_rContentHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Hash)) :*: (S1 (MetaSel (Just "_rURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Resource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rContentHash :: Lens' Resource (Maybe Hash) Source #
The hash of the resource content. For example, the Docker digest.
rURI :: Lens' Resource (Maybe Text) Source #
Required. The unique URI of the resource. For example, `https://gcr.io/project/image'sha256:foo` for a Docker image.
rName :: Lens' Resource (Maybe Text) Source #
The name of the resource. For example, the name of a Docker image - "Debian".
GrafeasV1beta1DeploymentDetails
data GrafeasV1beta1DeploymentDetails Source #
Details of a deployment occurrence.
See: grafeasV1beta1DeploymentDetails
smart constructor.
Instances
grafeasV1beta1DeploymentDetails :: GrafeasV1beta1DeploymentDetails Source #
Creates a value of GrafeasV1beta1DeploymentDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvddDeployment :: Lens' GrafeasV1beta1DeploymentDetails (Maybe Deployment) Source #
Required. Deployment history for the resource.
GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
data GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata Source #
Metadata for all operations used and required for all operations that created by Container Analysis Providers
See: googleDevtoolsContaineranalysisV1alpha1OperationMetadata
smart constructor.
Instances
googleDevtoolsContaineranalysisV1alpha1OperationMetadata :: GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata Source #
Creates a value of GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdcvomEndTime :: Lens' GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (Maybe UTCTime) Source #
Output only. The time that this operation was marked completed or failed.
gdcvomCreateTime :: Lens' GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata (Maybe UTCTime) Source #
Output only. The time this operation was created.
PgpSignedAttestationContentType
data PgpSignedAttestationContentType Source #
Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
ContentTypeUnspecified |
|
SimpleSigningJSON |
|
Instances
Xgafv
V1 error format.
Instances
Details
Details of an attestation occurrence.
See: details
smart constructor.
Instances
Eq Details Source # | |
Data Details Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Details -> c Details # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Details # toConstr :: Details -> Constr # dataTypeOf :: Details -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Details) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Details) # gmapT :: (forall b. Data b => b -> b) -> Details -> Details # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Details -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Details -> r # gmapQ :: (forall d. Data d => d -> u) -> Details -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Details -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Details -> m Details # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Details -> m Details # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Details -> m Details # | |
Show Details Source # | |
Generic Details Source # | |
ToJSON Details Source # | |
FromJSON Details Source # | |
type Rep Details Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Details = D1 (MetaData "Details" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" True) (C1 (MetaCons "Details'" PrefixI True) (S1 (MetaSel (Just "_dAttestation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Attestation)))) |
Creates a value of Details
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAttestation :: Lens' Details (Maybe Attestation) Source #
Required. Attestation for the resource.
Package
This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.
See: package
smart constructor.
Instances
Eq Package Source # | |
Data Package Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Package -> c Package # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Package # toConstr :: Package -> Constr # dataTypeOf :: Package -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Package) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Package) # gmapT :: (forall b. Data b => b -> b) -> Package -> Package # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Package -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Package -> r # gmapQ :: (forall d. Data d => d -> u) -> Package -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Package -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Package -> m Package # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Package -> m Package # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Package -> m Package # | |
Show Package Source # | |
Generic Package Source # | |
ToJSON Package Source # | |
FromJSON Package Source # | |
type Rep Package Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Package = D1 (MetaData "Package" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Package'" PrefixI True) (S1 (MetaSel (Just "_pDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Distribution])) :*: S1 (MetaSel (Just "_pName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Package
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pDistribution :: Lens' Package [Distribution] Source #
The various channels by which a package is distributed.
ListNotesResponse
data ListNotesResponse Source #
Response for listing notes.
See: listNotesResponse
smart constructor.
Instances
listNotesResponse :: ListNotesResponse Source #
Creates a value of ListNotesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnrNextPageToken :: Lens' ListNotesResponse (Maybe Text) Source #
The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.
BuildSignature
data BuildSignature Source #
Message encapsulating the signature of the verified build.
See: buildSignature
smart constructor.
Instances
buildSignature :: BuildSignature Source #
Creates a value of BuildSignature
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bsSignature :: Lens' BuildSignature (Maybe ByteString) Source #
Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
bsKeyType :: Lens' BuildSignature (Maybe BuildSignatureKeyType) Source #
The type of the key, either stored in `public_key` or referenced in `key_id`.
bsKeyId :: Lens' BuildSignature (Maybe Text) Source #
An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service).
bsPublicKey :: Lens' BuildSignature (Maybe Text) Source #
Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin`
TestIAMPermissionsRequest
data TestIAMPermissionsRequest Source #
Request message for `TestIamPermissions` method.
See: testIAMPermissionsRequest
smart constructor.
Instances
testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #
Creates a value of TestIAMPermissionsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.
VersionKind
data VersionKind Source #
Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
VersionKindUnspecified |
|
Normal |
|
Minimum |
|
Maximum |
|
Instances
HashType
Required. The type of hash that was performed.
HashTypeUnspecified |
|
SHA256 |
|
Instances
Discovered
data Discovered Source #
Provides information about the analysis status of a discovered resource.
See: discovered
smart constructor.
Instances
discovered :: Discovered Source #
Creates a value of Discovered
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dLastAnalysisTime :: Lens' Discovered (Maybe UTCTime) Source #
The last time continuous analysis was done for this resource. Deprecated, do not use.
dAnalysisStatusError :: Lens' Discovered (Maybe Status) Source #
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
dAnalysisStatus :: Lens' Discovered (Maybe DiscoveredAnalysisStatus) Source #
The status of discovery for the resource.
dContinuousAnalysis :: Lens' Discovered (Maybe DiscoveredContinuousAnalysis) Source #
Whether the resource is continuously analyzed.
BuildSignatureKeyType
data BuildSignatureKeyType Source #
The type of the key, either stored in `public_key` or referenced in `key_id`.
KeyTypeUnspecified |
|
PgpAsciiArmored |
|
PkixPem |
|
Instances
Derived
Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .
See: derived
smart constructor.
Instances
Eq Derived Source # | |
Data Derived Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Derived -> c Derived # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Derived # toConstr :: Derived -> Constr # dataTypeOf :: Derived -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Derived) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Derived) # gmapT :: (forall b. Data b => b -> b) -> Derived -> Derived # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Derived -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Derived -> r # gmapQ :: (forall d. Data d => d -> u) -> Derived -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Derived -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Derived -> m Derived # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Derived -> m Derived # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Derived -> m Derived # | |
Show Derived Source # | |
Generic Derived Source # | |
ToJSON Derived Source # | |
FromJSON Derived Source # | |
type Rep Derived Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Derived = D1 (MetaData "Derived" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Derived'" PrefixI True) ((S1 (MetaSel (Just "_dBaseResourceURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Fingerprint))) :*: (S1 (MetaSel (Just "_dDistance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_dLayerInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Layer]))))) |
Creates a value of Derived
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dBaseResourceURL :: Lens' Derived (Maybe Text) Source #
Output only. This contains the base image URL for the derived image occurrence.
dFingerprint :: Lens' Derived (Maybe Fingerprint) Source #
Required. The fingerprint of the derived image.
dDistance :: Lens' Derived (Maybe Int32) Source #
Output only. The number of layers by which this image differs from the associated image basis.
dLayerInfo :: Lens' Derived [Layer] Source #
This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
GrafeasV1beta1BuildDetails
data GrafeasV1beta1BuildDetails Source #
Details of a build occurrence.
See: grafeasV1beta1BuildDetails
smart constructor.
Instances
grafeasV1beta1BuildDetails :: GrafeasV1beta1BuildDetails Source #
Creates a value of GrafeasV1beta1BuildDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvbdProvenanceBytes :: Lens' GrafeasV1beta1BuildDetails (Maybe Text) Source #
Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.
gvbdProvenance :: Lens' GrafeasV1beta1BuildDetails (Maybe BuildProvenance) Source #
Required. The actual provenance for the build.
Source
Source describes the location of the source used for the build.
See: source
smart constructor.
Instances
Eq Source Source # | |
Data Source Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Source -> c Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Source # toConstr :: Source -> Constr # dataTypeOf :: Source -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Source) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Source) # gmapT :: (forall b. Data b => b -> b) -> Source -> Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Source -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Source -> r # gmapQ :: (forall d. Data d => d -> u) -> Source -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Source -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Source -> m Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Source -> m Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Source -> m Source # | |
Show Source Source # | |
Generic Source Source # | |
ToJSON Source Source # | |
FromJSON Source Source # | |
type Rep Source Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Source = D1 (MetaData "Source" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Source'" PrefixI True) ((S1 (MetaSel (Just "_sContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceContext)) :*: S1 (MetaSel (Just "_sAdditionalContexts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SourceContext]))) :*: (S1 (MetaSel (Just "_sArtifactStorageSourceURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sFileHashes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceFileHashes))))) |
Creates a value of Source
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sContext :: Lens' Source (Maybe SourceContext) Source #
If provided, the source code used for the build came from this location.
sAdditionalContexts :: Lens' Source [SourceContext] Source #
If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
sArtifactStorageSourceURI :: Lens' Source (Maybe Text) Source #
If provided, the input binary artifacts for the build came from this location.
sFileHashes :: Lens' Source (Maybe SourceFileHashes) Source #
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
ScanConfig
data ScanConfig Source #
A scan configuration specifies whether Cloud components in a project have a particular type of analysis being run. For example, it can configure whether vulnerability scanning is being done on Docker images or not.
See: scanConfig
smart constructor.
Instances
scanConfig :: ScanConfig Source #
Creates a value of ScanConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scUpdateTime :: Lens' ScanConfig (Maybe UTCTime) Source #
Output only. The time this scan config was last updated.
scName :: Lens' ScanConfig (Maybe Text) Source #
Output only. The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
scDescription :: Lens' ScanConfig (Maybe Text) Source #
Output only. A human-readable description of what the scan configuration does.
scCreateTime :: Lens' ScanConfig (Maybe UTCTime) Source #
Output only. The time this scan config was created.
GitSourceContext
data GitSourceContext Source #
A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).
See: gitSourceContext
smart constructor.
Instances
gitSourceContext :: GitSourceContext Source #
Creates a value of GitSourceContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gRevisionId :: Lens' GitSourceContext (Maybe Text) Source #
Git commit hash.
TestIAMPermissionsResponse
data TestIAMPermissionsResponse Source #
Response message for `TestIamPermissions` method.
See: testIAMPermissionsResponse
smart constructor.
Instances
testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #
Creates a value of TestIAMPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
Policy
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.
See: policy
smart constructor.
Instances
Eq Policy Source # | |
Data Policy Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy # toConstr :: Policy -> Constr # dataTypeOf :: Policy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) # gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # | |
Show Policy Source # | |
Generic Policy Source # | |
ToJSON Policy Source # | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Policy = D1 (MetaData "Policy" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Policy'" PrefixI True) ((S1 (MetaSel (Just "_pAuditConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditConfig])) :*: S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding]))))) |
Creates a value of Policy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pAuditConfigs :: Lens' Policy [AuditConfig] Source #
Specifies cloud audit logging configuration for this policy.
pEtag :: Lens' Policy (Maybe ByteString) Source #
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
pBindings :: Lens' Policy [Binding] Source #
Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
DiscoveryAnalysisKind
data DiscoveryAnalysisKind Source #
Required. Immutable. The kind of analysis that is handled by this discovery.
DAKNoteKindUnspecified |
|
DAKVulnerability |
|
DAKBuild |
|
DAKImage |
|
DAKPackage |
|
DAKDeployment |
|
DAKDiscovery |
|
DAKAttestation |
|
Instances
Layer
Layer holds metadata specific to a layer of a Docker image.
See: layer
smart constructor.
Instances
Eq Layer Source # | |
Data Layer Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Layer -> c Layer # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Layer # dataTypeOf :: Layer -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Layer) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Layer) # gmapT :: (forall b. Data b => b -> b) -> Layer -> Layer # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Layer -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Layer -> r # gmapQ :: (forall d. Data d => d -> u) -> Layer -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Layer -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Layer -> m Layer # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Layer -> m Layer # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Layer -> m Layer # | |
Show Layer Source # | |
Generic Layer Source # | |
ToJSON Layer Source # | |
FromJSON Layer Source # | |
type Rep Layer Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Layer = D1 (MetaData "Layer" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Layer'" PrefixI True) (S1 (MetaSel (Just "_lDirective") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LayerDirective)) :*: S1 (MetaSel (Just "_lArguments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Layer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lDirective :: Lens' Layer (Maybe LayerDirective) Source #
Required. The recovered Dockerfile directive used to construct this layer.
CloudRepoSourceContext
data CloudRepoSourceContext Source #
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.
See: cloudRepoSourceContext
smart constructor.
Instances
cloudRepoSourceContext :: CloudRepoSourceContext Source #
Creates a value of CloudRepoSourceContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crscRepoId :: Lens' CloudRepoSourceContext (Maybe RepoId) Source #
The ID of the repo.
crscRevisionId :: Lens' CloudRepoSourceContext (Maybe Text) Source #
A revision ID.
crscAliasContext :: Lens' CloudRepoSourceContext (Maybe AliasContext) Source #
An alias, which may be a branch or tag.
AuditLogConfig
data AuditLogConfig Source #
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo'gmail.com from DATA_READ logging.
See: auditLogConfig
smart constructor.
Instances
auditLogConfig :: AuditLogConfig Source #
Creates a value of AuditLogConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType) Source #
The log type that this config enables.
alcExemptedMembers :: Lens' AuditLogConfig [Text] Source #
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
PgpSignedAttestation
data PgpSignedAttestation Source #
An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
See: pgpSignedAttestation
smart constructor.
Instances
pgpSignedAttestation :: PgpSignedAttestation Source #
Creates a value of PgpSignedAttestation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psaSignature :: Lens' PgpSignedAttestation (Maybe Text) Source #
Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
psaPgpKeyId :: Lens' PgpSignedAttestation (Maybe Text) Source #
The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexidecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge "LONG", "SHORT", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys attester'example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
psaContentType :: Lens' PgpSignedAttestation (Maybe PgpSignedAttestationContentType) Source #
Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
BatchCreateNotesRequestNotes
data BatchCreateNotesRequestNotes Source #
The notes to create. Max allowed length is 1000.
See: batchCreateNotesRequestNotes
smart constructor.
Instances
batchCreateNotesRequestNotes Source #
Creates a value of BatchCreateNotesRequestNotes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AliasContext
data AliasContext Source #
An alias to a repo revision.
See: aliasContext
smart constructor.
Instances
aliasContext :: AliasContext Source #
Creates a value of AliasContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acKind :: Lens' AliasContext (Maybe AliasContextKind) Source #
The alias kind.
AliasContextKind
data AliasContextKind Source #
The alias kind.
KindUnspecified |
|
Fixed |
|
Movable |
|
Other |
|
Instances
Binding
Associates `members` with a `role`.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Binding -> c Binding # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Binding # toConstr :: Binding -> Constr # dataTypeOf :: Binding -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Binding) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Binding) # gmapT :: (forall b. Data b => b -> b) -> Binding -> Binding # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Binding -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Binding -> r # gmapQ :: (forall d. Data d => d -> u) -> Binding -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Binding -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Binding -> m Binding # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Binding -> m Binding # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Binding -> m Binding # | |
Show Binding Source # | |
Generic Binding Source # | |
ToJSON Binding Source # | |
FromJSON Binding Source # | |
type Rep Binding Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr))))) |
Creates a value of Binding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bMembers :: Lens' Binding [Text] Source #
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app'appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins'example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
bRole :: Lens' Binding (Maybe Text) Source #
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
bCondition :: Lens' Binding (Maybe Expr) Source #
Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
Detail
Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2
See: detail
smart constructor.
Instances
Creates a value of Detail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
detMinAffectedVersion :: Lens' Detail (Maybe Version) Source #
The min version of the package in which the vulnerability exists.
detPackageType :: Lens' Detail (Maybe Text) Source #
The type of package; whether native or non native(ruby gems, node.js packages etc).
detIsObsolete :: Lens' Detail (Maybe Bool) Source #
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
detFixedLocation :: Lens' Detail (Maybe VulnerabilityLocation) Source #
The fix for this specific package version.
detSeverityName :: Lens' Detail (Maybe Text) Source #
The severity (eg: distro assigned severity) for this vulnerability.
detMaxAffectedVersion :: Lens' Detail (Maybe Version) Source #
The max version of the package in which the vulnerability exists.
detPackage :: Lens' Detail (Maybe Text) Source #
Required. The name of the package where the vulnerability was found.
detCpeURI :: Lens' Detail (Maybe Text) Source #
Required. The CPE URI in cpe format in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
Authority
Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.
See: authority
smart constructor.
Instances
Eq Authority Source # | |
Data Authority Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Authority -> c Authority # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Authority # toConstr :: Authority -> Constr # dataTypeOf :: Authority -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Authority) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Authority) # gmapT :: (forall b. Data b => b -> b) -> Authority -> Authority # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Authority -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Authority -> r # gmapQ :: (forall d. Data d => d -> u) -> Authority -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Authority -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Authority -> m Authority # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Authority -> m Authority # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Authority -> m Authority # | |
Show Authority Source # | |
Generic Authority Source # | |
ToJSON Authority Source # | |
FromJSON Authority Source # | |
type Rep Authority Source # | |
Defined in Network.Google.ContainerAnalysis.Types.Product type Rep Authority = D1 (MetaData "Authority" "Network.Google.ContainerAnalysis.Types.Product" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" True) (C1 (MetaCons "Authority'" PrefixI True) (S1 (MetaSel (Just "_aHint") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Hint)))) |
aHint :: Lens' Authority (Maybe Hint) Source #
Hint hints at the purpose of the attestation authority.
GrafeasV1beta1PackageDetails
data GrafeasV1beta1PackageDetails Source #
Details of a package occurrence.
See: grafeasV1beta1PackageDetails
smart constructor.
Instances
grafeasV1beta1PackageDetails :: GrafeasV1beta1PackageDetails Source #
Creates a value of GrafeasV1beta1PackageDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gvpdInstallation :: Lens' GrafeasV1beta1PackageDetails (Maybe Installation) Source #
Required. Where the package was installed.
Deployment
data Deployment Source #
The period during which some deployable was active in a runtime.
See: deployment
smart constructor.
Instances
deployment :: Deployment Source #
Creates a value of Deployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
depResourceURI :: Lens' Deployment [Text] Source #
Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
depPlatform :: Lens' Deployment (Maybe DeploymentPlatform) Source #
Platform hosting this deployment.
depUndeployTime :: Lens' Deployment (Maybe UTCTime) Source #
End of the lifetime of this deployment.
depDeployTime :: Lens' Deployment (Maybe UTCTime) Source #
Required. Beginning of the lifetime of this deployment.
depAddress :: Lens' Deployment (Maybe Text) Source #
Address of the runtime element hosting this deployment.
depUserEmail :: Lens' Deployment (Maybe Text) Source #
Identity of the user that triggered this deployment.