genproto: google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1 Index | Files

package securitycenter

import "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1"

Index

Package Files

asset.pb.go finding.pb.go notification_config.pb.go notification_message.pb.go organization_settings.pb.go resource.pb.go run_asset_discovery_response.pb.go security_marks.pb.go securitycenter_service.pb.go source.pb.go

Variables

var (
    Finding_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "ACTIVE",
        2:  "INACTIVE",
    }
    Finding_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "ACTIVE":            1,
        "INACTIVE":          2,
    }
)

Enum value maps for Finding_State.

var (
    NotificationConfig_EventType_name = map[int32]string{
        0:  "EVENT_TYPE_UNSPECIFIED",
        1:  "FINDING",
    }
    NotificationConfig_EventType_value = map[string]int32{
        "EVENT_TYPE_UNSPECIFIED": 0,
        "FINDING":                1,
    }
)

Enum value maps for NotificationConfig_EventType.

var (
    OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name = map[int32]string{
        0:  "INCLUSION_MODE_UNSPECIFIED",
        1:  "INCLUDE_ONLY",
        2:  "EXCLUDE",
    }
    OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value = map[string]int32{
        "INCLUSION_MODE_UNSPECIFIED": 0,
        "INCLUDE_ONLY":               1,
        "EXCLUDE":                    2,
    }
)

Enum value maps for OrganizationSettings_AssetDiscoveryConfig_InclusionMode.

var (
    RunAssetDiscoveryResponse_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "COMPLETED",
        2:  "SUPERSEDED",
        3:  "TERMINATED",
    }
    RunAssetDiscoveryResponse_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "COMPLETED":         1,
        "SUPERSEDED":        2,
        "TERMINATED":        3,
    }
)

Enum value maps for RunAssetDiscoveryResponse_State.

var (
    ListAssetsResponse_ListAssetsResult_StateChange_name = map[int32]string{
        0:  "UNUSED",
        1:  "ADDED",
        2:  "REMOVED",
        3:  "ACTIVE",
    }
    ListAssetsResponse_ListAssetsResult_StateChange_value = map[string]int32{
        "UNUSED":  0,
        "ADDED":   1,
        "REMOVED": 2,
        "ACTIVE":  3,
    }
)

Enum value maps for ListAssetsResponse_ListAssetsResult_StateChange.

var (
    ListFindingsResponse_ListFindingsResult_StateChange_name = map[int32]string{
        0:  "UNUSED",
        1:  "CHANGED",
        2:  "UNCHANGED",
        3:  "ADDED",
        4:  "REMOVED",
    }
    ListFindingsResponse_ListFindingsResult_StateChange_value = map[string]int32{
        "UNUSED":    0,
        "CHANGED":   1,
        "UNCHANGED": 2,
        "ADDED":     3,
        "REMOVED":   4,
    }
)

Enum value maps for ListFindingsResponse_ListFindingsResult_StateChange.

var File_google_cloud_securitycenter_v1p1beta1_asset_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_finding_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_notification_config_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_notification_message_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_organization_settings_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_resource_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_security_marks_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_v1p1beta1_source_proto protoreflect.FileDescriptor

func RegisterSecurityCenterServer Uses

func RegisterSecurityCenterServer(s *grpc.Server, srv SecurityCenterServer)

type Asset Uses

type Asset struct {

    // The relative resource name of this asset. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Example:
    // "organizations/{organization_id}/assets/{asset_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Security Command Center managed properties. These properties are managed by
    // Security Command Center and cannot be modified by the user.
    SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"`
    // Resource managed properties. These properties are managed and defined by
    // the Google Cloud resource and cannot be modified by the user.
    ResourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // User specified security marks. These marks are entirely managed by the user
    // and come from the SecurityMarks resource that belongs to the asset.
    SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
    // The time at which the asset was created in Security Command Center.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // The time at which the asset was last updated, added, or deleted in Cloud
    // SCC.
    UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Cloud IAM Policy information associated with the Google Cloud resource
    // described by the Security Command Center asset. This information is managed
    // and defined by the Google Cloud resource and cannot be modified by the
    // user.
    IamPolicy *Asset_IamPolicy `protobuf:"bytes,11,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
    // contains filtered or unexported fields
}

Security Command Center representation of a Google Cloud resource.

The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.

func (*Asset) Descriptor Uses

func (*Asset) Descriptor() ([]byte, []int)

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetCreateTime Uses

func (x *Asset) GetCreateTime() *timestamp.Timestamp

func (*Asset) GetIamPolicy Uses

func (x *Asset) GetIamPolicy() *Asset_IamPolicy

func (*Asset) GetName Uses

func (x *Asset) GetName() string

func (*Asset) GetResourceProperties Uses

func (x *Asset) GetResourceProperties() map[string]*_struct.Value

func (*Asset) GetSecurityCenterProperties Uses

func (x *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties

func (*Asset) GetSecurityMarks Uses

func (x *Asset) GetSecurityMarks() *SecurityMarks

func (*Asset) GetUpdateTime Uses

func (x *Asset) GetUpdateTime() *timestamp.Timestamp

func (*Asset) ProtoMessage Uses

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect Uses

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset Uses

func (x *Asset) Reset()

func (*Asset) String Uses

func (x *Asset) String() string

type Asset_IamPolicy Uses

type Asset_IamPolicy struct {

    // The JSON representation of the Policy associated with the asset.
    // See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
    // format details.
    PolicyBlob string `protobuf:"bytes,1,opt,name=policy_blob,json=policyBlob,proto3" json:"policy_blob,omitempty"`
    // contains filtered or unexported fields
}

Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.

func (*Asset_IamPolicy) Descriptor Uses

func (*Asset_IamPolicy) Descriptor() ([]byte, []int)

Deprecated: Use Asset_IamPolicy.ProtoReflect.Descriptor instead.

func (*Asset_IamPolicy) GetPolicyBlob Uses

func (x *Asset_IamPolicy) GetPolicyBlob() string

func (*Asset_IamPolicy) ProtoMessage Uses

func (*Asset_IamPolicy) ProtoMessage()

func (*Asset_IamPolicy) ProtoReflect Uses

func (x *Asset_IamPolicy) ProtoReflect() protoreflect.Message

func (*Asset_IamPolicy) Reset Uses

func (x *Asset_IamPolicy) Reset()

func (*Asset_IamPolicy) String Uses

func (x *Asset_IamPolicy) String() string

type Asset_SecurityCenterProperties Uses

type Asset_SecurityCenterProperties struct {

    // The full resource name of the Google Cloud resource this asset
    // represents. This field is immutable after create time. See:
    // https://cloud.google.com/apis/design/resource_names#full_resource_name
    ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
    // The type of the Google Cloud resource. Examples include: APPLICATION,
    // PROJECT, and ORGANIZATION. This is a case insensitive field defined by
    // Security Command Center and/or the producer of the resource and is
    // immutable after create time.
    ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
    // The full resource name of the immediate parent of the resource. See:
    // https://cloud.google.com/apis/design/resource_names#full_resource_name
    ResourceParent string `protobuf:"bytes,3,opt,name=resource_parent,json=resourceParent,proto3" json:"resource_parent,omitempty"`
    // The full resource name of the project the resource belongs to. See:
    // https://cloud.google.com/apis/design/resource_names#full_resource_name
    ResourceProject string `protobuf:"bytes,4,opt,name=resource_project,json=resourceProject,proto3" json:"resource_project,omitempty"`
    // Owners of the Google Cloud resource.
    ResourceOwners []string `protobuf:"bytes,5,rep,name=resource_owners,json=resourceOwners,proto3" json:"resource_owners,omitempty"`
    // The user defined display name for this resource.
    ResourceDisplayName string `protobuf:"bytes,6,opt,name=resource_display_name,json=resourceDisplayName,proto3" json:"resource_display_name,omitempty"`
    // The user defined display name for the parent of this resource.
    ResourceParentDisplayName string `protobuf:"bytes,7,opt,name=resource_parent_display_name,json=resourceParentDisplayName,proto3" json:"resource_parent_display_name,omitempty"`
    // The user defined display name for the project of this resource.
    ResourceProjectDisplayName string `protobuf:"bytes,8,opt,name=resource_project_display_name,json=resourceProjectDisplayName,proto3" json:"resource_project_display_name,omitempty"`
    // contains filtered or unexported fields
}

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

func (*Asset_SecurityCenterProperties) Descriptor Uses

func (*Asset_SecurityCenterProperties) Descriptor() ([]byte, []int)

Deprecated: Use Asset_SecurityCenterProperties.ProtoReflect.Descriptor instead.

func (*Asset_SecurityCenterProperties) GetResourceDisplayName Uses

func (x *Asset_SecurityCenterProperties) GetResourceDisplayName() string

func (*Asset_SecurityCenterProperties) GetResourceName Uses

func (x *Asset_SecurityCenterProperties) GetResourceName() string

func (*Asset_SecurityCenterProperties) GetResourceOwners Uses

func (x *Asset_SecurityCenterProperties) GetResourceOwners() []string

func (*Asset_SecurityCenterProperties) GetResourceParent Uses

func (x *Asset_SecurityCenterProperties) GetResourceParent() string

func (*Asset_SecurityCenterProperties) GetResourceParentDisplayName Uses

func (x *Asset_SecurityCenterProperties) GetResourceParentDisplayName() string

func (*Asset_SecurityCenterProperties) GetResourceProject Uses

func (x *Asset_SecurityCenterProperties) GetResourceProject() string

func (*Asset_SecurityCenterProperties) GetResourceProjectDisplayName Uses

func (x *Asset_SecurityCenterProperties) GetResourceProjectDisplayName() string

func (*Asset_SecurityCenterProperties) GetResourceType Uses

func (x *Asset_SecurityCenterProperties) GetResourceType() string

func (*Asset_SecurityCenterProperties) ProtoMessage Uses

func (*Asset_SecurityCenterProperties) ProtoMessage()

func (*Asset_SecurityCenterProperties) ProtoReflect Uses

func (x *Asset_SecurityCenterProperties) ProtoReflect() protoreflect.Message

func (*Asset_SecurityCenterProperties) Reset Uses

func (x *Asset_SecurityCenterProperties) Reset()

func (*Asset_SecurityCenterProperties) String Uses

func (x *Asset_SecurityCenterProperties) String() string

type CreateFindingRequest Uses

type CreateFindingRequest struct {

    // Required. Resource name of the new finding's parent. Its format should be
    // "organizations/[organization_id]/sources/[source_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Unique identifier provided by the client within the parent scope.
    // It must be alphanumeric and less than or equal to 32 characters and
    // greater than 0 characters in length.
    FindingId string `protobuf:"bytes,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"`
    // Required. The Finding being created. The name and security_marks will be
    // ignored as they are both output only fields on this resource.
    Finding *Finding `protobuf:"bytes,3,opt,name=finding,proto3" json:"finding,omitempty"`
    // contains filtered or unexported fields
}

Request message for creating a finding.

func (*CreateFindingRequest) Descriptor Uses

func (*CreateFindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFindingRequest.ProtoReflect.Descriptor instead.

func (*CreateFindingRequest) GetFinding Uses

func (x *CreateFindingRequest) GetFinding() *Finding

func (*CreateFindingRequest) GetFindingId Uses

func (x *CreateFindingRequest) GetFindingId() string

func (*CreateFindingRequest) GetParent Uses

func (x *CreateFindingRequest) GetParent() string

func (*CreateFindingRequest) ProtoMessage Uses

func (*CreateFindingRequest) ProtoMessage()

func (*CreateFindingRequest) ProtoReflect Uses

func (x *CreateFindingRequest) ProtoReflect() protoreflect.Message

func (*CreateFindingRequest) Reset Uses

func (x *CreateFindingRequest) Reset()

func (*CreateFindingRequest) String Uses

func (x *CreateFindingRequest) String() string

type CreateNotificationConfigRequest Uses

type CreateNotificationConfigRequest struct {

    // Required. Resource name of the new notification config's parent. Its format
    // is "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required.
    // Unique identifier provided by the client within the parent scope.
    // It must be between 1 and 128 characters, and contains alphanumeric
    // characters, underscores or hyphens only.
    ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
    // Required. The notification config being created. The name and the service
    // account will be ignored as they are both output only fields on this
    // resource.
    NotificationConfig *NotificationConfig `protobuf:"bytes,3,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
    // contains filtered or unexported fields
}

Request message for creating a notification config.

func (*CreateNotificationConfigRequest) Descriptor Uses

func (*CreateNotificationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNotificationConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateNotificationConfigRequest) GetConfigId Uses

func (x *CreateNotificationConfigRequest) GetConfigId() string

