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
- securitycenter.organizations.assets.group
- securitycenter.organizations.assets.list
- securitycenter.organizations.assets.runDiscovery
- securitycenter.organizations.assets.updateSecurityMarks
- securitycenter.organizations.getOrganizationSettings
- securitycenter.organizations.operations.cancel
- securitycenter.organizations.operations.delete
- securitycenter.organizations.operations.get
- securitycenter.organizations.operations.list
- securitycenter.organizations.sources.create
- securitycenter.organizations.sources.findings.create
- securitycenter.organizations.sources.findings.group
- securitycenter.organizations.sources.findings.list
- securitycenter.organizations.sources.findings.patch
- securitycenter.organizations.sources.findings.setState
- securitycenter.organizations.sources.findings.updateSecurityMarks
- securitycenter.organizations.sources.get
- securitycenter.organizations.sources.getIamPolicy
- securitycenter.organizations.sources.list
- securitycenter.organizations.sources.patch
- securitycenter.organizations.sources.setIamPolicy
- securitycenter.organizations.sources.testIamPermissions
- securitycenter.organizations.updateOrganizationSettings
- Types
- ListFindingsResultStateChange
- Status
- ListFindingsResponse
- AuditConfig
- Expr
- ListOperationsResponse
- GetIAMPolicyRequest
- GroupFindingsResponse
- RunAssetDiscoveryRequest
- AssetDiscoveryConfigInclusionMode
- Operation
- Finding
- Empty
- ListFindingsResult
- GroupAssetsRequest
- GroupFindingsRequest
- AssetDiscoveryConfig
- Asset
- SecurityMarks
- AssetResourceProperties
- StatusDetailsItem
- OrganizationSettings
- SetFindingStateRequestState
- SetIAMPolicyRequest
- FindingSourceProperties
- ListAssetsResultStateChange
- SetFindingStateRequest
- SecurityCenterProperties
- GroupAssetsResponse
- ListSourcesResponse
- GroupResultProperties
- AuditLogConfigLogType
- GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
- ListAssetsResponse
- FindingState
- Xgafv
- TestIAMPermissionsRequest
- GoogleCloudSecuritycenterV1RunAssetDiscoveryResponseState
- IAMPolicy
- Source
- TestIAMPermissionsResponse
- ListAssetsResult
- Policy
- OperationMetadata
- AuditLogConfig
- GroupResult
- OperationResponse
- SecurityMarksMarks
- GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponseState
- GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
- Binding
Cloud Security Command Center API provides access to temporal views of assets and findings within an organization.
Synopsis
- securityCenterService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type SecurityCenterAPI = OrganizationsSourcesFindingsGroupResource :<|> (OrganizationsSourcesFindingsListResource :<|> (OrganizationsSourcesFindingsSetStateResource :<|> (OrganizationsSourcesFindingsPatchResource :<|> (OrganizationsSourcesFindingsUpdateSecurityMarksResource :<|> (OrganizationsSourcesFindingsCreateResource :<|> (OrganizationsSourcesListResource :<|> (OrganizationsSourcesGetIAMPolicyResource :<|> (OrganizationsSourcesPatchResource :<|> (OrganizationsSourcesGetResource :<|> (OrganizationsSourcesCreateResource :<|> (OrganizationsSourcesSetIAMPolicyResource :<|> (OrganizationsSourcesTestIAMPermissionsResource :<|> (OrganizationsAssetsGroupResource :<|> (OrganizationsAssetsListResource :<|> (OrganizationsAssetsUpdateSecurityMarksResource :<|> (OrganizationsAssetsRunDiscoveryResource :<|> (OrganizationsOperationsListResource :<|> (OrganizationsOperationsGetResource :<|> (OrganizationsOperationsCancelResource :<|> (OrganizationsOperationsDeleteResource :<|> (OrganizationsUpdateOrganizationSettingsResource :<|> OrganizationsGetOrganizationSettingsResource)))))))))))))))))))))
- module Network.Google.Resource.SecurityCenter.Organizations.Assets.Group
- module Network.Google.Resource.SecurityCenter.Organizations.Assets.List
- module Network.Google.Resource.SecurityCenter.Organizations.Assets.RunDiscovery
- module Network.Google.Resource.SecurityCenter.Organizations.Assets.UpdateSecurityMarks
- module Network.Google.Resource.SecurityCenter.Organizations.GetOrganizationSettings
- module Network.Google.Resource.SecurityCenter.Organizations.Operations.Cancel
- module Network.Google.Resource.SecurityCenter.Organizations.Operations.Delete
- module Network.Google.Resource.SecurityCenter.Organizations.Operations.Get
- module Network.Google.Resource.SecurityCenter.Organizations.Operations.List
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Create
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.Create
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.Group
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.List
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.Patch
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.SetState
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Findings.UpdateSecurityMarks
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Get
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.GetIAMPolicy
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.List
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.Patch
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy
- module Network.Google.Resource.SecurityCenter.Organizations.Sources.TestIAMPermissions
- module Network.Google.Resource.SecurityCenter.Organizations.UpdateOrganizationSettings
- data ListFindingsResultStateChange
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data ListFindingsResponse
- listFindingsResponse :: ListFindingsResponse
- lfrReadTime :: Lens' ListFindingsResponse (Maybe UTCTime)
- lfrNextPageToken :: Lens' ListFindingsResponse (Maybe Text)
- lfrTotalSize :: Lens' ListFindingsResponse (Maybe Int32)
- lfrListFindingsResults :: Lens' ListFindingsResponse [ListFindingsResult]
- data AuditConfig
- auditConfig :: AuditConfig
- acService :: Lens' AuditConfig (Maybe Text)
- acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig]
- 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 ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)
- lorOperations :: Lens' ListOperationsResponse [Operation]
- data GetIAMPolicyRequest
- getIAMPolicyRequest :: GetIAMPolicyRequest
- data GroupFindingsResponse
- groupFindingsResponse :: GroupFindingsResponse
- gfrReadTime :: Lens' GroupFindingsResponse (Maybe UTCTime)
- gfrNextPageToken :: Lens' GroupFindingsResponse (Maybe Text)
- gfrTotalSize :: Lens' GroupFindingsResponse (Maybe Int32)
- gfrGroupByResults :: Lens' GroupFindingsResponse [GroupResult]
- data RunAssetDiscoveryRequest
- runAssetDiscoveryRequest :: RunAssetDiscoveryRequest
- data AssetDiscoveryConfigInclusionMode
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data Finding
- finding :: Finding
- fParent :: Lens' Finding (Maybe Text)
- fSourceProperties :: Lens' Finding (Maybe FindingSourceProperties)
- fState :: Lens' Finding (Maybe FindingState)
- fResourceName :: Lens' Finding (Maybe Text)
- fSecurityMarks :: Lens' Finding (Maybe SecurityMarks)
- fCategory :: Lens' Finding (Maybe Text)
- fExternalURI :: Lens' Finding (Maybe Text)
- fEventTime :: Lens' Finding (Maybe UTCTime)
- fName :: Lens' Finding (Maybe Text)
- fCreateTime :: Lens' Finding (Maybe UTCTime)
- data Empty
- empty :: Empty
- data ListFindingsResult
- listFindingsResult :: ListFindingsResult
- lfrFinding :: Lens' ListFindingsResult (Maybe Finding)
- lfrStateChange :: Lens' ListFindingsResult (Maybe ListFindingsResultStateChange)
- data GroupAssetsRequest
- groupAssetsRequest :: GroupAssetsRequest
- garGroupBy :: Lens' GroupAssetsRequest (Maybe Text)
- garReadTime :: Lens' GroupAssetsRequest (Maybe UTCTime)
- garFilter :: Lens' GroupAssetsRequest (Maybe Text)
- garPageToken :: Lens' GroupAssetsRequest (Maybe Text)
- garPageSize :: Lens' GroupAssetsRequest (Maybe Int32)
- garCompareDuration :: Lens' GroupAssetsRequest (Maybe Scientific)
- data GroupFindingsRequest
- groupFindingsRequest :: GroupFindingsRequest
- gGroupBy :: Lens' GroupFindingsRequest (Maybe Text)
- gReadTime :: Lens' GroupFindingsRequest (Maybe UTCTime)
- gFilter :: Lens' GroupFindingsRequest (Maybe Text)
- gPageToken :: Lens' GroupFindingsRequest (Maybe Text)
- gPageSize :: Lens' GroupFindingsRequest (Maybe Int32)
- gCompareDuration :: Lens' GroupFindingsRequest (Maybe Scientific)
- data AssetDiscoveryConfig
- assetDiscoveryConfig :: AssetDiscoveryConfig
- adcInclusionMode :: Lens' AssetDiscoveryConfig (Maybe AssetDiscoveryConfigInclusionMode)
- adcProjectIds :: Lens' AssetDiscoveryConfig [Text]
- data Asset
- asset :: Asset
- aSecurityMarks :: Lens' Asset (Maybe SecurityMarks)
- aResourceProperties :: Lens' Asset (Maybe AssetResourceProperties)
- aUpdateTime :: Lens' Asset (Maybe UTCTime)
- aSecurityCenterProperties :: Lens' Asset (Maybe SecurityCenterProperties)
- aName :: Lens' Asset (Maybe Text)
- aIAMPolicy :: Lens' Asset (Maybe IAMPolicy)
- aCreateTime :: Lens' Asset (Maybe UTCTime)
- data SecurityMarks
- securityMarks :: SecurityMarks
- smName :: Lens' SecurityMarks (Maybe Text)
- smMarks :: Lens' SecurityMarks (Maybe SecurityMarksMarks)
- data AssetResourceProperties
- assetResourceProperties :: HashMap Text JSONValue -> AssetResourceProperties
- arpAddtional :: Lens' AssetResourceProperties (HashMap Text JSONValue)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data OrganizationSettings
- organizationSettings :: OrganizationSettings
- osAssetDiscoveryConfig :: Lens' OrganizationSettings (Maybe AssetDiscoveryConfig)
- osEnableAssetDiscovery :: Lens' OrganizationSettings (Maybe Bool)
- osName :: Lens' OrganizationSettings (Maybe Text)
- data SetFindingStateRequestState
- data SetIAMPolicyRequest
- setIAMPolicyRequest :: SetIAMPolicyRequest
- siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask)
- siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)
- data FindingSourceProperties
- findingSourceProperties :: HashMap Text JSONValue -> FindingSourceProperties
- fspAddtional :: Lens' FindingSourceProperties (HashMap Text JSONValue)
- data ListAssetsResultStateChange
- data SetFindingStateRequest
- setFindingStateRequest :: SetFindingStateRequest
- sfsrState :: Lens' SetFindingStateRequest (Maybe SetFindingStateRequestState)
- sfsrStartTime :: Lens' SetFindingStateRequest (Maybe UTCTime)
- data SecurityCenterProperties
- securityCenterProperties :: SecurityCenterProperties
- scpResourceType :: Lens' SecurityCenterProperties (Maybe Text)
- scpResourceName :: Lens' SecurityCenterProperties (Maybe Text)
- scpResourceParent :: Lens' SecurityCenterProperties (Maybe Text)
- scpResourceProject :: Lens' SecurityCenterProperties (Maybe Text)
- scpResourceOwners :: Lens' SecurityCenterProperties [Text]
- data GroupAssetsResponse
- groupAssetsResponse :: GroupAssetsResponse
- groReadTime :: Lens' GroupAssetsResponse (Maybe UTCTime)
- groNextPageToken :: Lens' GroupAssetsResponse (Maybe Text)
- groTotalSize :: Lens' GroupAssetsResponse (Maybe Int32)
- groGroupByResults :: Lens' GroupAssetsResponse [GroupResult]
- data ListSourcesResponse
- listSourcesResponse :: ListSourcesResponse
- lsrNextPageToken :: Lens' ListSourcesResponse (Maybe Text)
- lsrSources :: Lens' ListSourcesResponse [Source]
- data GroupResultProperties
- groupResultProperties :: HashMap Text JSONValue -> GroupResultProperties
- grpAddtional :: Lens' GroupResultProperties (HashMap Text JSONValue)
- data AuditLogConfigLogType
- data GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
- googleCloudSecuritycenterV1RunAssetDiscoveryResponse :: GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
- gcsvradrState :: Lens' GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse (Maybe GoogleCloudSecuritycenterV1RunAssetDiscoveryResponseState)
- gcsvradrDuration :: Lens' GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse (Maybe Scientific)
- data ListAssetsResponse
- listAssetsResponse :: ListAssetsResponse
- larReadTime :: Lens' ListAssetsResponse (Maybe UTCTime)
- larNextPageToken :: Lens' ListAssetsResponse (Maybe Text)
- larListAssetsResults :: Lens' ListAssetsResponse [ListAssetsResult]
- larTotalSize :: Lens' ListAssetsResponse (Maybe Int32)
- data FindingState
- data Xgafv
- data TestIAMPermissionsRequest
- testIAMPermissionsRequest :: TestIAMPermissionsRequest
- tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
- data GoogleCloudSecuritycenterV1RunAssetDiscoveryResponseState
- data IAMPolicy
- iamPolicy :: IAMPolicy
- ipPolicyBlob :: Lens' IAMPolicy (Maybe Text)
- data Source
- source :: Source
- sName :: Lens' Source (Maybe Text)
- sDisplayName :: Lens' Source (Maybe Text)
- sDescription :: Lens' Source (Maybe Text)
- data TestIAMPermissionsResponse
- testIAMPermissionsResponse :: TestIAMPermissionsResponse
- tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]
- data ListAssetsResult
- listAssetsResult :: ListAssetsResult
- larAsset :: Lens' ListAssetsResult (Maybe Asset)
- larStateChange :: Lens' ListAssetsResult (Maybe ListAssetsResultStateChange)
- data Policy
- policy :: Policy
- pAuditConfigs :: Lens' Policy [AuditConfig]
- pEtag :: Lens' Policy (Maybe ByteString)
- pVersion :: Lens' Policy (Maybe Int32)
- pBindings :: Lens' Policy [Binding]
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data AuditLogConfig
- auditLogConfig :: AuditLogConfig
- alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType)
- alcExemptedMembers :: Lens' AuditLogConfig [Text]
- data GroupResult
- groupResult :: GroupResult
- grCount :: Lens' GroupResult (Maybe Int64)
- grProperties :: Lens' GroupResult (Maybe GroupResultProperties)
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data SecurityMarksMarks
- securityMarksMarks :: HashMap Text Text -> SecurityMarksMarks
- smmAddtional :: Lens' SecurityMarksMarks (HashMap Text Text)
- data GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponseState
- data GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
- googleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse :: GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
- gState :: Lens' GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse (Maybe GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponseState)
- gDuration :: Lens' GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse (Maybe Scientific)
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
Service Configuration
securityCenterService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Security Command Center 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 SecurityCenterAPI = OrganizationsSourcesFindingsGroupResource :<|> (OrganizationsSourcesFindingsListResource :<|> (OrganizationsSourcesFindingsSetStateResource :<|> (OrganizationsSourcesFindingsPatchResource :<|> (OrganizationsSourcesFindingsUpdateSecurityMarksResource :<|> (OrganizationsSourcesFindingsCreateResource :<|> (OrganizationsSourcesListResource :<|> (OrganizationsSourcesGetIAMPolicyResource :<|> (OrganizationsSourcesPatchResource :<|> (OrganizationsSourcesGetResource :<|> (OrganizationsSourcesCreateResource :<|> (OrganizationsSourcesSetIAMPolicyResource :<|> (OrganizationsSourcesTestIAMPermissionsResource :<|> (OrganizationsAssetsGroupResource :<|> (OrganizationsAssetsListResource :<|> (OrganizationsAssetsUpdateSecurityMarksResource :<|> (OrganizationsAssetsRunDiscoveryResource :<|> (OrganizationsOperationsListResource :<|> (OrganizationsOperationsGetResource :<|> (OrganizationsOperationsCancelResource :<|> (OrganizationsOperationsDeleteResource :<|> (OrganizationsUpdateOrganizationSettingsResource :<|> OrganizationsGetOrganizationSettingsResource))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the Cloud Security Command Center API service.
Resources
securitycenter.organizations.assets.group
securitycenter.organizations.assets.list
securitycenter.organizations.assets.runDiscovery
securitycenter.organizations.assets.updateSecurityMarks
securitycenter.organizations.getOrganizationSettings
securitycenter.organizations.operations.cancel
securitycenter.organizations.operations.delete
securitycenter.organizations.operations.get
securitycenter.organizations.operations.list
securitycenter.organizations.sources.create
securitycenter.organizations.sources.findings.create
securitycenter.organizations.sources.findings.group
securitycenter.organizations.sources.findings.list
securitycenter.organizations.sources.findings.patch
securitycenter.organizations.sources.findings.setState
securitycenter.organizations.sources.findings.updateSecurityMarks
securitycenter.organizations.sources.get
securitycenter.organizations.sources.getIamPolicy
securitycenter.organizations.sources.list
securitycenter.organizations.sources.patch
securitycenter.organizations.sources.setIamPolicy
securitycenter.organizations.sources.testIamPermissions
securitycenter.organizations.updateOrganizationSettings
Types
ListFindingsResultStateChange
data ListFindingsResultStateChange Source #
State change of the finding between the points in time.
Unused |
|
Changed |
|
Unchanged |
|
Added |
|
Removed |
|
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.SecurityCenter.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 # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.SecurityCenter.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" 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.
ListFindingsResponse
data ListFindingsResponse Source #
Response message for listing findings.
See: listFindingsResponse
smart constructor.
Instances
listFindingsResponse :: ListFindingsResponse Source #
Creates a value of ListFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrReadTime :: Lens' ListFindingsResponse (Maybe UTCTime) Source #
Time used for executing the list request.
lfrNextPageToken :: Lens' ListFindingsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results.
lfrTotalSize :: Lens' ListFindingsResponse (Maybe Int32) Source #
The total number of findings matching the query.
lfrListFindingsResults :: Lens' ListFindingsResponse [ListFindingsResult] Source #
Findings matching the list request.
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.
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.SecurityCenter.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 # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON Expr Source # | |
type Rep Expr Source # | |
Defined in Network.Google.SecurityCenter.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" 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.
ListOperationsResponse
data ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: listOperationsResponse
smart constructor.
Instances
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations that matches the specified filter in the request.
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.
GroupFindingsResponse
data GroupFindingsResponse Source #
Response message for group by findings.
See: groupFindingsResponse
smart constructor.
Instances
groupFindingsResponse :: GroupFindingsResponse Source #
Creates a value of GroupFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfrReadTime :: Lens' GroupFindingsResponse (Maybe UTCTime) Source #
Time used for executing the groupBy request.
gfrNextPageToken :: Lens' GroupFindingsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results.
gfrTotalSize :: Lens' GroupFindingsResponse (Maybe Int32) Source #
The total number of results matching the query.
gfrGroupByResults :: Lens' GroupFindingsResponse [GroupResult] Source #
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
RunAssetDiscoveryRequest
data RunAssetDiscoveryRequest Source #
Request message for running asset discovery for an organization.
See: runAssetDiscoveryRequest
smart constructor.
Instances
runAssetDiscoveryRequest :: RunAssetDiscoveryRequest Source #
Creates a value of RunAssetDiscoveryRequest
with the minimum fields required to make a request.
AssetDiscoveryConfigInclusionMode
data AssetDiscoveryConfigInclusionMode Source #
The mode to use for filtering asset discovery.
InclusionModeUnspecified |
|
IncludeOnly |
|
Exclude |
|
Instances
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
oDone :: Lens' Operation (Maybe Bool) Source #
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.
oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
Finding
Cloud Security Command Center (Cloud SCC) finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Cloud SCC for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.
See: finding
smart constructor.
Instances
Creates a value of Finding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fParent :: Lens' Finding (Maybe Text) Source #
The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/123/sources/456"
fSourceProperties :: Lens' Finding (Maybe FindingSourceProperties) Source #
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
fResourceName :: Lens' Finding (Maybe Text) Source #
The full resource name of the Google Cloud Platform (GCP) resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name This field is immutable after creation time.
fSecurityMarks :: Lens' Finding (Maybe SecurityMarks) Source #
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
fCategory :: Lens' Finding (Maybe Text) Source #
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
fExternalURI :: Lens' Finding (Maybe Text) Source #
The URI that, if available, points to a web page outside of Cloud SCC where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
fEventTime :: Lens' Finding (Maybe UTCTime) Source #
The time at which the event took place. For example, if the finding represents an open firewall it would capture the time the open firewall was detected.
fName :: Lens' Finding (Maybe Text) Source #
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/sources/456/findings/789"
fCreateTime :: Lens' Finding (Maybe UTCTime) Source #
The time at which the finding was created in Cloud SCC.
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.SecurityCenter.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 # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
ListFindingsResult
data ListFindingsResult Source #
Result containing the Finding and its StateChange.
See: listFindingsResult
smart constructor.
Instances
listFindingsResult :: ListFindingsResult Source #
Creates a value of ListFindingsResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrFinding :: Lens' ListFindingsResult (Maybe Finding) Source #
Finding matching the search request.
lfrStateChange :: Lens' ListFindingsResult (Maybe ListFindingsResultStateChange) Source #
State change of the finding between the points in time.
GroupAssetsRequest
data GroupAssetsRequest Source #
Request message for grouping by assets.
See: groupAssetsRequest
smart constructor.
Instances
groupAssetsRequest :: GroupAssetsRequest Source #
Creates a value of GroupAssetsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garGroupBy :: Lens' GroupAssetsRequest (Maybe Text) Source #
Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type
garReadTime :: Lens' GroupAssetsRequest (Maybe UTCTime) Source #
Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
garFilter :: Lens' GroupAssetsRequest (Maybe Text) Source #
Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | '=' update_time | '>', '<', '>=', '<=', '=' create_time | '>', '<', '>=', '<=', '=' iam_policy.policy_blob | '=', ':' resource_properties | '=', ':', '>', '<', '>=', '<=' security_marks | '=', ':' security_center_properties.resource_name | '=', ':' security_center_properties.resource_type | '=', ':' security_center_properties.resource_parent | '=', ':' security_center_properties.resource_project | '=', ':' security_center_properties.resource_owners | '=', ':' For example, `resource_properties.size = 100` is a valid filter string.
garPageToken :: Lens' GroupAssetsRequest (Maybe Text) Source #
The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.
garPageSize :: Lens' GroupAssetsRequest (Maybe Int32) Source #
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
garCompareDuration :: Lens' GroupAssetsRequest (Maybe Scientific) Source #
When compare_duration is set, the GroupResult's "state_change" property is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible "state_change" values when compare_duration is specified: * "ADDED": indicates that the asset was not present at the start of compare_duration, but present at reference_time. * "REMOVED": indicates that the asset was present at the start of compare_duration, but not present at reference_time. * "ACTIVE": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and reference_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all assets present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.
GroupFindingsRequest
data GroupFindingsRequest Source #
Request message for grouping by findings.
See: groupFindingsRequest
smart constructor.
Instances
groupFindingsRequest :: GroupFindingsRequest Source #
Creates a value of GroupFindingsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gGroupBy :: Lens' GroupFindingsRequest (Maybe Text) Source #
Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change
gReadTime :: Lens' GroupFindingsRequest (Maybe UTCTime) Source #
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
gFilter :: Lens' GroupFindingsRequest (Maybe Text) Source #
Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.
gPageToken :: Lens' GroupFindingsRequest (Maybe Text) Source #
The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
gPageSize :: Lens' GroupFindingsRequest (Maybe Int32) Source #
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
gCompareDuration :: Lens' GroupFindingsRequest (Maybe Scientific) Source #
When compare_duration is set, the GroupResult's "state_change" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible "state_change" values when compare_duration is specified: * "CHANGED": indicates that the finding was present at the start of compare_duration, but changed its state at read_time. * "UNCHANGED": indicates that the finding was present at the start of compare_duration and did not change state at read_time. * "ADDED": indicates that the finding was not present at the start of compare_duration, but was present at read_time. If compare_duration is not specified, then the only possible state_change is "UNUSED", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.
AssetDiscoveryConfig
data AssetDiscoveryConfig Source #
The configuration used for Asset Discovery runs.
See: assetDiscoveryConfig
smart constructor.
Instances
assetDiscoveryConfig :: AssetDiscoveryConfig Source #
Creates a value of AssetDiscoveryConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adcInclusionMode :: Lens' AssetDiscoveryConfig (Maybe AssetDiscoveryConfigInclusionMode) Source #
The mode to use for filtering asset discovery.
adcProjectIds :: Lens' AssetDiscoveryConfig [Text] Source #
The project ids to use for filtering asset discovery.
Asset
Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud Platform (GCP) resource. The Asset is a Cloud SCC resource that captures information about a single GCP resource. All modifications to an Asset are only within the context of Cloud SCC and don't affect the referenced GCP resource.
See: asset
smart constructor.
Instances
Creates a value of Asset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aSecurityMarks :: Lens' Asset (Maybe SecurityMarks) Source #
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
aResourceProperties :: Lens' Asset (Maybe AssetResourceProperties) Source #
Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
aUpdateTime :: Lens' Asset (Maybe UTCTime) Source #
The time at which the asset was last updated, added, or deleted in Cloud SCC.
aSecurityCenterProperties :: Lens' Asset (Maybe SecurityCenterProperties) Source #
Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.
aName :: Lens' Asset (Maybe Text) Source #
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/assets/456".
aIAMPolicy :: Lens' Asset (Maybe IAMPolicy) Source #
IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is managed and defined by the GCP resource and cannot be modified by the user.
aCreateTime :: Lens' Asset (Maybe UTCTime) Source #
The time at which the asset was created in Cloud SCC.
SecurityMarks
data SecurityMarks Source #
User specified security marks that are attached to the parent Cloud Security Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud SCC organization -- they can be modified and viewed by all users who have proper permissions on the organization.
See: securityMarks
smart constructor.
Instances
securityMarks :: SecurityMarks Source #
Creates a value of SecurityMarks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smName :: Lens' SecurityMarks (Maybe Text) Source #
The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/123/assets/456/securityMarks" "organizations/123/sources/456/findings/789/securityMarks".
smMarks :: Lens' SecurityMarks (Maybe SecurityMarksMarks) Source #
Mutable user specified security marks belonging to the parent resource. Constraints are as follows: - Keys and values are treated as case insensitive - Keys must be between 1 - 256 characters (inclusive) - Keys must be letters, numbers, underscores, or dashes - Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
AssetResourceProperties
data AssetResourceProperties Source #
Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
See: assetResourceProperties
smart constructor.
Instances
assetResourceProperties Source #
Creates a value of AssetResourceProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
OrganizationSettings
data OrganizationSettings Source #
User specified settings that are attached to the Cloud Security Command Center (Cloud SCC) organization.
See: organizationSettings
smart constructor.
Instances
organizationSettings :: OrganizationSettings Source #
Creates a value of OrganizationSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
osAssetDiscoveryConfig :: Lens' OrganizationSettings (Maybe AssetDiscoveryConfig) Source #
The configuration used for Asset Discovery runs.
osEnableAssetDiscovery :: Lens' OrganizationSettings (Maybe Bool) Source #
A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur.
osName :: Lens' OrganizationSettings (Maybe Text) Source #
The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/organizationSettings".
SetFindingStateRequestState
data SetFindingStateRequestState Source #
The desired State of the finding.
StateUnspecified |
|
Active |
|
Inactive |
|
Instances
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.
FindingSourceProperties
data FindingSourceProperties Source #
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
See: findingSourceProperties
smart constructor.
Instances
findingSourceProperties Source #
Creates a value of FindingSourceProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ListAssetsResultStateChange
data ListAssetsResultStateChange Source #
State change of the asset between the points in time.
LARSCUnused |
|
LARSCAdded |
|
LARSCRemoved |
|
LARSCActive |
|
Instances
SetFindingStateRequest
data SetFindingStateRequest Source #
Request message for updating a finding's state.
See: setFindingStateRequest
smart constructor.
Instances
setFindingStateRequest :: SetFindingStateRequest Source #
Creates a value of SetFindingStateRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sfsrState :: Lens' SetFindingStateRequest (Maybe SetFindingStateRequestState) Source #
The desired State of the finding.
sfsrStartTime :: Lens' SetFindingStateRequest (Maybe UTCTime) Source #
The time at which the updated state takes effect.
SecurityCenterProperties
data SecurityCenterProperties Source #
Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.
See: securityCenterProperties
smart constructor.
Instances
securityCenterProperties :: SecurityCenterProperties Source #
Creates a value of SecurityCenterProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scpResourceType :: Lens' SecurityCenterProperties (Maybe Text) Source #
The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.
scpResourceName :: Lens' SecurityCenterProperties (Maybe Text) Source #
The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
scpResourceParent :: Lens' SecurityCenterProperties (Maybe Text) Source #
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
scpResourceProject :: Lens' SecurityCenterProperties (Maybe Text) Source #
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
scpResourceOwners :: Lens' SecurityCenterProperties [Text] Source #
Owners of the Google Cloud resource.
GroupAssetsResponse
data GroupAssetsResponse Source #
Response message for grouping by assets.
See: groupAssetsResponse
smart constructor.
Instances
groupAssetsResponse :: GroupAssetsResponse Source #
Creates a value of GroupAssetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
groReadTime :: Lens' GroupAssetsResponse (Maybe UTCTime) Source #
Time used for executing the groupBy request.
groNextPageToken :: Lens' GroupAssetsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results.
groTotalSize :: Lens' GroupAssetsResponse (Maybe Int32) Source #
The total number of results matching the query.
groGroupByResults :: Lens' GroupAssetsResponse [GroupResult] Source #
Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.
ListSourcesResponse
data ListSourcesResponse Source #
Response message for listing sources.
See: listSourcesResponse
smart constructor.
Instances
listSourcesResponse :: ListSourcesResponse Source #
Creates a value of ListSourcesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrNextPageToken :: Lens' ListSourcesResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results.
lsrSources :: Lens' ListSourcesResponse [Source] Source #
Sources belonging to the requested parent.
GroupResultProperties
data GroupResultProperties Source #
Properties matching the groupBy fields in the request.
See: groupResultProperties
smart constructor.
Instances
groupResultProperties Source #
Creates a value of GroupResultProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AuditLogConfigLogType
data AuditLogConfigLogType Source #
The log type that this config enables.
LogTypeUnspecified |
|
AdminRead |
|
DataWrite |
|
DataRead |
|
Instances
GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
data GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse Source #
Response of asset discovery run
See: googleCloudSecuritycenterV1RunAssetDiscoveryResponse
smart constructor.
Instances
googleCloudSecuritycenterV1RunAssetDiscoveryResponse :: GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse Source #
Creates a value of GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcsvradrState :: Lens' GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse (Maybe GoogleCloudSecuritycenterV1RunAssetDiscoveryResponseState) Source #
The state of an asset discovery run.
gcsvradrDuration :: Lens' GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse (Maybe Scientific) Source #
The duration between asset discovery run start and end
ListAssetsResponse
data ListAssetsResponse Source #
Response message for listing assets.
See: listAssetsResponse
smart constructor.
Instances
listAssetsResponse :: ListAssetsResponse Source #
Creates a value of ListAssetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
larReadTime :: Lens' ListAssetsResponse (Maybe UTCTime) Source #
Time used for executing the list request.
larNextPageToken :: Lens' ListAssetsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results.
larListAssetsResults :: Lens' ListAssetsResponse [ListAssetsResult] Source #
Assets matching the list request.
larTotalSize :: Lens' ListAssetsResponse (Maybe Int32) Source #
The total number of assets matching the query.
FindingState
data FindingState Source #
The state of the finding.
FSStateUnspecified |
|
FSActive |
|
FSInactive |
|
Instances
Xgafv
V1 error format.
Instances
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.
GoogleCloudSecuritycenterV1RunAssetDiscoveryResponseState
data GoogleCloudSecuritycenterV1RunAssetDiscoveryResponseState Source #
The state of an asset discovery run.
GCSVRADRSStateUnspecified |
|
GCSVRADRSCompleted |
|
GCSVRADRSSuperseded |
|
GCSVRADRSTerminated |
|
Instances
IAMPolicy
IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is managed and defined by the GCP resource and cannot be modified by the user.
See: iamPolicy
smart constructor.
Instances
Eq IAMPolicy Source # | |
Data IAMPolicy Source # | |
Defined in Network.Google.SecurityCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IAMPolicy -> c IAMPolicy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IAMPolicy # toConstr :: IAMPolicy -> Constr # dataTypeOf :: IAMPolicy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IAMPolicy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IAMPolicy) # gmapT :: (forall b. Data b => b -> b) -> IAMPolicy -> IAMPolicy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IAMPolicy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IAMPolicy -> r # gmapQ :: (forall d. Data d => d -> u) -> IAMPolicy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IAMPolicy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IAMPolicy -> m IAMPolicy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMPolicy -> m IAMPolicy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMPolicy -> m IAMPolicy # | |
Show IAMPolicy Source # | |
Generic IAMPolicy Source # | |
ToJSON IAMPolicy Source # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON IAMPolicy Source # | |
type Rep IAMPolicy Source # | |
Defined in Network.Google.SecurityCenter.Types.Product type Rep IAMPolicy = D1 (MetaData "IAMPolicy" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" True) (C1 (MetaCons "IAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_ipPolicyBlob") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) |
iamPolicy :: IAMPolicy Source #
Creates a value of IAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ipPolicyBlob :: Lens' IAMPolicy (Maybe Text) Source #
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.
Source
Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
See: source
smart constructor.
Instances
Eq Source Source # | |
Data Source Source # | |
Defined in Network.Google.SecurityCenter.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 # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON Source Source # | |
type Rep Source Source # | |
Defined in Network.Google.SecurityCenter.Types.Product type Rep Source = D1 (MetaData "Source" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "Source'" PrefixI True) (S1 (MetaSel (Just "_sName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
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:
sName :: Lens' Source (Maybe Text) Source #
The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/sources/456"
sDisplayName :: Lens' Source (Maybe Text) Source #
The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters. This is captured by the regular expression: [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
sDescription :: Lens' Source (Maybe Text) Source #
The description of the source (max of 1024 characters). Example: "Cloud Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated/insecure libraries."
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.
ListAssetsResult
data ListAssetsResult Source #
Result containing the Asset and its State.
See: listAssetsResult
smart constructor.
Instances
listAssetsResult :: ListAssetsResult Source #
Creates a value of ListAssetsResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
larStateChange :: Lens' ListAssetsResult (Maybe ListAssetsResultStateChange) Source #
State change of the asset between the points in time.
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.SecurityCenter.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 # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Network.Google.SecurityCenter.Types.Product type Rep Policy = D1 (MetaData "Policy" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" 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.
OperationMetadata
data OperationMetadata Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationMetadata
smart constructor.
Instances
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
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.
GroupResult
data GroupResult Source #
Result containing the properties and count of a groupBy request.
See: groupResult
smart constructor.
Instances
groupResult :: GroupResult Source #
Creates a value of GroupResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grCount :: Lens' GroupResult (Maybe Int64) Source #
Total count of resources for the given properties.
grProperties :: Lens' GroupResult (Maybe GroupResultProperties) Source #
Properties matching the groupBy fields in the request.
OperationResponse
data OperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
See: operationResponse
smart constructor.
Instances
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
SecurityMarksMarks
data SecurityMarksMarks Source #
Mutable user specified security marks belonging to the parent resource. Constraints are as follows: - Keys and values are treated as case insensitive - Keys must be between 1 - 256 characters (inclusive) - Keys must be letters, numbers, underscores, or dashes - Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
See: securityMarksMarks
smart constructor.
Instances
Creates a value of SecurityMarksMarks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponseState
data GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponseState Source #
The state of an asset discovery run.
GStateUnspecified |
|
GCompleted |
|
GSuperseded |
|
GTerminated |
|
Instances
GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
data GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse Source #
Response of asset discovery run
See: googleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
smart constructor.
Instances
googleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse :: GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse Source #
Creates a value of GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gState :: Lens' GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse (Maybe GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponseState) Source #
The state of an asset discovery run.
gDuration :: Lens' GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse (Maybe Scientific) Source #
The duration between asset discovery run start and end
Binding
Associates `members` with a `role`.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.SecurityCenter.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 # | |
Defined in Network.Google.SecurityCenter.Types.Product | |
FromJSON Binding Source # | |
type Rep Binding Source # | |
Defined in Network.Google.SecurityCenter.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.SecurityCenter.Types.Product" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" 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}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.