func (*CreateNotificationConfigRequest) GetNotificationConfig Uses

func (x *CreateNotificationConfigRequest) GetNotificationConfig() *NotificationConfig

func (*CreateNotificationConfigRequest) GetParent Uses

func (x *CreateNotificationConfigRequest) GetParent() string

func (*CreateNotificationConfigRequest) ProtoMessage Uses

func (*CreateNotificationConfigRequest) ProtoMessage()

func (*CreateNotificationConfigRequest) ProtoReflect Uses

func (x *CreateNotificationConfigRequest) ProtoReflect() protoreflect.Message

func (*CreateNotificationConfigRequest) Reset Uses

func (x *CreateNotificationConfigRequest) Reset()

func (*CreateNotificationConfigRequest) String Uses

func (x *CreateNotificationConfigRequest) String() string

type CreateSourceRequest Uses

type CreateSourceRequest struct {

    // Required. Resource name of the new source's parent. Its format should be
    // "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The Source being created, only the display_name and description
    // will be used. All other fields will be ignored.
    Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
    // contains filtered or unexported fields
}

Request message for creating a source.

func (*CreateSourceRequest) Descriptor Uses

func (*CreateSourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSourceRequest.ProtoReflect.Descriptor instead.

func (*CreateSourceRequest) GetParent Uses

func (x *CreateSourceRequest) GetParent() string

func (*CreateSourceRequest) GetSource Uses

func (x *CreateSourceRequest) GetSource() *Source

func (*CreateSourceRequest) ProtoMessage Uses

func (*CreateSourceRequest) ProtoMessage()

func (*CreateSourceRequest) ProtoReflect Uses

func (x *CreateSourceRequest) ProtoReflect() protoreflect.Message

func (*CreateSourceRequest) Reset Uses

func (x *CreateSourceRequest) Reset()

func (*CreateSourceRequest) String Uses

func (x *CreateSourceRequest) String() string

type DeleteNotificationConfigRequest Uses

type DeleteNotificationConfigRequest struct {

    // Required. Name of the notification config to delete. Its format is
    // "organizations/[organization_id]/notificationConfigs/[config_id]".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for deleting a notification config.

func (*DeleteNotificationConfigRequest) Descriptor Uses

func (*DeleteNotificationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotificationConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationConfigRequest) GetName Uses

func (x *DeleteNotificationConfigRequest) GetName() string

func (*DeleteNotificationConfigRequest) ProtoMessage Uses

func (*DeleteNotificationConfigRequest) ProtoMessage()

func (*DeleteNotificationConfigRequest) ProtoReflect Uses

func (x *DeleteNotificationConfigRequest) ProtoReflect() protoreflect.Message

func (*DeleteNotificationConfigRequest) Reset Uses

func (x *DeleteNotificationConfigRequest) Reset()

func (*DeleteNotificationConfigRequest) String Uses

func (x *DeleteNotificationConfigRequest) String() string

type Finding Uses

type Finding struct {

    // The relative resource name of this finding. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Example:
    // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // 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/{organization_id}/sources/{source_id}"
    Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
    // For findings on Google Cloud resources, the full resource
    // name of the Google Cloud resource this finding is for. See:
    // https://cloud.google.com/apis/design/resource_names#full_resource_name
    // When the finding is for a non-Google Cloud resource, the resourceName can
    // be a customer or partner defined string. This field is immutable after
    // creation time.
    ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
    // The state of the finding.
    State Finding_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_State" json:"state,omitempty"`
    // The additional taxonomy group within findings from a given source.
    // This field is immutable after creation time.
    // Example: "XSS_FLASH_INJECTION"
    Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
    // The URI that, if available, points to a web page outside of Security
    // Command Center where additional information about the finding can be found.
    // This field is guaranteed to be either empty or a well formed URL.
    ExternalUri string `protobuf:"bytes,6,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
    // 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.
    SourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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.
    SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
    // The time at which the event took place. For example, if the finding
    // represents an open firewall it would capture the time the detector believes
    // the firewall became open. The accuracy is determined by the detector.
    EventTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
    // The time at which the finding was created in Security Command Center.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // contains filtered or unexported fields
}

Security Command Center finding.

A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.

func (*Finding) Descriptor Uses

func (*Finding) Descriptor() ([]byte, []int)

Deprecated: Use Finding.ProtoReflect.Descriptor instead.

func (*Finding) GetCategory Uses

func (x *Finding) GetCategory() string

func (*Finding) GetCreateTime Uses

func (x *Finding) GetCreateTime() *timestamp.Timestamp

func (*Finding) GetEventTime Uses

func (x *Finding) GetEventTime() *timestamp.Timestamp

func (*Finding) GetExternalUri Uses

func (x *Finding) GetExternalUri() string

func (*Finding) GetName Uses

func (x *Finding) GetName() string

func (*Finding) GetParent Uses

func (x *Finding) GetParent() string

func (*Finding) GetResourceName Uses

func (x *Finding) GetResourceName() string

func (*Finding) GetSecurityMarks Uses

func (x *Finding) GetSecurityMarks() *SecurityMarks

func (*Finding) GetSourceProperties Uses

func (x *Finding) GetSourceProperties() map[string]*_struct.Value

func (*Finding) GetState Uses

func (x *Finding) GetState() Finding_State

func (*Finding) ProtoMessage Uses

func (*Finding) ProtoMessage()

func (*Finding) ProtoReflect Uses

func (x *Finding) ProtoReflect() protoreflect.Message

func (*Finding) Reset Uses

func (x *Finding) Reset()

func (*Finding) String Uses

func (x *Finding) String() string

type Finding_State Uses

type Finding_State int32

The state of the finding.

const (
    // Unspecified state.
    Finding_STATE_UNSPECIFIED Finding_State = 0
    // The finding requires attention and has not been addressed yet.
    Finding_ACTIVE Finding_State = 1
    // The finding has been fixed, triaged as a non-issue or otherwise addressed
    // and is no longer active.
    Finding_INACTIVE Finding_State = 2
)

func (Finding_State) Descriptor Uses

func (Finding_State) Descriptor() protoreflect.EnumDescriptor

func (Finding_State) Enum Uses

func (x Finding_State) Enum() *Finding_State

func (Finding_State) EnumDescriptor Uses

func (Finding_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Finding_State.Descriptor instead.

func (Finding_State) Number Uses

func (x Finding_State) Number() protoreflect.EnumNumber

func (Finding_State) String Uses

func (x Finding_State) String() string

func (Finding_State) Type Uses

func (Finding_State) Type() protoreflect.EnumType

type GetNotificationConfigRequest Uses

type GetNotificationConfigRequest struct {

    // Required. Name of the notification config to get. Its format is
    // "organizations/[organization_id]/notificationConfigs/[config_id]".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for getting a notification config.

func (*GetNotificationConfigRequest) Descriptor Uses

func (*GetNotificationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNotificationConfigRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationConfigRequest) GetName Uses

func (x *GetNotificationConfigRequest) GetName() string

func (*GetNotificationConfigRequest) ProtoMessage Uses

func (*GetNotificationConfigRequest) ProtoMessage()

func (*GetNotificationConfigRequest) ProtoReflect Uses

func (x *GetNotificationConfigRequest) ProtoReflect() protoreflect.Message

func (*GetNotificationConfigRequest) Reset Uses

func (x *GetNotificationConfigRequest) Reset()

func (*GetNotificationConfigRequest) String Uses

func (x *GetNotificationConfigRequest) String() string

type GetOrganizationSettingsRequest Uses

type GetOrganizationSettingsRequest struct {

    // Required. Name of the organization to get organization settings for. Its
    // format is "organizations/[organization_id]/organizationSettings".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for getting organization settings.

func (*GetOrganizationSettingsRequest) Descriptor Uses

func (*GetOrganizationSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationSettingsRequest) GetName Uses

func (x *GetOrganizationSettingsRequest) GetName() string

func (*GetOrganizationSettingsRequest) ProtoMessage Uses

func (*GetOrganizationSettingsRequest) ProtoMessage()

func (*GetOrganizationSettingsRequest) ProtoReflect Uses

func (x *GetOrganizationSettingsRequest) ProtoReflect() protoreflect.Message

func (*GetOrganizationSettingsRequest) Reset Uses

func (x *GetOrganizationSettingsRequest) Reset()

func (*GetOrganizationSettingsRequest) String Uses

func (x *GetOrganizationSettingsRequest) String() string

type GetSourceRequest Uses

type GetSourceRequest struct {

    // Required. Relative resource name of the source. Its format is
    // "organizations/[organization_id]/source/[source_id]".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for getting a source.

func (*GetSourceRequest) Descriptor Uses

func (*GetSourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSourceRequest.ProtoReflect.Descriptor instead.

func (*GetSourceRequest) GetName Uses

func (x *GetSourceRequest) GetName() string

func (*GetSourceRequest) ProtoMessage Uses

func (*GetSourceRequest) ProtoMessage()

func (*GetSourceRequest) ProtoReflect Uses

func (x *GetSourceRequest) ProtoReflect() protoreflect.Message

func (*GetSourceRequest) Reset Uses

func (x *GetSourceRequest) Reset()

func (*GetSourceRequest) String Uses

func (x *GetSourceRequest) String() string

type GroupAssetsRequest Uses

type GroupAssetsRequest struct {

    // Required. Name of the organization to groupBy. Its format is
    // "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // 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 `<field> <operator> <value>` 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: `=`, `>`, `<`, `>=`, `<=`
    //
    //   Usage: This should be milliseconds since epoch or an RFC3339 string.
    //   Examples:
    //     `update_time = "2019-06-10T16:07:18-07:00"`
    //     `update_time = 1560208038000`
    //
    // * create_time: `=`, `>`, `<`, `>=`, `<=`
    //
    //   Usage: This should be milliseconds since epoch or an RFC3339 string.
    //   Examples:
    //     `create_time = "2019-06-10T16:07:18-07:00"`
    //     `create_time = 1560208038000`
    //
    // * iam_policy.policy_blob: `=`, `:`
    // * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
    // * security_marks.marks: `=`, `:`
    // * security_center_properties.resource_name: `=`, `:`
    // * security_center_properties.resource_name_display_name: `=`, `:`
    // * security_center_properties.resource_type: `=`, `:`
    // * security_center_properties.resource_parent: `=`, `:`
    // * security_center_properties.resource_parent_display_name: `=`, `:`
    // * security_center_properties.resource_project: `=`, `:`
    // * security_center_properties.resource_project_display_name: `=`, `:`
    // * security_center_properties.resource_owners: `=`, `:`
    //
    // For example, `resource_properties.size = 100` is a valid filter string.
    //
    // Use a partial match on the empty string to filter based on a property
    // existing: `resource_properties.my_property : ""`
    //
    // Use a negated partial match on the empty string to filter based on a
    // property not existing: `-resource_properties.my_property : ""`
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // Required. 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_project_display_name
    // * security_center_properties.resource_type
    // * security_center_properties.resource_parent
    // * security_center_properties.resource_parent_display_name
    //
    // The following fields are supported when compare_duration is set:
    //
    // * security_center_properties.resource_type
    // * security_center_properties.resource_project_display_name
    // * security_center_properties.resource_parent_display_name
    GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
    // 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`.
    CompareDuration *duration.Duration `protobuf:"bytes,4,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"`
    // 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.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // 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.
    PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The maximum number of results to return in a single response. Default is
    // 10, minimum is 1, maximum is 1000.
    PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // contains filtered or unexported fields
}

Request message for grouping by assets.

func (*GroupAssetsRequest) Descriptor Uses

func (*GroupAssetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GroupAssetsRequest.ProtoReflect.Descriptor instead.

func (*GroupAssetsRequest) GetCompareDuration Uses

func (x *GroupAssetsRequest) GetCompareDuration() *duration.Duration

func (*GroupAssetsRequest) GetFilter Uses

func (x *GroupAssetsRequest) GetFilter() string

func (*GroupAssetsRequest) GetGroupBy Uses

func (x *GroupAssetsRequest) GetGroupBy() string

func (*GroupAssetsRequest) GetPageSize Uses

func (x *GroupAssetsRequest) GetPageSize() int32

func (*GroupAssetsRequest) GetPageToken Uses

func (x *GroupAssetsRequest) GetPageToken() string

func (*GroupAssetsRequest) GetParent Uses

func (x *GroupAssetsRequest) GetParent() string

func (*GroupAssetsRequest) GetReadTime Uses

func (x *GroupAssetsRequest) GetReadTime() *timestamp.Timestamp

func (*GroupAssetsRequest) ProtoMessage Uses

func (*GroupAssetsRequest) ProtoMessage()

func (*GroupAssetsRequest) ProtoReflect Uses

func (x *GroupAssetsRequest) ProtoReflect() protoreflect.Message

func (*GroupAssetsRequest) Reset Uses

func (x *GroupAssetsRequest) Reset()

func (*GroupAssetsRequest) String Uses

func (x *GroupAssetsRequest) String() string

type GroupAssetsResponse Uses

type GroupAssetsResponse struct {

    // 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.
    GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"`
    // Time used for executing the groupBy request.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no more
    // results.
    NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of results matching the query.
    TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    // contains filtered or unexported fields
}

Response message for grouping by assets.

func (*GroupAssetsResponse) Descriptor Uses

func (*GroupAssetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GroupAssetsResponse.ProtoReflect.Descriptor instead.

func (*GroupAssetsResponse) GetGroupByResults Uses

func (x *GroupAssetsResponse) GetGroupByResults() []*GroupResult

func (*GroupAssetsResponse) GetNextPageToken Uses

func (x *GroupAssetsResponse) GetNextPageToken() string

func (*GroupAssetsResponse) GetReadTime Uses

func (x *GroupAssetsResponse) GetReadTime() *timestamp.Timestamp

func (*GroupAssetsResponse) GetTotalSize Uses

func (x *GroupAssetsResponse) GetTotalSize() int32

func (*GroupAssetsResponse) ProtoMessage Uses

func (*GroupAssetsResponse) ProtoMessage()

func (*GroupAssetsResponse) ProtoReflect Uses

func (x *GroupAssetsResponse) ProtoReflect() protoreflect.Message

func (*GroupAssetsResponse) Reset Uses

func (x *GroupAssetsResponse) Reset()

func (*GroupAssetsResponse) String Uses

func (x *GroupAssetsResponse) String() string

type GroupFindingsRequest Uses

type GroupFindingsRequest struct {

    // Required. Name of the source to groupBy. Its format is
    // "organizations/[organization_id]/sources/[source_id]". To groupBy across
    // all sources provide a source_id of `-`. For example:
    // organizations/{organization_id}/sources/-
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // 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 `<field> <operator> <value>` 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: `=`, `>`, `<`, `>=`, `<=`
    //
    //   Usage: This should be milliseconds since epoch or an RFC3339 string.
    //   Examples:
    //     `event_time = "2019-06-10T16:07:18-07:00"`
    //     `event_time = 1560208038000`
    //
    // * security_marks.marks: `=`, `:`
    // * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
    //
    // For example, `source_properties.size = 100` is a valid filter string.
    //
    // Use a partial match on the empty string to filter based on a property
    // existing: `source_properties.my_property : ""`
    //
    // Use a negated partial match on the empty string to filter based on a
    // property not existing: `-source_properties.my_property : ""`
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // Required. 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
    GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
    // 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.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // 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 and matched the given
    //                  filter at the start of compare_duration, but changed its
    //                  state at read_time.
    // * "UNCHANGED": indicates that the finding was present and matched the given
    //                  filter at the start of compare_duration and did not change
    //                  state at read_time.
    // * "ADDED":     indicates that the finding did not match the given filter or
    //                  was not present at the start of compare_duration, but was
    //                  present at read_time.
    // * "REMOVED":   indicates that the finding was present and matched the
    //                  filter at the start of compare_duration, but did not match
    //                  the filter 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`.
    CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"`
    // 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.
    PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The maximum number of results to return in a single response. Default is
    // 10, minimum is 1, maximum is 1000.
    PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // contains filtered or unexported fields
}

Request message for grouping by findings.

func (*GroupFindingsRequest) Descriptor Uses

func (*GroupFindingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GroupFindingsRequest.ProtoReflect.Descriptor instead.

func (*GroupFindingsRequest) GetCompareDuration Uses

func (x *GroupFindingsRequest) GetCompareDuration() *duration.Duration

func (*GroupFindingsRequest) GetFilter Uses

func (x *GroupFindingsRequest) GetFilter() string

func (*GroupFindingsRequest) GetGroupBy Uses

func (x *GroupFindingsRequest) GetGroupBy() string

func (*GroupFindingsRequest) GetPageSize Uses

func (x *GroupFindingsRequest) GetPageSize() int32

func (*GroupFindingsRequest) GetPageToken Uses

func (x *GroupFindingsRequest) GetPageToken() string

func (*GroupFindingsRequest) GetParent Uses

func (x *GroupFindingsRequest) GetParent() string

func (*GroupFindingsRequest) GetReadTime Uses

func (x *GroupFindingsRequest) GetReadTime() *timestamp.Timestamp

func (*GroupFindingsRequest) ProtoMessage Uses

func (*GroupFindingsRequest) ProtoMessage()

func (*GroupFindingsRequest) ProtoReflect Uses

func (x *GroupFindingsRequest) ProtoReflect() protoreflect.Message

func (*GroupFindingsRequest) Reset Uses

func (x *GroupFindingsRequest) Reset()

func (*GroupFindingsRequest) String Uses

func (x *GroupFindingsRequest) String() string

type GroupFindingsResponse Uses

type GroupFindingsResponse struct {

    // 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.
    GroupByResults []*GroupResult `protobuf:"bytes,1,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"`
    // Time used for executing the groupBy request.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no more
    // results.
    NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of results matching the query.
    TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    // contains filtered or unexported fields
}

Response message for group by findings.

func (*GroupFindingsResponse) Descriptor Uses

func (*GroupFindingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GroupFindingsResponse.ProtoReflect.Descriptor instead.

func (*GroupFindingsResponse) GetGroupByResults Uses

func (x *GroupFindingsResponse) GetGroupByResults() []*GroupResult

func (*GroupFindingsResponse) GetNextPageToken Uses

func (x *GroupFindingsResponse) GetNextPageToken() string

func (*GroupFindingsResponse) GetReadTime Uses

func (x *GroupFindingsResponse) GetReadTime() *timestamp.Timestamp

func (*GroupFindingsResponse) GetTotalSize Uses

func (x *GroupFindingsResponse) GetTotalSize() int32

func (*GroupFindingsResponse) ProtoMessage Uses

func (*GroupFindingsResponse) ProtoMessage()

func (*GroupFindingsResponse) ProtoReflect Uses

func (x *GroupFindingsResponse) ProtoReflect() protoreflect.Message

func (*GroupFindingsResponse) Reset Uses

func (x *GroupFindingsResponse) Reset()

func (*GroupFindingsResponse) String Uses

func (x *GroupFindingsResponse) String() string

type GroupResult Uses

type GroupResult struct {

    // Properties matching the groupBy fields in the request.
    Properties map[string]*_struct.Value `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Total count of resources for the given properties.
    Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
    // contains filtered or unexported fields
}

Result containing the properties and count of a groupBy request.

func (*GroupResult) Descriptor Uses

func (*GroupResult) Descriptor() ([]byte, []int)

Deprecated: Use GroupResult.ProtoReflect.Descriptor instead.

func (*GroupResult) GetCount Uses

func (x *GroupResult) GetCount() int64

func (*GroupResult) GetProperties Uses

func (x *GroupResult) GetProperties() map[string]*_struct.Value

func (*GroupResult) ProtoMessage Uses

func (*GroupResult) ProtoMessage()

func (*GroupResult) ProtoReflect Uses

func (x *GroupResult) ProtoReflect() protoreflect.Message

func (*GroupResult) Reset Uses

func (x *GroupResult) Reset()

func (*GroupResult) String Uses

func (x *GroupResult) String() string

type ListAssetsRequest Uses

type ListAssetsRequest struct {

    // Required. Name of the organization assets should belong to. Its format is
    // "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // 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 `<field> <operator> <value>` 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 are the allowed field and operator combinations:
    //
    // * name: `=`
    // * update_time: `=`, `>`, `<`, `>=`, `<=`
    //
    //   Usage: This should be milliseconds since epoch or an RFC3339 string.
    //   Examples:
    //     `update_time = "2019-06-10T16:07:18-07:00"`
    //     `update_time = 1560208038000`
    //
    // * create_time: `=`, `>`, `<`, `>=`, `<=`
    //
    //   Usage: This should be milliseconds since epoch or an RFC3339 string.
    //   Examples:
    //     `create_time = "2019-06-10T16:07:18-07:00"`
    //     `create_time = 1560208038000`
    //
    // * iam_policy.policy_blob: `=`, `:`
    // * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
    // * security_marks.marks: `=`, `:`
    // * security_center_properties.resource_name: `=`, `:`
    // * security_center_properties.resource_display_name: `=`, `:`
    // * security_center_properties.resource_type: `=`, `:`
    // * security_center_properties.resource_parent: `=`, `:`
    // * security_center_properties.resource_parent_display_name: `=`, `:`
    // * security_center_properties.resource_project: `=`, `:`
    // * security_center_properties.resource_project_display_name: `=`, `:`
    // * security_center_properties.resource_owners: `=`, `:`
    //
    // For example, `resource_properties.size = 100` is a valid filter string.
    //
    // Use a partial match on the empty string to filter based on a property
    // existing: `resource_properties.my_property : ""`
    //
    // Use a negated partial match on the empty string to filter based on a
    // property not existing: `-resource_properties.my_property : ""`
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // Expression that defines what fields and order to use for sorting. The
    // string value should follow SQL syntax: comma separated list of fields. For
    // example: "name,resource_properties.a_property". The default sorting order
    // is ascending. To specify descending order for a field, a suffix " desc"
    // should be appended to the field name. For example: "name
    // desc,resource_properties.a_property". Redundant space characters in the
    // syntax are insignificant. "name desc,resource_properties.a_property" and "
    // name     desc  ,   resource_properties.a_property  " are equivalent.
    //
    // The following fields are supported:
    // name
    // update_time
    // resource_properties
    // security_marks.marks
    // security_center_properties.resource_name
    // security_center_properties.resource_display_name
    // security_center_properties.resource_parent
    // security_center_properties.resource_parent_display_name
    // security_center_properties.resource_project
    // security_center_properties.resource_project_display_name
    // security_center_properties.resource_type
    OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // 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.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // When compare_duration is set, the ListAssetsResult's "state_change"
    // attribute 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 read_time.
    // * "REMOVED": indicates that the asset was present at the start of
    //                compare_duration, but not present at read_time.
    // * "ACTIVE":  indicates that the asset was present at both the
    //                start and the end of the time period defined by
    //                compare_duration and 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 assets present at
    // read_time.
    CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"`
    // Optional.
    // A field mask to specify the ListAssetsResult fields to be listed in the
    // response.
    // An empty field mask will list all fields.
    FieldMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
    // The value returned by the last `ListAssetsResponse`; indicates
    // that this is a continuation of a prior `ListAssets` call, and
    // that the system should return the next page of data.
    PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The maximum number of results to return in a single response. Default is
    // 10, minimum is 1, maximum is 1000.
    PageSize int32 `protobuf:"varint,9,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // contains filtered or unexported fields
}

Request message for listing assets.

func (*ListAssetsRequest) Descriptor Uses

func (*ListAssetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.

func (*ListAssetsRequest) GetCompareDuration Uses

func (x *ListAssetsRequest) GetCompareDuration() *duration.Duration

func (*ListAssetsRequest) GetFieldMask Uses

func (x *ListAssetsRequest) GetFieldMask() *field_mask.FieldMask

func (*ListAssetsRequest) GetFilter Uses

func (x *ListAssetsRequest) GetFilter() string

func (*ListAssetsRequest) GetOrderBy Uses

func (x *ListAssetsRequest) GetOrderBy() string

func (*ListAssetsRequest) GetPageSize Uses

func (x *ListAssetsRequest) GetPageSize() int32

func (*ListAssetsRequest) GetPageToken Uses

func (x *ListAssetsRequest) GetPageToken() string

func (*ListAssetsRequest) GetParent Uses

func (x *ListAssetsRequest) GetParent() string

func (*ListAssetsRequest) GetReadTime Uses

func (x *ListAssetsRequest) GetReadTime() *timestamp.Timestamp

func (*ListAssetsRequest) ProtoMessage Uses

func (*ListAssetsRequest) ProtoMessage()

func (*ListAssetsRequest) ProtoReflect Uses

func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message

func (*ListAssetsRequest) Reset Uses

func (x *ListAssetsRequest) Reset()

func (*ListAssetsRequest) String Uses

func (x *ListAssetsRequest) String() string

type ListAssetsResponse Uses

type ListAssetsResponse struct {

    // Assets matching the list request.
    ListAssetsResults []*ListAssetsResponse_ListAssetsResult `protobuf:"bytes,1,rep,name=list_assets_results,json=listAssetsResults,proto3" json:"list_assets_results,omitempty"`
    // Time used for executing the list request.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no more
    // results.
    NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of assets matching the query.
    TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    // contains filtered or unexported fields
}

Response message for listing assets.

func (*ListAssetsResponse) Descriptor Uses

func (*ListAssetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.

func (*ListAssetsResponse) GetListAssetsResults Uses

func (x *ListAssetsResponse) GetListAssetsResults() []*ListAssetsResponse_ListAssetsResult

func (*ListAssetsResponse) GetNextPageToken Uses

func (x *ListAssetsResponse) GetNextPageToken() string

func (*ListAssetsResponse) GetReadTime Uses

func (x *ListAssetsResponse) GetReadTime() *timestamp.Timestamp

func (*ListAssetsResponse) GetTotalSize Uses

func (x *ListAssetsResponse) GetTotalSize() int32

func (*ListAssetsResponse) ProtoMessage Uses

func (*ListAssetsResponse) ProtoMessage()

func (*ListAssetsResponse) ProtoReflect Uses

func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message

func (*ListAssetsResponse) Reset Uses

func (x *ListAssetsResponse) Reset()

func (*ListAssetsResponse) String Uses

func (x *ListAssetsResponse) String() string

type ListAssetsResponse_ListAssetsResult Uses

type ListAssetsResponse_ListAssetsResult struct {

    // Asset matching the search request.
    Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
    // State change of the asset between the points in time.
    StateChange ListAssetsResponse_ListAssetsResult_StateChange `protobuf:"varint,2,opt,name=state_change,json=stateChange,proto3,enum=google.cloud.securitycenter.v1p1beta1.ListAssetsResponse_ListAssetsResult_StateChange" json:"state_change,omitempty"`
    // contains filtered or unexported fields
}

Result containing the Asset and its State.

func (*ListAssetsResponse_ListAssetsResult) Descriptor Uses

func (*ListAssetsResponse_ListAssetsResult) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsResponse_ListAssetsResult.ProtoReflect.Descriptor instead.

func (*ListAssetsResponse_ListAssetsResult) GetAsset Uses

func (x *ListAssetsResponse_ListAssetsResult) GetAsset() *Asset

func (*ListAssetsResponse_ListAssetsResult) GetStateChange Uses

func (x *ListAssetsResponse_ListAssetsResult) GetStateChange() ListAssetsResponse_ListAssetsResult_StateChange

func (*ListAssetsResponse_ListAssetsResult) ProtoMessage Uses

func (*ListAssetsResponse_ListAssetsResult) ProtoMessage()

func (*ListAssetsResponse_ListAssetsResult) ProtoReflect Uses

func (x *ListAssetsResponse_ListAssetsResult) ProtoReflect() protoreflect.Message

func (*ListAssetsResponse_ListAssetsResult) Reset Uses

func (x *ListAssetsResponse_ListAssetsResult) Reset()

func (*ListAssetsResponse_ListAssetsResult) String Uses

func (x *ListAssetsResponse_ListAssetsResult) String() string

type ListAssetsResponse_ListAssetsResult_StateChange Uses

type ListAssetsResponse_ListAssetsResult_StateChange int32

The change in state of the asset.

When querying across two points in time this describes the change between the two points: ADDED, REMOVED, or ACTIVE. If there was no compare_duration supplied in the request the state change will be: UNUSED

const (
    // State change is unused, this is the canonical default for this enum.
    ListAssetsResponse_ListAssetsResult_UNUSED ListAssetsResponse_ListAssetsResult_StateChange = 0
    // Asset was added between the points in time.
    ListAssetsResponse_ListAssetsResult_ADDED ListAssetsResponse_ListAssetsResult_StateChange = 1
    // Asset was removed between the points in time.
    ListAssetsResponse_ListAssetsResult_REMOVED ListAssetsResponse_ListAssetsResult_StateChange = 2
    // Asset was present at both point(s) in time.
    ListAssetsResponse_ListAssetsResult_ACTIVE ListAssetsResponse_ListAssetsResult_StateChange = 3
)

func (ListAssetsResponse_ListAssetsResult_StateChange) Descriptor Uses

func (ListAssetsResponse_ListAssetsResult_StateChange) Descriptor() protoreflect.EnumDescriptor

func (ListAssetsResponse_ListAssetsResult_StateChange) Enum Uses

func (x ListAssetsResponse_ListAssetsResult_StateChange) Enum() *ListAssetsResponse_ListAssetsResult_StateChange

func (ListAssetsResponse_ListAssetsResult_StateChange) EnumDescriptor Uses

func (ListAssetsResponse_ListAssetsResult_StateChange) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListAssetsResponse_ListAssetsResult_StateChange.Descriptor instead.

func (ListAssetsResponse_ListAssetsResult_StateChange) Number Uses

func (x ListAssetsResponse_ListAssetsResult_StateChange) Number() protoreflect.EnumNumber

func (ListAssetsResponse_ListAssetsResult_StateChange) String Uses

func (x ListAssetsResponse_ListAssetsResult_StateChange) String() string

func (ListAssetsResponse_ListAssetsResult_StateChange) Type Uses

func (ListAssetsResponse_ListAssetsResult_StateChange) Type() protoreflect.EnumType

type ListFindingsRequest Uses

type ListFindingsRequest struct {

    // Required. Name of the source the findings belong to. Its format is
    // "organizations/[organization_id]/sources/[source_id]". To list across all
    // sources provide a source_id of `-`. For example:
    // organizations/{organization_id}/sources/-
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // 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 `<field> <operator> <value>` 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: `=`, `>`, `<`, `>=`, `<=`
    //
    //   Usage: This should be milliseconds since epoch or an RFC3339 string.
    //   Examples:
    //     `event_time = "2019-06-10T16:07:18-07:00"`
    //     `event_time = 1560208038000`
    //
    // security_marks.marks: `=`, `:`
    // source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
    //
    // For example, `source_properties.size = 100` is a valid filter string.
    //
    // Use a partial match on the empty string to filter based on a property
    // existing: `source_properties.my_property : ""`
    //
    // Use a negated partial match on the empty string to filter based on a
    // property not existing: `-source_properties.my_property : ""`
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // Expression that defines what fields and order to use for sorting. The
    // string value should follow SQL syntax: comma separated list of fields. For
    // example: "name,resource_properties.a_property". The default sorting order
    // is ascending. To specify descending order for a field, a suffix " desc"
    // should be appended to the field name. For example: "name
    // desc,source_properties.a_property". Redundant space characters in the
    // syntax are insignificant. "name desc,source_properties.a_property" and "
    // name     desc  ,   source_properties.a_property  " are equivalent.
    //
    // The following fields are supported:
    // name
    // parent
    // state
    // category
    // resource_name
    // event_time
    // source_properties
    // security_marks.marks
    OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // 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.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // When compare_duration is set, the ListFindingsResult'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 in any
    // state 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 and matched the given
    //                  filter at the start of compare_duration, but changed its
    //                  state at read_time.
    // * "UNCHANGED": indicates that the finding was present and matched the given
    //                  filter at the start of compare_duration and did not change
    //                  state at read_time.
    // * "ADDED":     indicates that the finding did not match the given filter or
    //                  was not present at the start of compare_duration, but was
    //                  present at read_time.
    // * "REMOVED":   indicates that the finding was present and matched the
    //                  filter at the start of compare_duration, but did not match
    //                  the filter 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.
    CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,omitempty"`
    // Optional.
    // A field mask to specify the Finding fields to be listed in the response.
    // An empty field mask will list all fields.
    FieldMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
    // The value returned by the last `ListFindingsResponse`; indicates
    // that this is a continuation of a prior `ListFindings` call, and
    // that the system should return the next page of data.
    PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The maximum number of results to return in a single response. Default is
    // 10, minimum is 1, maximum is 1000.
    PageSize int32 `protobuf:"varint,9,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // contains filtered or unexported fields
}

Request message for listing findings.

func (*ListFindingsRequest) Descriptor Uses

func (*ListFindingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFindingsRequest.ProtoReflect.Descriptor instead.

func (*ListFindingsRequest) GetCompareDuration Uses

func (x *ListFindingsRequest) GetCompareDuration() *duration.Duration

func (*ListFindingsRequest) GetFieldMask Uses

func (x *ListFindingsRequest) GetFieldMask() *field_mask.FieldMask

func (*ListFindingsRequest) GetFilter Uses

func (x *ListFindingsRequest) GetFilter() string

func (*ListFindingsRequest) GetOrderBy Uses

func (x *ListFindingsRequest) GetOrderBy() string

func (*ListFindingsRequest) GetPageSize Uses

func (x *ListFindingsRequest) GetPageSize() int32

func (*ListFindingsRequest) GetPageToken Uses

func (x *ListFindingsRequest) GetPageToken() string

func (*ListFindingsRequest) GetParent Uses

func (x *ListFindingsRequest) GetParent() string

func (*ListFindingsRequest) GetReadTime Uses

func (x *ListFindingsRequest) GetReadTime() *timestamp.Timestamp

func (*ListFindingsRequest) ProtoMessage Uses

func (*ListFindingsRequest) ProtoMessage()

func (*ListFindingsRequest) ProtoReflect Uses

func (x *ListFindingsRequest) ProtoReflect() protoreflect.Message

func (*ListFindingsRequest) Reset Uses

func (x *ListFindingsRequest) Reset()

func (*ListFindingsRequest) String Uses

func (x *ListFindingsRequest) String() string

type ListFindingsResponse Uses

type ListFindingsResponse struct {

    // Findings matching the list request.
    ListFindingsResults []*ListFindingsResponse_ListFindingsResult `protobuf:"bytes,1,rep,name=list_findings_results,json=listFindingsResults,proto3" json:"list_findings_results,omitempty"`
    // Time used for executing the list request.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no more
    // results.
    NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The total number of findings matching the query.
    TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
    // contains filtered or unexported fields
}

Response message for listing findings.

func (*ListFindingsResponse) Descriptor Uses

func (*ListFindingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFindingsResponse.ProtoReflect.Descriptor instead.

func (*ListFindingsResponse) GetListFindingsResults Uses

func (x *ListFindingsResponse) GetListFindingsResults() []*ListFindingsResponse_ListFindingsResult

func (*ListFindingsResponse) GetNextPageToken Uses

func (x *ListFindingsResponse) GetNextPageToken() string

func (*ListFindingsResponse) GetReadTime Uses

func (x *ListFindingsResponse) GetReadTime() *timestamp.Timestamp

func (*ListFindingsResponse) GetTotalSize Uses

func (x *ListFindingsResponse) GetTotalSize() int32

func (*ListFindingsResponse) ProtoMessage Uses

func (*ListFindingsResponse) ProtoMessage()

func (*ListFindingsResponse) ProtoReflect Uses

func (x *ListFindingsResponse) ProtoReflect() protoreflect.Message

func (*ListFindingsResponse) Reset Uses

func (x *ListFindingsResponse) Reset()

func (*ListFindingsResponse) String Uses

func (x *ListFindingsResponse) String() string

type ListFindingsResponse_ListFindingsResult Uses

type ListFindingsResponse_ListFindingsResult struct {

    // Finding matching the search request.
    Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"`
    // State change of the finding between the points in time.
    StateChange ListFindingsResponse_ListFindingsResult_StateChange `protobuf:"varint,2,opt,name=state_change,json=stateChange,proto3,enum=google.cloud.securitycenter.v1p1beta1.ListFindingsResponse_ListFindingsResult_StateChange" json:"state_change,omitempty"`
    // Output only. Resource that is associated with this finding.
    Resource *ListFindingsResponse_ListFindingsResult_Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // contains filtered or unexported fields
}

Result containing the Finding and its StateChange.

func (*ListFindingsResponse_ListFindingsResult) Descriptor Uses

func (*ListFindingsResponse_ListFindingsResult) Descriptor() ([]byte, []int)

Deprecated: Use ListFindingsResponse_ListFindingsResult.ProtoReflect.Descriptor instead.

func (*ListFindingsResponse_ListFindingsResult) GetFinding Uses

func (x *ListFindingsResponse_ListFindingsResult) GetFinding() *Finding

func (*ListFindingsResponse_ListFindingsResult) GetResource Uses

func (x *ListFindingsResponse_ListFindingsResult) GetResource() *ListFindingsResponse_ListFindingsResult_Resource

func (*ListFindingsResponse_ListFindingsResult) GetStateChange Uses

func (x *ListFindingsResponse_ListFindingsResult) GetStateChange() ListFindingsResponse_ListFindingsResult_StateChange

func (*ListFindingsResponse_ListFindingsResult) ProtoMessage Uses

func (*ListFindingsResponse_ListFindingsResult) ProtoMessage()

func (*ListFindingsResponse_ListFindingsResult) ProtoReflect Uses

func (x *ListFindingsResponse_ListFindingsResult) ProtoReflect() protoreflect.Message

func (*ListFindingsResponse_ListFindingsResult) Reset Uses

func (x *ListFindingsResponse_ListFindingsResult) Reset()

func (*ListFindingsResponse_ListFindingsResult) String Uses

func (x *ListFindingsResponse_ListFindingsResult) String() string

type ListFindingsResponse_ListFindingsResult_Resource Uses

type ListFindingsResponse_ListFindingsResult_Resource struct {

    // The full resource name of the resource. See:
    // https://cloud.google.com/apis/design/resource_names#full_resource_name
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The full resource name of project that the resource belongs to.
    ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
    // The human readable name of project that the resource belongs to.
    ProjectDisplayName string `protobuf:"bytes,3,opt,name=project_display_name,json=projectDisplayName,proto3" json:"project_display_name,omitempty"`
    // The full resource name of resource's parent.
    ParentName string `protobuf:"bytes,4,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
    // The human readable name of resource's parent.
    ParentDisplayName string `protobuf:"bytes,5,opt,name=parent_display_name,json=parentDisplayName,proto3" json:"parent_display_name,omitempty"`
    // contains filtered or unexported fields
}

Information related to the Google Cloud resource that is associated with this finding.

func (*ListFindingsResponse_ListFindingsResult_Resource) Descriptor Uses

func (*ListFindingsResponse_ListFindingsResult_Resource) Descriptor() ([]byte, []int)

Deprecated: Use ListFindingsResponse_ListFindingsResult_Resource.ProtoReflect.Descriptor instead.

func (*ListFindingsResponse_ListFindingsResult_Resource) GetName Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) GetName() string

func (*ListFindingsResponse_ListFindingsResult_Resource) GetParentDisplayName Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) GetParentDisplayName() string

func (*ListFindingsResponse_ListFindingsResult_Resource) GetParentName Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) GetParentName() string

func (*ListFindingsResponse_ListFindingsResult_Resource) GetProjectDisplayName Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) GetProjectDisplayName() string

func (*ListFindingsResponse_ListFindingsResult_Resource) GetProjectName Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) GetProjectName() string

func (*ListFindingsResponse_ListFindingsResult_Resource) ProtoMessage Uses

func (*ListFindingsResponse_ListFindingsResult_Resource) ProtoMessage()

func (*ListFindingsResponse_ListFindingsResult_Resource) ProtoReflect Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) ProtoReflect() protoreflect.Message

func (*ListFindingsResponse_ListFindingsResult_Resource) Reset Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) Reset()

func (*ListFindingsResponse_ListFindingsResult_Resource) String Uses

func (x *ListFindingsResponse_ListFindingsResult_Resource) String() string

type ListFindingsResponse_ListFindingsResult_StateChange Uses

type ListFindingsResponse_ListFindingsResult_StateChange int32

The change in state of the finding.

When querying across two points in time this describes the change in the finding between the two points: CHANGED, UNCHANGED, ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that the finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration. If there was no compare_duration supplied in the request the state change will be: UNUSED

const (
    // State change is unused, this is the canonical default for this enum.
    ListFindingsResponse_ListFindingsResult_UNUSED ListFindingsResponse_ListFindingsResult_StateChange = 0
    // The finding has changed state in some way between the points in time
    // and existed at both points.
    ListFindingsResponse_ListFindingsResult_CHANGED ListFindingsResponse_ListFindingsResult_StateChange = 1
    // The finding has not changed state between the points in time and
    // existed at both points.
    ListFindingsResponse_ListFindingsResult_UNCHANGED ListFindingsResponse_ListFindingsResult_StateChange = 2
    // The finding was created between the points in time.
    ListFindingsResponse_ListFindingsResult_ADDED ListFindingsResponse_ListFindingsResult_StateChange = 3
    // The finding at timestamp does not match the filter specified, but it
    // did at timestamp - compare_duration.
    ListFindingsResponse_ListFindingsResult_REMOVED ListFindingsResponse_ListFindingsResult_StateChange = 4
)

func (ListFindingsResponse_ListFindingsResult_StateChange) Descriptor Uses

func (ListFindingsResponse_ListFindingsResult_StateChange) Descriptor() protoreflect.EnumDescriptor

func (ListFindingsResponse_ListFindingsResult_StateChange) Enum Uses

func (x ListFindingsResponse_ListFindingsResult_StateChange) Enum() *ListFindingsResponse_ListFindingsResult_StateChange

func (ListFindingsResponse_ListFindingsResult_StateChange) EnumDescriptor Uses

func (ListFindingsResponse_ListFindingsResult_StateChange) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListFindingsResponse_ListFindingsResult_StateChange.Descriptor instead.

func (ListFindingsResponse_ListFindingsResult_StateChange) Number Uses

func (x ListFindingsResponse_ListFindingsResult_StateChange) Number() protoreflect.EnumNumber

func (ListFindingsResponse_ListFindingsResult_StateChange) String Uses

func (x ListFindingsResponse_ListFindingsResult_StateChange) String() string

func (ListFindingsResponse_ListFindingsResult_StateChange) Type Uses

func (ListFindingsResponse_ListFindingsResult_StateChange) Type() protoreflect.EnumType

type ListNotificationConfigsRequest Uses

type ListNotificationConfigsRequest struct {

    // Required. Name of the organization to list notification configs.
    // Its format is "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The value returned by the last `ListNotificationConfigsResponse`; indicates
    // that this is a continuation of a prior `ListNotificationConfigs` call, and
    // that the system should return the next page of data.
    PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The maximum number of results to return in a single response. Default is
    // 10, minimum is 1, maximum is 1000.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // contains filtered or unexported fields
}

Request message for listing notification configs.

func (*ListNotificationConfigsRequest) Descriptor Uses

func (*ListNotificationConfigsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNotificationConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationConfigsRequest) GetPageSize Uses

func (x *ListNotificationConfigsRequest) GetPageSize() int32

func (*ListNotificationConfigsRequest) GetPageToken Uses

func (x *ListNotificationConfigsRequest) GetPageToken() string

func (*ListNotificationConfigsRequest) GetParent Uses

func (x *ListNotificationConfigsRequest) GetParent() string

func (*ListNotificationConfigsRequest) ProtoMessage Uses

func (*ListNotificationConfigsRequest) ProtoMessage()

func (*ListNotificationConfigsRequest) ProtoReflect Uses

func (x *ListNotificationConfigsRequest) ProtoReflect() protoreflect.Message

func (*ListNotificationConfigsRequest) Reset Uses

func (x *ListNotificationConfigsRequest) Reset()

func (*ListNotificationConfigsRequest) String Uses

func (x *ListNotificationConfigsRequest) String() string

type ListNotificationConfigsResponse Uses

type ListNotificationConfigsResponse struct {

    // Notification configs belonging to the requested parent.
    NotificationConfigs []*NotificationConfig `protobuf:"bytes,1,rep,name=notification_configs,json=notificationConfigs,proto3" json:"notification_configs,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no more
    // results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response message for listing notification configs.

func (*ListNotificationConfigsResponse) Descriptor Uses

func (*ListNotificationConfigsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNotificationConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationConfigsResponse) GetNextPageToken Uses

func (x *ListNotificationConfigsResponse) GetNextPageToken() string

func (*ListNotificationConfigsResponse) GetNotificationConfigs Uses

func (x *ListNotificationConfigsResponse) GetNotificationConfigs() []*NotificationConfig

func (*ListNotificationConfigsResponse) ProtoMessage Uses

func (*ListNotificationConfigsResponse) ProtoMessage()

func (*ListNotificationConfigsResponse) ProtoReflect Uses

func (x *ListNotificationConfigsResponse) ProtoReflect() protoreflect.Message

func (*ListNotificationConfigsResponse) Reset Uses

func (x *ListNotificationConfigsResponse) Reset()

func (*ListNotificationConfigsResponse) String Uses

func (x *ListNotificationConfigsResponse) String() string

type ListSourcesRequest Uses

type ListSourcesRequest struct {

    // Required. Resource name of the parent of sources to list. Its format should
    // be "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The value returned by the last `ListSourcesResponse`; indicates
    // that this is a continuation of a prior `ListSources` call, and
    // that the system should return the next page of data.
    PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The maximum number of results to return in a single response. Default is
    // 10, minimum is 1, maximum is 1000.
    PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // contains filtered or unexported fields
}

Request message for listing sources.

func (*ListSourcesRequest) Descriptor Uses

func (*ListSourcesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSourcesRequest.ProtoReflect.Descriptor instead.

func (*ListSourcesRequest) GetPageSize Uses

func (x *ListSourcesRequest) GetPageSize() int32

func (*ListSourcesRequest) GetPageToken Uses

func (x *ListSourcesRequest) GetPageToken() string

func (*ListSourcesRequest) GetParent Uses

func (x *ListSourcesRequest) GetParent() string

func (*ListSourcesRequest) ProtoMessage Uses

func (*ListSourcesRequest) ProtoMessage()

func (*ListSourcesRequest) ProtoReflect Uses

func (x *ListSourcesRequest) ProtoReflect() protoreflect.Message

func (*ListSourcesRequest) Reset Uses

func (x *ListSourcesRequest) Reset()

func (*ListSourcesRequest) String Uses

func (x *ListSourcesRequest) String() string

type ListSourcesResponse Uses

type ListSourcesResponse struct {

    // Sources belonging to the requested parent.
    Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no more
    // results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response message for listing sources.

func (*ListSourcesResponse) Descriptor Uses

func (*ListSourcesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListSourcesResponse) GetNextPageToken Uses

func (x *ListSourcesResponse) GetNextPageToken() string

func (*ListSourcesResponse) GetSources Uses

func (x *ListSourcesResponse) GetSources() []*Source

func (*ListSourcesResponse) ProtoMessage Uses

func (*ListSourcesResponse) ProtoMessage()

func (*ListSourcesResponse) ProtoReflect Uses

func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message

func (*ListSourcesResponse) Reset Uses

func (x *ListSourcesResponse) Reset()

func (*ListSourcesResponse) String Uses

func (x *ListSourcesResponse) String() string

type NotificationConfig Uses

type NotificationConfig struct {

    // The relative resource name of this notification config. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Example:
    // "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The description of the notification config (max of 1024 characters).
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The type of events the config is for, e.g. FINDING.
    EventType NotificationConfig_EventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=google.cloud.securitycenter.v1p1beta1.NotificationConfig_EventType" json:"event_type,omitempty"`
    // The Pub/Sub topic to send notifications to. Its format is
    // "projects/[project_id]/topics/[topic]".
    PubsubTopic string `protobuf:"bytes,4,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
    // Output only. The service account that needs "pubsub.topics.publish"
    // permission to publish to the Pub/Sub topic.
    ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
    // The config for triggering notifications.
    //
    // Types that are assignable to NotifyConfig:
    //	*NotificationConfig_StreamingConfig_
    NotifyConfig isNotificationConfig_NotifyConfig `protobuf_oneof:"notify_config"`
    // contains filtered or unexported fields
}

Security Command Center notification configs.

A notification config is a Security Command Center resource that contains the configuration to send notifications for create/update events of findings, assets and etc.

func (*NotificationConfig) Descriptor Uses

func (*NotificationConfig) Descriptor() ([]byte, []int)

Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.

func (*NotificationConfig) GetDescription Uses

func (x *NotificationConfig) GetDescription() string

func (*NotificationConfig) GetEventType Uses

func (x *NotificationConfig) GetEventType() NotificationConfig_EventType

func (*NotificationConfig) GetName Uses

func (x *NotificationConfig) GetName() string

func (*NotificationConfig) GetNotifyConfig Uses

func (m *NotificationConfig) GetNotifyConfig() isNotificationConfig_NotifyConfig

func (*NotificationConfig) GetPubsubTopic Uses

func (x *NotificationConfig) GetPubsubTopic() string

func (*NotificationConfig) GetServiceAccount Uses

func (x *NotificationConfig) GetServiceAccount() string

func (*NotificationConfig) GetStreamingConfig Uses

func (x *NotificationConfig) GetStreamingConfig() *NotificationConfig_StreamingConfig

func (*NotificationConfig) ProtoMessage Uses

func (*NotificationConfig) ProtoMessage()

func (*NotificationConfig) ProtoReflect Uses

func (x *NotificationConfig) ProtoReflect() protoreflect.Message

func (*NotificationConfig) Reset Uses

func (x *NotificationConfig) Reset()

func (*NotificationConfig) String Uses

func (x *NotificationConfig) String() string

type NotificationConfig_EventType Uses

type NotificationConfig_EventType int32

The type of events.

const (
    // Unspecified event type.
    NotificationConfig_EVENT_TYPE_UNSPECIFIED NotificationConfig_EventType = 0
    // Events for findings.
    NotificationConfig_FINDING NotificationConfig_EventType = 1
)

func (NotificationConfig_EventType) Descriptor Uses

func (NotificationConfig_EventType) Descriptor() protoreflect.EnumDescriptor

func (NotificationConfig_EventType) Enum Uses

func (x NotificationConfig_EventType) Enum() *NotificationConfig_EventType

func (NotificationConfig_EventType) EnumDescriptor Uses

func (NotificationConfig_EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotificationConfig_EventType.Descriptor instead.

func (NotificationConfig_EventType) Number Uses

func (x NotificationConfig_EventType) Number() protoreflect.EnumNumber

func (NotificationConfig_EventType) String Uses

func (x NotificationConfig_EventType) String() string

func (NotificationConfig_EventType) Type Uses

func (NotificationConfig_EventType) Type() protoreflect.EnumType

type NotificationConfig_StreamingConfig Uses

type NotificationConfig_StreamingConfig struct {

    // Expression that defines the filter to apply across create/update events
    // of assets or findings as specified by the event type. 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 `<field> <operator> <value>` and may have a
    // `-` character in front of them to indicate negation. The fields map to
    // those defined in the corresponding resource.
    //
    // 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.
    Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
    // contains filtered or unexported fields
}

The config for streaming-based notifications, which send each event as soon as it is detected.

func (*NotificationConfig_StreamingConfig) Descriptor Uses

func (*NotificationConfig_StreamingConfig) Descriptor() ([]byte, []int)

Deprecated: Use NotificationConfig_StreamingConfig.ProtoReflect.Descriptor instead.

func (*NotificationConfig_StreamingConfig) GetFilter Uses

func (x *NotificationConfig_StreamingConfig) GetFilter() string

func (*NotificationConfig_StreamingConfig) ProtoMessage Uses

func (*NotificationConfig_StreamingConfig) ProtoMessage()

func (*NotificationConfig_StreamingConfig) ProtoReflect Uses

func (x *NotificationConfig_StreamingConfig) ProtoReflect() protoreflect.Message

func (*NotificationConfig_StreamingConfig) Reset Uses

func (x *NotificationConfig_StreamingConfig) Reset()

func (*NotificationConfig_StreamingConfig) String Uses

func (x *NotificationConfig_StreamingConfig) String() string

type NotificationConfig_StreamingConfig_ Uses

type NotificationConfig_StreamingConfig_ struct {
    // The config for triggering streaming-based notifications.
    StreamingConfig *NotificationConfig_StreamingConfig `protobuf:"bytes,6,opt,name=streaming_config,json=streamingConfig,proto3,oneof"`
}

type NotificationMessage Uses

type NotificationMessage struct {

    // Name of the notification config that generated current notification.
    NotificationConfigName string `protobuf:"bytes,1,opt,name=notification_config_name,json=notificationConfigName,proto3" json:"notification_config_name,omitempty"`
    // Notification Event.
    //
    // Types that are assignable to Event:
    //	*NotificationMessage_Finding
    Event isNotificationMessage_Event `protobuf_oneof:"event"`
    // The Cloud resource tied to the notification.
    Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // contains filtered or unexported fields
}

Security Command Center's Notification

func (*NotificationMessage) Descriptor Uses

func (*NotificationMessage) Descriptor() ([]byte, []int)

Deprecated: Use NotificationMessage.ProtoReflect.Descriptor instead.

func (*NotificationMessage) GetEvent Uses

func (m *NotificationMessage) GetEvent() isNotificationMessage_Event

func (*NotificationMessage) GetFinding Uses

func (x *NotificationMessage) GetFinding() *Finding

func (*NotificationMessage) GetNotificationConfigName Uses

func (x *NotificationMessage) GetNotificationConfigName() string

func (*NotificationMessage) GetResource Uses

func (x *NotificationMessage) GetResource() *Resource

func (*NotificationMessage) ProtoMessage Uses

func (*NotificationMessage) ProtoMessage()

func (*NotificationMessage) ProtoReflect Uses

func (x *NotificationMessage) ProtoReflect() protoreflect.Message

func (*NotificationMessage) Reset Uses

func (x *NotificationMessage) Reset()

func (*NotificationMessage) String Uses

func (x *NotificationMessage) String() string

type NotificationMessage_Finding Uses

type NotificationMessage_Finding struct {
    // If it's a Finding based notification config, this field will be
    // populated.
    Finding *Finding `protobuf:"bytes,2,opt,name=finding,proto3,oneof"`
}

type OrganizationSettings Uses

type OrganizationSettings struct {

    // The relative resource name of the settings. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Example:
    // "organizations/{organization_id}/organizationSettings".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // 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.
    EnableAssetDiscovery bool `protobuf:"varint,2,opt,name=enable_asset_discovery,json=enableAssetDiscovery,proto3" json:"enable_asset_discovery,omitempty"`
    // The configuration used for Asset Discovery runs.
    AssetDiscoveryConfig *OrganizationSettings_AssetDiscoveryConfig `protobuf:"bytes,3,opt,name=asset_discovery_config,json=assetDiscoveryConfig,proto3" json:"asset_discovery_config,omitempty"`
    // contains filtered or unexported fields
}

User specified settings that are attached to the Security Command Center organization.

func (*OrganizationSettings) Descriptor Uses

func (*OrganizationSettings) Descriptor() ([]byte, []int)

Deprecated: Use OrganizationSettings.ProtoReflect.Descriptor instead.

func (*OrganizationSettings) GetAssetDiscoveryConfig Uses

func (x *OrganizationSettings) GetAssetDiscoveryConfig() *OrganizationSettings_AssetDiscoveryConfig

func (*OrganizationSettings) GetEnableAssetDiscovery Uses

func (x *OrganizationSettings) GetEnableAssetDiscovery() bool

func (*OrganizationSettings) GetName Uses

func (x *OrganizationSettings) GetName() string

func (*OrganizationSettings) ProtoMessage Uses

func (*OrganizationSettings) ProtoMessage()

func (*OrganizationSettings) ProtoReflect Uses

func (x *OrganizationSettings) ProtoReflect() protoreflect.Message

func (*OrganizationSettings) Reset Uses

func (x *OrganizationSettings) Reset()

func (*OrganizationSettings) String Uses

func (x *OrganizationSettings) String() string

type OrganizationSettings_AssetDiscoveryConfig Uses

type OrganizationSettings_AssetDiscoveryConfig struct {

    // The project ids to use for filtering asset discovery.
    ProjectIds []string `protobuf:"bytes,1,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"`
    // The mode to use for filtering asset discovery.
    InclusionMode OrganizationSettings_AssetDiscoveryConfig_InclusionMode `protobuf:"varint,2,opt,name=inclusion_mode,json=inclusionMode,proto3,enum=google.cloud.securitycenter.v1p1beta1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode" json:"inclusion_mode,omitempty"`
    // contains filtered or unexported fields
}

The configuration used for Asset Discovery runs.

func (*OrganizationSettings_AssetDiscoveryConfig) Descriptor Uses

func (*OrganizationSettings_AssetDiscoveryConfig) Descriptor() ([]byte, []int)

Deprecated: Use OrganizationSettings_AssetDiscoveryConfig.ProtoReflect.Descriptor instead.

func (*OrganizationSettings_AssetDiscoveryConfig) GetInclusionMode Uses

func (x *OrganizationSettings_AssetDiscoveryConfig) GetInclusionMode() OrganizationSettings_AssetDiscoveryConfig_InclusionMode

func (*OrganizationSettings_AssetDiscoveryConfig) GetProjectIds Uses

func (x *OrganizationSettings_AssetDiscoveryConfig) GetProjectIds() []string

func (*OrganizationSettings_AssetDiscoveryConfig) ProtoMessage Uses

func (*OrganizationSettings_AssetDiscoveryConfig) ProtoMessage()

func (*OrganizationSettings_AssetDiscoveryConfig) ProtoReflect Uses

func (x *OrganizationSettings_AssetDiscoveryConfig) ProtoReflect() protoreflect.Message

func (*OrganizationSettings_AssetDiscoveryConfig) Reset Uses

func (x *OrganizationSettings_AssetDiscoveryConfig) Reset()

func (*OrganizationSettings_AssetDiscoveryConfig) String Uses

func (x *OrganizationSettings_AssetDiscoveryConfig) String() string

type OrganizationSettings_AssetDiscoveryConfig_InclusionMode Uses

type OrganizationSettings_AssetDiscoveryConfig_InclusionMode int32

The mode of inclusion when running Asset Discovery. Asset discovery can be limited by explicitly identifying projects to be included or excluded. If INCLUDE_ONLY is set, then only those projects within the organization and their children are discovered during asset discovery. If EXCLUDE is set, then projects that don't match those projects are discovered during asset discovery. If neither are set, then all projects within the organization are discovered during asset discovery.

const (
    // Unspecified. Setting the mode with this value will disable
    // inclusion/exclusion filtering for Asset Discovery.
    OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 0
    // Asset Discovery will capture only the resources within the projects
    // specified. All other resources will be ignored.
    OrganizationSettings_AssetDiscoveryConfig_INCLUDE_ONLY OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 1
    // Asset Discovery will ignore all resources under the projects specified.
    // All other resources will be retrieved.
    OrganizationSettings_AssetDiscoveryConfig_EXCLUDE OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 2
)

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Descriptor Uses

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Descriptor() protoreflect.EnumDescriptor

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Enum Uses

func (x OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Enum() *OrganizationSettings_AssetDiscoveryConfig_InclusionMode

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) EnumDescriptor Uses

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrganizationSettings_AssetDiscoveryConfig_InclusionMode.Descriptor instead.

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Number Uses

func (x OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Number() protoreflect.EnumNumber

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) String Uses

func (x OrganizationSettings_AssetDiscoveryConfig_InclusionMode) String() string

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Type Uses

func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) Type() protoreflect.EnumType

type Resource Uses

type Resource struct {

    // The full resource name of the resource. See:
    // https://cloud.google.com/apis/design/resource_names#full_resource_name
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The full resource name of project that the resource belongs to.
    Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
    // The human readable name of project that the resource belongs to.
    ProjectDisplayName string `protobuf:"bytes,3,opt,name=project_display_name,json=projectDisplayName,proto3" json:"project_display_name,omitempty"`
    // The full resource name of resource's parent.
    Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
    // The human readable name of resource's parent.
    ParentDisplayName string `protobuf:"bytes,5,opt,name=parent_display_name,json=parentDisplayName,proto3" json:"parent_display_name,omitempty"`
    // contains filtered or unexported fields
}

Information related to the Google Cloud resource.

func (*Resource) Descriptor Uses

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetName Uses

func (x *Resource) GetName() string

func (*Resource) GetParent Uses

func (x *Resource) GetParent() string

func (*Resource) GetParentDisplayName Uses

func (x *Resource) GetParentDisplayName() string

func (*Resource) GetProject Uses

func (x *Resource) GetProject() string

func (*Resource) GetProjectDisplayName Uses

func (x *Resource) GetProjectDisplayName() string

func (*Resource) ProtoMessage Uses

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect Uses

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset Uses

func (x *Resource) Reset()

func (*Resource) String Uses

func (x *Resource) String() string

type RunAssetDiscoveryRequest Uses

type RunAssetDiscoveryRequest struct {

    // Required. Name of the organization to run asset discovery for. Its format
    // is "organizations/[organization_id]".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // contains filtered or unexported fields
}

Request message for running asset discovery for an organization.

func (*RunAssetDiscoveryRequest) Descriptor Uses

func (*RunAssetDiscoveryRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunAssetDiscoveryRequest.ProtoReflect.Descriptor instead.

func (*RunAssetDiscoveryRequest) GetParent Uses

func (x *RunAssetDiscoveryRequest) GetParent() string

func (*RunAssetDiscoveryRequest) ProtoMessage Uses

func (*RunAssetDiscoveryRequest) ProtoMessage()

func (*RunAssetDiscoveryRequest) ProtoReflect Uses

func (x *RunAssetDiscoveryRequest) ProtoReflect() protoreflect.Message

func (*RunAssetDiscoveryRequest) Reset Uses

func (x *RunAssetDiscoveryRequest) Reset()

func (*RunAssetDiscoveryRequest) String Uses

func (x *RunAssetDiscoveryRequest) String() string

type RunAssetDiscoveryResponse Uses

type RunAssetDiscoveryResponse struct {

    // The state of an asset discovery run.
    State RunAssetDiscoveryResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse_State" json:"state,omitempty"`
    // The duration between asset discovery run start and end
    Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
    // contains filtered or unexported fields
}

Response of asset discovery run

func (*RunAssetDiscoveryResponse) Descriptor Uses

func (*RunAssetDiscoveryResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunAssetDiscoveryResponse.ProtoReflect.Descriptor instead.

func (*RunAssetDiscoveryResponse) GetDuration Uses

func (x *RunAssetDiscoveryResponse) GetDuration() *duration.Duration

func (*RunAssetDiscoveryResponse) GetState Uses

func (x *RunAssetDiscoveryResponse) GetState() RunAssetDiscoveryResponse_State

func (*RunAssetDiscoveryResponse) ProtoMessage Uses

func (*RunAssetDiscoveryResponse) ProtoMessage()

func (*RunAssetDiscoveryResponse) ProtoReflect Uses

func (x *RunAssetDiscoveryResponse) ProtoReflect() protoreflect.Message

func (*RunAssetDiscoveryResponse) Reset Uses

func (x *RunAssetDiscoveryResponse) Reset()

func (*RunAssetDiscoveryResponse) String Uses

func (x *RunAssetDiscoveryResponse) String() string

type RunAssetDiscoveryResponse_State Uses

type RunAssetDiscoveryResponse_State int32

The state of an asset discovery run.

const (
    // Asset discovery run state was unspecified.
    RunAssetDiscoveryResponse_STATE_UNSPECIFIED RunAssetDiscoveryResponse_State = 0
    // Asset discovery run completed successfully.
    RunAssetDiscoveryResponse_COMPLETED RunAssetDiscoveryResponse_State = 1
    // Asset discovery run was cancelled with tasks still pending, as another
    // run for the same organization was started with a higher priority.
    RunAssetDiscoveryResponse_SUPERSEDED RunAssetDiscoveryResponse_State = 2
    // Asset discovery run was killed and terminated.
    RunAssetDiscoveryResponse_TERMINATED RunAssetDiscoveryResponse_State = 3
)

func (RunAssetDiscoveryResponse_State) Descriptor Uses

func (RunAssetDiscoveryResponse_State) Descriptor() protoreflect.EnumDescriptor

func (RunAssetDiscoveryResponse_State) Enum Uses

func (x RunAssetDiscoveryResponse_State) Enum() *RunAssetDiscoveryResponse_State

func (RunAssetDiscoveryResponse_State) EnumDescriptor Uses

func (RunAssetDiscoveryResponse_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use RunAssetDiscoveryResponse_State.Descriptor instead.

func (RunAssetDiscoveryResponse_State) Number Uses

func (x RunAssetDiscoveryResponse_State) Number() protoreflect.EnumNumber

func (RunAssetDiscoveryResponse_State) String Uses

func (x RunAssetDiscoveryResponse_State) String() string

func (RunAssetDiscoveryResponse_State) Type Uses

func (RunAssetDiscoveryResponse_State) Type() protoreflect.EnumType

type SecurityCenterClient Uses

type SecurityCenterClient interface {
    // Creates a source.
    CreateSource(ctx context.Context, in *CreateSourceRequest, opts ...grpc.CallOption) (*Source, error)
    //
    // Creates a finding. The corresponding source must exist for finding
    // creation to succeed.
    CreateFinding(ctx context.Context, in *CreateFindingRequest, opts ...grpc.CallOption) (*Finding, error)
    // Creates a notification config.
    CreateNotificationConfig(ctx context.Context, in *CreateNotificationConfigRequest, opts ...grpc.CallOption) (*NotificationConfig, error)
    // Deletes a notification config.
    DeleteNotificationConfig(ctx context.Context, in *DeleteNotificationConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Gets the access control policy on the specified Source.
    GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Gets a notification config.
    GetNotificationConfig(ctx context.Context, in *GetNotificationConfigRequest, opts ...grpc.CallOption) (*NotificationConfig, error)
    // Gets the settings for an organization.
    GetOrganizationSettings(ctx context.Context, in *GetOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error)
    // Gets a source.
    GetSource(ctx context.Context, in *GetSourceRequest, opts ...grpc.CallOption) (*Source, error)
    // Filters an organization's assets and  groups them by their specified
    // properties.
    GroupAssets(ctx context.Context, in *GroupAssetsRequest, opts ...grpc.CallOption) (*GroupAssetsResponse, error)
    // Filters an organization or source's findings and  groups them by their
    // specified properties.
    //
    // To group across all sources provide a `-` as the source id.
    // Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
    GroupFindings(ctx context.Context, in *GroupFindingsRequest, opts ...grpc.CallOption) (*GroupFindingsResponse, error)
    // Lists an organization's assets.
    ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error)
    // Lists an organization or source's findings.
    //
    // To list across all sources provide a `-` as the source id.
    // Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
    ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error)
    // Lists notification configs.
    ListNotificationConfigs(ctx context.Context, in *ListNotificationConfigsRequest, opts ...grpc.CallOption) (*ListNotificationConfigsResponse, error)
    // Lists all sources belonging to an organization.
    ListSources(ctx context.Context, in *ListSourcesRequest, opts ...grpc.CallOption) (*ListSourcesResponse, error)
    // Runs asset discovery. The discovery is tracked with a long-running
    // operation.
    //
    // This API can only be called with limited frequency for an organization. If
    // it is called too frequently the caller will receive a TOO_MANY_REQUESTS
    // error.
    RunAssetDiscovery(ctx context.Context, in *RunAssetDiscoveryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    //
    // Updates the state of a finding.
    SetFindingState(ctx context.Context, in *SetFindingStateRequest, opts ...grpc.CallOption) (*Finding, error)
    // Sets the access control policy on the specified Source.
    SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Returns the permissions that a caller has on the specified source.
    TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
    // Creates or updates a finding. The corresponding source must exist for a
    // finding creation to succeed.
    UpdateFinding(ctx context.Context, in *UpdateFindingRequest, opts ...grpc.CallOption) (*Finding, error)
    // Updates a notification config. The following update
    // fields are allowed: description, pubsub_topic, streaming_config.filter
    UpdateNotificationConfig(ctx context.Context, in *UpdateNotificationConfigRequest, opts ...grpc.CallOption) (*NotificationConfig, error)
    // Updates an organization's settings.
    UpdateOrganizationSettings(ctx context.Context, in *UpdateOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error)
    // Updates a source.
    UpdateSource(ctx context.Context, in *UpdateSourceRequest, opts ...grpc.CallOption) (*Source, error)
    // Updates security marks.
    UpdateSecurityMarks(ctx context.Context, in *UpdateSecurityMarksRequest, opts ...grpc.CallOption) (*SecurityMarks, error)
}

SecurityCenterClient is the client API for SecurityCenter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSecurityCenterClient Uses

func NewSecurityCenterClient(cc grpc.ClientConnInterface) SecurityCenterClient

type SecurityCenterServer Uses

type SecurityCenterServer interface {
    // Creates a source.
    CreateSource(context.Context, *CreateSourceRequest) (*Source, error)
    //
    // Creates a finding. The corresponding source must exist for finding
    // creation to succeed.
    CreateFinding(context.Context, *CreateFindingRequest) (*Finding, error)
    // Creates a notification config.
    CreateNotificationConfig(context.Context, *CreateNotificationConfigRequest) (*NotificationConfig, error)
    // Deletes a notification config.
    DeleteNotificationConfig(context.Context, *DeleteNotificationConfigRequest) (*empty.Empty, error)
    // Gets the access control policy on the specified Source.
    GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
    // Gets a notification config.
    GetNotificationConfig(context.Context, *GetNotificationConfigRequest) (*NotificationConfig, error)
    // Gets the settings for an organization.
    GetOrganizationSettings(context.Context, *GetOrganizationSettingsRequest) (*OrganizationSettings, error)
    // Gets a source.
    GetSource(context.Context, *GetSourceRequest) (*Source, error)
    // Filters an organization's assets and  groups them by their specified
    // properties.
    GroupAssets(context.Context, *GroupAssetsRequest) (*GroupAssetsResponse, error)
    // Filters an organization or source's findings and  groups them by their
    // specified properties.
    //
    // To group across all sources provide a `-` as the source id.
    // Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
    GroupFindings(context.Context, *GroupFindingsRequest) (*GroupFindingsResponse, error)
    // Lists an organization's assets.
    ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
    // Lists an organization or source's findings.
    //
    // To list across all sources provide a `-` as the source id.
    // Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
    ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error)
    // Lists notification configs.
    ListNotificationConfigs(context.Context, *ListNotificationConfigsRequest) (*ListNotificationConfigsResponse, error)
    // Lists all sources belonging to an organization.
    ListSources(context.Context, *ListSourcesRequest) (*ListSourcesResponse, error)
    // Runs asset discovery. The discovery is tracked with a long-running
    // operation.
    //
    // This API can only be called with limited frequency for an organization. If
    // it is called too frequently the caller will receive a TOO_MANY_REQUESTS
    // error.
    RunAssetDiscovery(context.Context, *RunAssetDiscoveryRequest) (*longrunning.Operation, error)
    //
    // Updates the state of a finding.
    SetFindingState(context.Context, *SetFindingStateRequest) (*Finding, error)
    // Sets the access control policy on the specified Source.
    SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
    // Returns the permissions that a caller has on the specified source.
    TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
    // Creates or updates a finding. The corresponding source must exist for a
    // finding creation to succeed.
    UpdateFinding(context.Context, *UpdateFindingRequest) (*Finding, error)
    // Updates a notification config. The following update
    // fields are allowed: description, pubsub_topic, streaming_config.filter
    UpdateNotificationConfig(context.Context, *UpdateNotificationConfigRequest) (*NotificationConfig, error)
    // Updates an organization's settings.
    UpdateOrganizationSettings(context.Context, *UpdateOrganizationSettingsRequest) (*OrganizationSettings, error)
    // Updates a source.
    UpdateSource(context.Context, *UpdateSourceRequest) (*Source, error)
    // Updates security marks.
    UpdateSecurityMarks(context.Context, *UpdateSecurityMarksRequest) (*SecurityMarks, error)
}

SecurityCenterServer is the server API for SecurityCenter service.

type SecurityMarks Uses

type SecurityMarks struct {

    // The relative resource name of the SecurityMarks. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Examples:
    // "organizations/{organization_id}/assets/{asset_id}/securityMarks"
    // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // 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)
    Marks map[string]string `protobuf:"bytes,2,rep,name=marks,proto3" json:"marks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.

func (*SecurityMarks) Descriptor Uses

func (*SecurityMarks) Descriptor() ([]byte, []int)

Deprecated: Use SecurityMarks.ProtoReflect.Descriptor instead.

func (*SecurityMarks) GetMarks Uses

func (x *SecurityMarks) GetMarks() map[string]string

func (*SecurityMarks) GetName Uses

func (x *SecurityMarks) GetName() string

func (*SecurityMarks) ProtoMessage Uses

func (*SecurityMarks) ProtoMessage()

func (*SecurityMarks) ProtoReflect Uses

func (x *SecurityMarks) ProtoReflect() protoreflect.Message

func (*SecurityMarks) Reset Uses

func (x *SecurityMarks) Reset()

func (*SecurityMarks) String Uses

func (x *SecurityMarks) String() string

type SetFindingStateRequest Uses

type SetFindingStateRequest struct {

    // Required. The relative resource name of the finding. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Example:
    // "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The desired State of the finding.
    State Finding_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_State" json:"state,omitempty"`
    // Required. The time at which the updated state takes effect.
    StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // contains filtered or unexported fields
}

Request message for updating a finding's state.

func (*SetFindingStateRequest) Descriptor Uses

func (*SetFindingStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetFindingStateRequest.ProtoReflect.Descriptor instead.

func (*SetFindingStateRequest) GetName Uses

func (x *SetFindingStateRequest) GetName() string

func (*SetFindingStateRequest) GetStartTime Uses

func (x *SetFindingStateRequest) GetStartTime() *timestamp.Timestamp

func (*SetFindingStateRequest) GetState Uses

func (x *SetFindingStateRequest) GetState() Finding_State

func (*SetFindingStateRequest) ProtoMessage Uses

func (*SetFindingStateRequest) ProtoMessage()

func (*SetFindingStateRequest) ProtoReflect Uses

func (x *SetFindingStateRequest) ProtoReflect() protoreflect.Message

func (*SetFindingStateRequest) Reset Uses

func (x *SetFindingStateRequest) Reset()

func (*SetFindingStateRequest) String Uses

func (x *SetFindingStateRequest) String() string

type Source Uses

type Source struct {

    // The relative resource name of this source. See:
    // https://cloud.google.com/apis/design/resource_names#relative_resource_name
    // Example:
    // "organizations/{organization_id}/sources/{source_id}"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // 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 have a length between 1 and 64 characters
    // (inclusive).
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // The description of the source (max of 1024 characters).
    // Example:
    // "Web 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."
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // contains filtered or unexported fields
}

Security Command Center 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.

func (*Source) Descriptor Uses

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetDescription Uses

func (x *Source) GetDescription() string

func (*Source) GetDisplayName Uses

func (x *Source) GetDisplayName() string

func (*Source) GetName Uses

func (x *Source) GetName() string

func (*Source) ProtoMessage Uses

func (*Source) ProtoMessage()

func (*Source) ProtoReflect Uses

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset Uses

func (x *Source) Reset()

func (*Source) String Uses

func (x *Source) String() string

type UnimplementedSecurityCenterServer Uses

type UnimplementedSecurityCenterServer struct {
}

UnimplementedSecurityCenterServer can be embedded to have forward compatible implementations.

func (*UnimplementedSecurityCenterServer) CreateFinding Uses

func (*UnimplementedSecurityCenterServer) CreateFinding(context.Context, *CreateFindingRequest) (*Finding, error)

func (*UnimplementedSecurityCenterServer) CreateNotificationConfig Uses

func (*UnimplementedSecurityCenterServer) CreateNotificationConfig(context.Context, *CreateNotificationConfigRequest) (*NotificationConfig, error)

func (*UnimplementedSecurityCenterServer) CreateSource Uses

func (*UnimplementedSecurityCenterServer) CreateSource(context.Context, *CreateSourceRequest) (*Source, error)

func (*UnimplementedSecurityCenterServer) DeleteNotificationConfig Uses

func (*UnimplementedSecurityCenterServer) DeleteNotificationConfig(context.Context, *DeleteNotificationConfigRequest) (*empty.Empty, error)

func (*UnimplementedSecurityCenterServer) GetIamPolicy Uses

func (*UnimplementedSecurityCenterServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedSecurityCenterServer) GetNotificationConfig Uses

func (*UnimplementedSecurityCenterServer) GetNotificationConfig(context.Context, *GetNotificationConfigRequest) (*NotificationConfig, error)

func (*UnimplementedSecurityCenterServer) GetOrganizationSettings Uses

func (*UnimplementedSecurityCenterServer) GetOrganizationSettings(context.Context, *GetOrganizationSettingsRequest) (*OrganizationSettings, error)

func (*UnimplementedSecurityCenterServer) GetSource Uses

func (*UnimplementedSecurityCenterServer) GetSource(context.Context, *GetSourceRequest) (*Source, error)

func (*UnimplementedSecurityCenterServer) GroupAssets Uses

func (*UnimplementedSecurityCenterServer) GroupAssets(context.Context, *GroupAssetsRequest) (*GroupAssetsResponse, error)

func (*UnimplementedSecurityCenterServer) GroupFindings Uses

func (*UnimplementedSecurityCenterServer) GroupFindings(context.Context, *GroupFindingsRequest) (*GroupFindingsResponse, error)

func (*UnimplementedSecurityCenterServer) ListAssets Uses

func (*UnimplementedSecurityCenterServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)

func (*UnimplementedSecurityCenterServer) ListFindings Uses

func (*UnimplementedSecurityCenterServer) ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error)

func (*UnimplementedSecurityCenterServer) ListNotificationConfigs Uses

func (*UnimplementedSecurityCenterServer) ListNotificationConfigs(context.Context, *ListNotificationConfigsRequest) (*ListNotificationConfigsResponse, error)

func (*UnimplementedSecurityCenterServer) ListSources Uses

func (*UnimplementedSecurityCenterServer) ListSources(context.Context, *ListSourcesRequest) (*ListSourcesResponse, error)

func (*UnimplementedSecurityCenterServer) RunAssetDiscovery Uses

func (*UnimplementedSecurityCenterServer) RunAssetDiscovery(context.Context, *RunAssetDiscoveryRequest) (*longrunning.Operation, error)

func (*UnimplementedSecurityCenterServer) SetFindingState Uses

func (*UnimplementedSecurityCenterServer) SetFindingState(context.Context, *SetFindingStateRequest) (*Finding, error)

func (*UnimplementedSecurityCenterServer) SetIamPolicy Uses

func (*UnimplementedSecurityCenterServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedSecurityCenterServer) TestIamPermissions Uses

func (*UnimplementedSecurityCenterServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedSecurityCenterServer) UpdateFinding Uses

func (*UnimplementedSecurityCenterServer) UpdateFinding(context.Context, *UpdateFindingRequest) (*Finding, error)

func (*UnimplementedSecurityCenterServer) UpdateNotificationConfig Uses

func (*UnimplementedSecurityCenterServer) UpdateNotificationConfig(context.Context, *UpdateNotificationConfigRequest) (*NotificationConfig, error)

func (*UnimplementedSecurityCenterServer) UpdateOrganizationSettings Uses

func (*UnimplementedSecurityCenterServer) UpdateOrganizationSettings(context.Context, *UpdateOrganizationSettingsRequest) (*OrganizationSettings, error)

func (*UnimplementedSecurityCenterServer) UpdateSecurityMarks Uses

func (*UnimplementedSecurityCenterServer) UpdateSecurityMarks(context.Context, *UpdateSecurityMarksRequest) (*SecurityMarks, error)

func (*UnimplementedSecurityCenterServer) UpdateSource Uses

func (*UnimplementedSecurityCenterServer) UpdateSource(context.Context, *UpdateSourceRequest) (*Source, error)

type UpdateFindingRequest Uses

type UpdateFindingRequest struct {

    // Required. The finding resource to update or create if it does not already
    // exist. parent, security_marks, and update_time will be ignored.
    //
    // In the case of creation, the finding id portion of the name must be
    // alphanumeric and less than or equal to 32 characters and greater than 0
    // characters in length.
    Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"`
    // The FieldMask to use when updating the finding resource. This field should
    // not be specified when creating a finding.
    //
    // When updating a finding, an empty mask is treated as updating all mutable
    // fields and replacing source_properties.  Individual source_properties can
    // be added/updated by using "source_properties.<property key>" in the field
    // mask.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for updating or creating a finding.

func (*UpdateFindingRequest) Descriptor Uses

func (*UpdateFindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFindingRequest.ProtoReflect.Descriptor instead.

func (*UpdateFindingRequest) GetFinding Uses

func (x *UpdateFindingRequest) GetFinding() *Finding

func (*UpdateFindingRequest) GetUpdateMask Uses

func (x *UpdateFindingRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateFindingRequest) ProtoMessage Uses

func (*UpdateFindingRequest) ProtoMessage()

func (*UpdateFindingRequest) ProtoReflect Uses

func (x *UpdateFindingRequest) ProtoReflect() protoreflect.Message

func (*UpdateFindingRequest) Reset Uses

func (x *UpdateFindingRequest) Reset()

func (*UpdateFindingRequest) String Uses

func (x *UpdateFindingRequest) String() string

type UpdateNotificationConfigRequest Uses

type UpdateNotificationConfigRequest struct {

    // Required. The notification config to update.
    NotificationConfig *NotificationConfig `protobuf:"bytes,1,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
    // The FieldMask to use when updating the notification config.
    //
    // If empty all mutable fields will be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for updating a notification config.

func (*UpdateNotificationConfigRequest) Descriptor Uses

func (*UpdateNotificationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNotificationConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotificationConfigRequest) GetNotificationConfig Uses

func (x *UpdateNotificationConfigRequest) GetNotificationConfig() *NotificationConfig

func (*UpdateNotificationConfigRequest) GetUpdateMask Uses

func (x *UpdateNotificationConfigRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateNotificationConfigRequest) ProtoMessage Uses

func (*UpdateNotificationConfigRequest) ProtoMessage()

func (*UpdateNotificationConfigRequest) ProtoReflect Uses

func (x *UpdateNotificationConfigRequest) ProtoReflect() protoreflect.Message

func (*UpdateNotificationConfigRequest) Reset Uses

func (x *UpdateNotificationConfigRequest) Reset()

func (*UpdateNotificationConfigRequest) String Uses

func (x *UpdateNotificationConfigRequest) String() string

type UpdateOrganizationSettingsRequest Uses

type UpdateOrganizationSettingsRequest struct {

    // Required. The organization settings resource to update.
    OrganizationSettings *OrganizationSettings `protobuf:"bytes,1,opt,name=organization_settings,json=organizationSettings,proto3" json:"organization_settings,omitempty"`
    // The FieldMask to use when updating the settings resource.
    //
    //  If empty all mutable fields will be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for updating an organization's settings.

func (*UpdateOrganizationSettingsRequest) Descriptor Uses

func (*UpdateOrganizationSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationSettingsRequest) GetOrganizationSettings Uses

func (x *UpdateOrganizationSettingsRequest) GetOrganizationSettings() *OrganizationSettings

func (*UpdateOrganizationSettingsRequest) GetUpdateMask Uses

func (x *UpdateOrganizationSettingsRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateOrganizationSettingsRequest) ProtoMessage Uses

func (*UpdateOrganizationSettingsRequest) ProtoMessage()

func (*UpdateOrganizationSettingsRequest) ProtoReflect Uses

func (x *UpdateOrganizationSettingsRequest) ProtoReflect() protoreflect.Message

func (*UpdateOrganizationSettingsRequest) Reset Uses

func (x *UpdateOrganizationSettingsRequest) Reset()

func (*UpdateOrganizationSettingsRequest) String Uses

func (x *UpdateOrganizationSettingsRequest) String() string

type UpdateSecurityMarksRequest Uses

type UpdateSecurityMarksRequest struct {

    // Required. The security marks resource to update.
    SecurityMarks *SecurityMarks `protobuf:"bytes,1,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
    // The FieldMask to use when updating the security marks resource.
    //
    // The field mask must not contain duplicate fields.
    // If empty or set to "marks", all marks will be replaced.  Individual
    // marks can be updated using "marks.<mark_key>".
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // The time at which the updated SecurityMarks take effect.
    // If not set uses current server time.  Updates will be applied to the
    // SecurityMarks that are active immediately preceding this time.
    StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // contains filtered or unexported fields
}

Request message for updating a SecurityMarks resource.

func (*UpdateSecurityMarksRequest) Descriptor Uses

func (*UpdateSecurityMarksRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSecurityMarksRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecurityMarksRequest) GetSecurityMarks Uses

func (x *UpdateSecurityMarksRequest) GetSecurityMarks() *SecurityMarks

func (*UpdateSecurityMarksRequest) GetStartTime Uses

func (x *UpdateSecurityMarksRequest) GetStartTime() *timestamp.Timestamp

func (*UpdateSecurityMarksRequest) GetUpdateMask Uses

func (x *UpdateSecurityMarksRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateSecurityMarksRequest) ProtoMessage Uses

func (*UpdateSecurityMarksRequest) ProtoMessage()

func (*UpdateSecurityMarksRequest) ProtoReflect Uses

func (x *UpdateSecurityMarksRequest) ProtoReflect() protoreflect.Message

func (*UpdateSecurityMarksRequest) Reset Uses

func (x *UpdateSecurityMarksRequest) Reset()

func (*UpdateSecurityMarksRequest) String Uses

func (x *UpdateSecurityMarksRequest) String() string

type UpdateSourceRequest Uses

type UpdateSourceRequest struct {

    // Required. The source resource to update.
    Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
    // The FieldMask to use when updating the source resource.
    //
    // If empty all mutable fields will be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for updating a source.

func (*UpdateSourceRequest) Descriptor Uses

func (*UpdateSourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateSourceRequest) GetSource Uses

func (x *UpdateSourceRequest) GetSource() *Source

func (*UpdateSourceRequest) GetUpdateMask Uses

func (x *UpdateSourceRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateSourceRequest) ProtoMessage Uses

func (*UpdateSourceRequest) ProtoMessage()

func (*UpdateSourceRequest) ProtoReflect Uses

func (x *UpdateSourceRequest) ProtoReflect() protoreflect.Message

func (*UpdateSourceRequest) Reset Uses

func (x *UpdateSourceRequest) Reset()

func (*UpdateSourceRequest) String Uses

func (x *UpdateSourceRequest) String() string

Package securitycenter imports 17 packages (graph). Updated 2020-08-13. Refresh now. Tools for package owners.