blob: 4579f725487ab7471ebc8663b0f943f698c1a572 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto
package securitycenter
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
_ "github.com/golang/protobuf/ptypes/empty"
_struct "github.com/golang/protobuf/ptypes/struct"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/googleapis/api/annotations"
v1 "google.golang.org/genproto/googleapis/iam/v1"
longrunning "google.golang.org/genproto/googleapis/longrunning"
field_mask "google.golang.org/genproto/protobuf/field_mask"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// 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 should
// be: UNUSED
type ListAssetsResponse_ListAssetsResult_State int32
const (
// Unspecified state.
ListAssetsResponse_ListAssetsResult_STATE_UNSPECIFIED ListAssetsResponse_ListAssetsResult_State = 0
// Request did not specify use of this field in the result.
ListAssetsResponse_ListAssetsResult_UNUSED ListAssetsResponse_ListAssetsResult_State = 1
// Asset was added between the points in time.
ListAssetsResponse_ListAssetsResult_ADDED ListAssetsResponse_ListAssetsResult_State = 2
// Asset was removed between the points in time.
ListAssetsResponse_ListAssetsResult_REMOVED ListAssetsResponse_ListAssetsResult_State = 3
// Asset was active at both point(s) in time.
ListAssetsResponse_ListAssetsResult_ACTIVE ListAssetsResponse_ListAssetsResult_State = 4
)
var ListAssetsResponse_ListAssetsResult_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "UNUSED",
2: "ADDED",
3: "REMOVED",
4: "ACTIVE",
}
var ListAssetsResponse_ListAssetsResult_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"UNUSED": 1,
"ADDED": 2,
"REMOVED": 3,
"ACTIVE": 4,
}
func (x ListAssetsResponse_ListAssetsResult_State) String() string {
return proto.EnumName(ListAssetsResponse_ListAssetsResult_State_name, int32(x))
}
func (ListAssetsResponse_ListAssetsResult_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{12, 0, 0}
}
// Request message for creating a finding.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateFindingRequest) Reset() { *m = CreateFindingRequest{} }
func (m *CreateFindingRequest) String() string { return proto.CompactTextString(m) }
func (*CreateFindingRequest) ProtoMessage() {}
func (*CreateFindingRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{0}
}
func (m *CreateFindingRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateFindingRequest.Unmarshal(m, b)
}
func (m *CreateFindingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateFindingRequest.Marshal(b, m, deterministic)
}
func (m *CreateFindingRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateFindingRequest.Merge(m, src)
}
func (m *CreateFindingRequest) XXX_Size() int {
return xxx_messageInfo_CreateFindingRequest.Size(m)
}
func (m *CreateFindingRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateFindingRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateFindingRequest proto.InternalMessageInfo
func (m *CreateFindingRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateFindingRequest) GetFindingId() string {
if m != nil {
return m.FindingId
}
return ""
}
func (m *CreateFindingRequest) GetFinding() *Finding {
if m != nil {
return m.Finding
}
return nil
}
// Request message for creating a source.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateSourceRequest) Reset() { *m = CreateSourceRequest{} }
func (m *CreateSourceRequest) String() string { return proto.CompactTextString(m) }
func (*CreateSourceRequest) ProtoMessage() {}
func (*CreateSourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{1}
}
func (m *CreateSourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateSourceRequest.Unmarshal(m, b)
}
func (m *CreateSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateSourceRequest.Marshal(b, m, deterministic)
}
func (m *CreateSourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateSourceRequest.Merge(m, src)
}
func (m *CreateSourceRequest) XXX_Size() int {
return xxx_messageInfo_CreateSourceRequest.Size(m)
}
func (m *CreateSourceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateSourceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateSourceRequest proto.InternalMessageInfo
func (m *CreateSourceRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateSourceRequest) GetSource() *Source {
if m != nil {
return m.Source
}
return nil
}
// Request message for getting organization settings.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOrganizationSettingsRequest) Reset() { *m = GetOrganizationSettingsRequest{} }
func (m *GetOrganizationSettingsRequest) String() string { return proto.CompactTextString(m) }
func (*GetOrganizationSettingsRequest) ProtoMessage() {}
func (*GetOrganizationSettingsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{2}
}
func (m *GetOrganizationSettingsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetOrganizationSettingsRequest.Unmarshal(m, b)
}
func (m *GetOrganizationSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetOrganizationSettingsRequest.Marshal(b, m, deterministic)
}
func (m *GetOrganizationSettingsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOrganizationSettingsRequest.Merge(m, src)
}
func (m *GetOrganizationSettingsRequest) XXX_Size() int {
return xxx_messageInfo_GetOrganizationSettingsRequest.Size(m)
}
func (m *GetOrganizationSettingsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOrganizationSettingsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOrganizationSettingsRequest proto.InternalMessageInfo
func (m *GetOrganizationSettingsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request message for getting a source.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetSourceRequest) Reset() { *m = GetSourceRequest{} }
func (m *GetSourceRequest) String() string { return proto.CompactTextString(m) }
func (*GetSourceRequest) ProtoMessage() {}
func (*GetSourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{3}
}
func (m *GetSourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSourceRequest.Unmarshal(m, b)
}
func (m *GetSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSourceRequest.Marshal(b, m, deterministic)
}
func (m *GetSourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSourceRequest.Merge(m, src)
}
func (m *GetSourceRequest) XXX_Size() int {
return xxx_messageInfo_GetSourceRequest.Size(m)
}
func (m *GetSourceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetSourceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetSourceRequest proto.InternalMessageInfo
func (m *GetSourceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request message for grouping by assets.
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 not 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.
//
// For example, `resource_properties.size = 100` is a valid filter string.
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_type
// * security_center_properties.resource_parent
//
// The following fields are supported when compare_duration is set:
//
// * security_center_properties.resource_type
GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
// When compare_duration is set, the Asset's "state" 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 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" values when compare_duration is specified:
//
// * "ADDED": indicates that the asset was not present before
// 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.
//
// This field is ignored if `state` is not a 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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GroupAssetsRequest) Reset() { *m = GroupAssetsRequest{} }
func (m *GroupAssetsRequest) String() string { return proto.CompactTextString(m) }
func (*GroupAssetsRequest) ProtoMessage() {}
func (*GroupAssetsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{4}
}
func (m *GroupAssetsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupAssetsRequest.Unmarshal(m, b)
}
func (m *GroupAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupAssetsRequest.Marshal(b, m, deterministic)
}
func (m *GroupAssetsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupAssetsRequest.Merge(m, src)
}
func (m *GroupAssetsRequest) XXX_Size() int {
return xxx_messageInfo_GroupAssetsRequest.Size(m)
}
func (m *GroupAssetsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GroupAssetsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GroupAssetsRequest proto.InternalMessageInfo
func (m *GroupAssetsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *GroupAssetsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *GroupAssetsRequest) GetGroupBy() string {
if m != nil {
return m.GroupBy
}
return ""
}
func (m *GroupAssetsRequest) GetCompareDuration() *duration.Duration {
if m != nil {
return m.CompareDuration
}
return nil
}
func (m *GroupAssetsRequest) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *GroupAssetsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *GroupAssetsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// Response message for grouping by assets.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GroupAssetsResponse) Reset() { *m = GroupAssetsResponse{} }
func (m *GroupAssetsResponse) String() string { return proto.CompactTextString(m) }
func (*GroupAssetsResponse) ProtoMessage() {}
func (*GroupAssetsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{5}
}
func (m *GroupAssetsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupAssetsResponse.Unmarshal(m, b)
}
func (m *GroupAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupAssetsResponse.Marshal(b, m, deterministic)
}
func (m *GroupAssetsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupAssetsResponse.Merge(m, src)
}
func (m *GroupAssetsResponse) XXX_Size() int {
return xxx_messageInfo_GroupAssetsResponse.Size(m)
}
func (m *GroupAssetsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GroupAssetsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GroupAssetsResponse proto.InternalMessageInfo
func (m *GroupAssetsResponse) GetGroupByResults() []*GroupResult {
if m != nil {
return m.GroupByResults
}
return nil
}
func (m *GroupAssetsResponse) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *GroupAssetsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request message for grouping by findings.
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 not 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.
//
// For example, `source_properties.size = 100` is a valid filter string.
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`). 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
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"`
// 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,5,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,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GroupFindingsRequest) Reset() { *m = GroupFindingsRequest{} }
func (m *GroupFindingsRequest) String() string { return proto.CompactTextString(m) }
func (*GroupFindingsRequest) ProtoMessage() {}
func (*GroupFindingsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{6}
}
func (m *GroupFindingsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupFindingsRequest.Unmarshal(m, b)
}
func (m *GroupFindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupFindingsRequest.Marshal(b, m, deterministic)
}
func (m *GroupFindingsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupFindingsRequest.Merge(m, src)
}
func (m *GroupFindingsRequest) XXX_Size() int {
return xxx_messageInfo_GroupFindingsRequest.Size(m)
}
func (m *GroupFindingsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GroupFindingsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GroupFindingsRequest proto.InternalMessageInfo
func (m *GroupFindingsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *GroupFindingsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *GroupFindingsRequest) GetGroupBy() string {
if m != nil {
return m.GroupBy
}
return ""
}
func (m *GroupFindingsRequest) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *GroupFindingsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *GroupFindingsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// Response message for group by findings.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GroupFindingsResponse) Reset() { *m = GroupFindingsResponse{} }
func (m *GroupFindingsResponse) String() string { return proto.CompactTextString(m) }
func (*GroupFindingsResponse) ProtoMessage() {}
func (*GroupFindingsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{7}
}
func (m *GroupFindingsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupFindingsResponse.Unmarshal(m, b)
}
func (m *GroupFindingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupFindingsResponse.Marshal(b, m, deterministic)
}
func (m *GroupFindingsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupFindingsResponse.Merge(m, src)
}
func (m *GroupFindingsResponse) XXX_Size() int {
return xxx_messageInfo_GroupFindingsResponse.Size(m)
}
func (m *GroupFindingsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GroupFindingsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GroupFindingsResponse proto.InternalMessageInfo
func (m *GroupFindingsResponse) GetGroupByResults() []*GroupResult {
if m != nil {
return m.GroupByResults
}
return nil
}
func (m *GroupFindingsResponse) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *GroupFindingsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Result containing the properties and count of a groupBy request.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GroupResult) Reset() { *m = GroupResult{} }
func (m *GroupResult) String() string { return proto.CompactTextString(m) }
func (*GroupResult) ProtoMessage() {}
func (*GroupResult) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{8}
}
func (m *GroupResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupResult.Unmarshal(m, b)
}
func (m *GroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupResult.Marshal(b, m, deterministic)
}
func (m *GroupResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupResult.Merge(m, src)
}
func (m *GroupResult) XXX_Size() int {
return xxx_messageInfo_GroupResult.Size(m)
}
func (m *GroupResult) XXX_DiscardUnknown() {
xxx_messageInfo_GroupResult.DiscardUnknown(m)
}
var xxx_messageInfo_GroupResult proto.InternalMessageInfo
func (m *GroupResult) GetProperties() map[string]*_struct.Value {
if m != nil {
return m.Properties
}
return nil
}
func (m *GroupResult) GetCount() int64 {
if m != nil {
return m.Count
}
return 0
}
// Request message for listing sources.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSourcesRequest) Reset() { *m = ListSourcesRequest{} }
func (m *ListSourcesRequest) String() string { return proto.CompactTextString(m) }
func (*ListSourcesRequest) ProtoMessage() {}
func (*ListSourcesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{9}
}
func (m *ListSourcesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListSourcesRequest.Unmarshal(m, b)
}
func (m *ListSourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListSourcesRequest.Marshal(b, m, deterministic)
}
func (m *ListSourcesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListSourcesRequest.Merge(m, src)
}
func (m *ListSourcesRequest) XXX_Size() int {
return xxx_messageInfo_ListSourcesRequest.Size(m)
}
func (m *ListSourcesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListSourcesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListSourcesRequest proto.InternalMessageInfo
func (m *ListSourcesRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListSourcesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListSourcesRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// Response message for listing sources.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSourcesResponse) Reset() { *m = ListSourcesResponse{} }
func (m *ListSourcesResponse) String() string { return proto.CompactTextString(m) }
func (*ListSourcesResponse) ProtoMessage() {}
func (*ListSourcesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{10}
}
func (m *ListSourcesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListSourcesResponse.Unmarshal(m, b)
}
func (m *ListSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListSourcesResponse.Marshal(b, m, deterministic)
}
func (m *ListSourcesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListSourcesResponse.Merge(m, src)
}
func (m *ListSourcesResponse) XXX_Size() int {
return xxx_messageInfo_ListSourcesResponse.Size(m)
}
func (m *ListSourcesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListSourcesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListSourcesResponse proto.InternalMessageInfo
func (m *ListSourcesResponse) GetSources() []*Source {
if m != nil {
return m.Sources
}
return nil
}
func (m *ListSourcesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request message for listing assets.
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 not 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.
//
// For example, `resource_properties.size = 100` is a valid filter string.
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.
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 ListAssetResult's "state" 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 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" values when compare_duration is specified:
//
// * "ADDED": indicates that the asset was not present before
// 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 is
// "UNUSED", which indicates that the asset is 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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListAssetsRequest) Reset() { *m = ListAssetsRequest{} }
func (m *ListAssetsRequest) String() string { return proto.CompactTextString(m) }
func (*ListAssetsRequest) ProtoMessage() {}
func (*ListAssetsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{11}
}
func (m *ListAssetsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListAssetsRequest.Unmarshal(m, b)
}
func (m *ListAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListAssetsRequest.Marshal(b, m, deterministic)
}
func (m *ListAssetsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListAssetsRequest.Merge(m, src)
}
func (m *ListAssetsRequest) XXX_Size() int {
return xxx_messageInfo_ListAssetsRequest.Size(m)
}
func (m *ListAssetsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListAssetsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListAssetsRequest proto.InternalMessageInfo
func (m *ListAssetsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListAssetsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListAssetsRequest) GetOrderBy() string {
if m != nil {
return m.OrderBy
}
return ""
}
func (m *ListAssetsRequest) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *ListAssetsRequest) GetCompareDuration() *duration.Duration {
if m != nil {
return m.CompareDuration
}
return nil
}
func (m *ListAssetsRequest) GetFieldMask() *field_mask.FieldMask {
if m != nil {
return m.FieldMask
}
return nil
}
func (m *ListAssetsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListAssetsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// Response message for listing assets.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListAssetsResponse) Reset() { *m = ListAssetsResponse{} }
func (m *ListAssetsResponse) String() string { return proto.CompactTextString(m) }
func (*ListAssetsResponse) ProtoMessage() {}
func (*ListAssetsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{12}
}
func (m *ListAssetsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListAssetsResponse.Unmarshal(m, b)
}
func (m *ListAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListAssetsResponse.Marshal(b, m, deterministic)
}
func (m *ListAssetsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListAssetsResponse.Merge(m, src)
}
func (m *ListAssetsResponse) XXX_Size() int {
return xxx_messageInfo_ListAssetsResponse.Size(m)
}
func (m *ListAssetsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListAssetsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListAssetsResponse proto.InternalMessageInfo
func (m *ListAssetsResponse) GetListAssetsResults() []*ListAssetsResponse_ListAssetsResult {
if m != nil {
return m.ListAssetsResults
}
return nil
}
func (m *ListAssetsResponse) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *ListAssetsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
func (m *ListAssetsResponse) GetTotalSize() int32 {
if m != nil {
return m.TotalSize
}
return 0
}
// Result containing the Asset and its State.
type ListAssetsResponse_ListAssetsResult struct {
// Asset matching the search request.
Asset *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
// State of the asset.
State ListAssetsResponse_ListAssetsResult_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.ListAssetsResponse_ListAssetsResult_State" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListAssetsResponse_ListAssetsResult) Reset() { *m = ListAssetsResponse_ListAssetsResult{} }
func (m *ListAssetsResponse_ListAssetsResult) String() string { return proto.CompactTextString(m) }
func (*ListAssetsResponse_ListAssetsResult) ProtoMessage() {}
func (*ListAssetsResponse_ListAssetsResult) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{12, 0}
}
func (m *ListAssetsResponse_ListAssetsResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Unmarshal(m, b)
}
func (m *ListAssetsResponse_ListAssetsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Marshal(b, m, deterministic)
}
func (m *ListAssetsResponse_ListAssetsResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Merge(m, src)
}
func (m *ListAssetsResponse_ListAssetsResult) XXX_Size() int {
return xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Size(m)
}
func (m *ListAssetsResponse_ListAssetsResult) XXX_DiscardUnknown() {
xxx_messageInfo_ListAssetsResponse_ListAssetsResult.DiscardUnknown(m)
}
var xxx_messageInfo_ListAssetsResponse_ListAssetsResult proto.InternalMessageInfo
func (m *ListAssetsResponse_ListAssetsResult) GetAsset() *Asset {
if m != nil {
return m.Asset
}
return nil
}
func (m *ListAssetsResponse_ListAssetsResult) GetState() ListAssetsResponse_ListAssetsResult_State {
if m != nil {
return m.State
}
return ListAssetsResponse_ListAssetsResult_STATE_UNSPECIFIED
}
// Request message for listing findings.
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 not 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.
//
// For example, `source_properties.size = 100` is a valid filter string.
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.
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"`
// 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,5,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,6,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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListFindingsRequest) Reset() { *m = ListFindingsRequest{} }
func (m *ListFindingsRequest) String() string { return proto.CompactTextString(m) }
func (*ListFindingsRequest) ProtoMessage() {}
func (*ListFindingsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{13}
}
func (m *ListFindingsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListFindingsRequest.Unmarshal(m, b)
}
func (m *ListFindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListFindingsRequest.Marshal(b, m, deterministic)
}
func (m *ListFindingsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListFindingsRequest.Merge(m, src)
}
func (m *ListFindingsRequest) XXX_Size() int {
return xxx_messageInfo_ListFindingsRequest.Size(m)
}
func (m *ListFindingsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListFindingsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListFindingsRequest proto.InternalMessageInfo
func (m *ListFindingsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListFindingsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListFindingsRequest) GetOrderBy() string {
if m != nil {
return m.OrderBy
}
return ""
}
func (m *ListFindingsRequest) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *ListFindingsRequest) GetFieldMask() *field_mask.FieldMask {
if m != nil {
return m.FieldMask
}
return nil
}
func (m *ListFindingsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListFindingsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// Response message for listing findings.
type ListFindingsResponse struct {
// Findings matching the list request.
Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListFindingsResponse) Reset() { *m = ListFindingsResponse{} }
func (m *ListFindingsResponse) String() string { return proto.CompactTextString(m) }
func (*ListFindingsResponse) ProtoMessage() {}
func (*ListFindingsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{14}
}
func (m *ListFindingsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListFindingsResponse.Unmarshal(m, b)
}
func (m *ListFindingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListFindingsResponse.Marshal(b, m, deterministic)
}
func (m *ListFindingsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListFindingsResponse.Merge(m, src)
}
func (m *ListFindingsResponse) XXX_Size() int {
return xxx_messageInfo_ListFindingsResponse.Size(m)
}
func (m *ListFindingsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListFindingsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListFindingsResponse proto.InternalMessageInfo
func (m *ListFindingsResponse) GetFindings() []*Finding {
if m != nil {
return m.Findings
}
return nil
}
func (m *ListFindingsResponse) GetReadTime() *timestamp.Timestamp {
if m != nil {
return m.ReadTime
}
return nil
}
func (m *ListFindingsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
func (m *ListFindingsResponse) GetTotalSize() int32 {
if m != nil {
return m.TotalSize
}
return 0
}
// Request message for updating a finding's state.
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.v1beta1.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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetFindingStateRequest) Reset() { *m = SetFindingStateRequest{} }
func (m *SetFindingStateRequest) String() string { return proto.CompactTextString(m) }
func (*SetFindingStateRequest) ProtoMessage() {}
func (*SetFindingStateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{15}
}
func (m *SetFindingStateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetFindingStateRequest.Unmarshal(m, b)
}
func (m *SetFindingStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetFindingStateRequest.Marshal(b, m, deterministic)
}
func (m *SetFindingStateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetFindingStateRequest.Merge(m, src)
}
func (m *SetFindingStateRequest) XXX_Size() int {
return xxx_messageInfo_SetFindingStateRequest.Size(m)
}
func (m *SetFindingStateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetFindingStateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetFindingStateRequest proto.InternalMessageInfo
func (m *SetFindingStateRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *SetFindingStateRequest) GetState() Finding_State {
if m != nil {
return m.State
}
return Finding_STATE_UNSPECIFIED
}
func (m *SetFindingStateRequest) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
// Request message for running asset discovery for an organization.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RunAssetDiscoveryRequest) Reset() { *m = RunAssetDiscoveryRequest{} }
func (m *RunAssetDiscoveryRequest) String() string { return proto.CompactTextString(m) }
func (*RunAssetDiscoveryRequest) ProtoMessage() {}
func (*RunAssetDiscoveryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{16}
}
func (m *RunAssetDiscoveryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunAssetDiscoveryRequest.Unmarshal(m, b)
}
func (m *RunAssetDiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RunAssetDiscoveryRequest.Marshal(b, m, deterministic)
}
func (m *RunAssetDiscoveryRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunAssetDiscoveryRequest.Merge(m, src)
}
func (m *RunAssetDiscoveryRequest) XXX_Size() int {
return xxx_messageInfo_RunAssetDiscoveryRequest.Size(m)
}
func (m *RunAssetDiscoveryRequest) XXX_DiscardUnknown() {
xxx_messageInfo_RunAssetDiscoveryRequest.DiscardUnknown(m)
}
var xxx_messageInfo_RunAssetDiscoveryRequest proto.InternalMessageInfo
func (m *RunAssetDiscoveryRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
// Request message for updating or creating a finding.
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
// 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.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateFindingRequest) Reset() { *m = UpdateFindingRequest{} }
func (m *UpdateFindingRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateFindingRequest) ProtoMessage() {}
func (*UpdateFindingRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{17}
}
func (m *UpdateFindingRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateFindingRequest.Unmarshal(m, b)
}
func (m *UpdateFindingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateFindingRequest.Marshal(b, m, deterministic)
}
func (m *UpdateFindingRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateFindingRequest.Merge(m, src)
}
func (m *UpdateFindingRequest) XXX_Size() int {
return xxx_messageInfo_UpdateFindingRequest.Size(m)
}
func (m *UpdateFindingRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateFindingRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateFindingRequest proto.InternalMessageInfo
func (m *UpdateFindingRequest) GetFinding() *Finding {
if m != nil {
return m.Finding
}
return nil
}
func (m *UpdateFindingRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request message for updating an organization's settings.
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.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateOrganizationSettingsRequest) Reset() { *m = UpdateOrganizationSettingsRequest{} }
func (m *UpdateOrganizationSettingsRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateOrganizationSettingsRequest) ProtoMessage() {}
func (*UpdateOrganizationSettingsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{18}
}
func (m *UpdateOrganizationSettingsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateOrganizationSettingsRequest.Unmarshal(m, b)
}
func (m *UpdateOrganizationSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateOrganizationSettingsRequest.Marshal(b, m, deterministic)
}
func (m *UpdateOrganizationSettingsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateOrganizationSettingsRequest.Merge(m, src)
}
func (m *UpdateOrganizationSettingsRequest) XXX_Size() int {
return xxx_messageInfo_UpdateOrganizationSettingsRequest.Size(m)
}
func (m *UpdateOrganizationSettingsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateOrganizationSettingsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateOrganizationSettingsRequest proto.InternalMessageInfo
func (m *UpdateOrganizationSettingsRequest) GetOrganizationSettings() *OrganizationSettings {
if m != nil {
return m.OrganizationSettings
}
return nil
}
func (m *UpdateOrganizationSettingsRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request message for updating a source.
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.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateSourceRequest) Reset() { *m = UpdateSourceRequest{} }
func (m *UpdateSourceRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateSourceRequest) ProtoMessage() {}
func (*UpdateSourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{19}
}
func (m *UpdateSourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateSourceRequest.Unmarshal(m, b)
}
func (m *UpdateSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateSourceRequest.Marshal(b, m, deterministic)
}
func (m *UpdateSourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateSourceRequest.Merge(m, src)
}
func (m *UpdateSourceRequest) XXX_Size() int {
return xxx_messageInfo_UpdateSourceRequest.Size(m)
}
func (m *UpdateSourceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateSourceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateSourceRequest proto.InternalMessageInfo
func (m *UpdateSourceRequest) GetSource() *Source {
if m != nil {
return m.Source
}
return nil
}
func (m *UpdateSourceRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request message for updating a SecurityMarks resource.
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.
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.
StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateSecurityMarksRequest) Reset() { *m = UpdateSecurityMarksRequest{} }
func (m *UpdateSecurityMarksRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateSecurityMarksRequest) ProtoMessage() {}
func (*UpdateSecurityMarksRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_718836fd7840efb6, []int{20}
}
func (m *UpdateSecurityMarksRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateSecurityMarksRequest.Unmarshal(m, b)
}
func (m *UpdateSecurityMarksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateSecurityMarksRequest.Marshal(b, m, deterministic)
}
func (m *UpdateSecurityMarksRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateSecurityMarksRequest.Merge(m, src)
}
func (m *UpdateSecurityMarksRequest) XXX_Size() int {
return xxx_messageInfo_UpdateSecurityMarksRequest.Size(m)
}
func (m *UpdateSecurityMarksRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateSecurityMarksRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateSecurityMarksRequest proto.InternalMessageInfo
func (m *UpdateSecurityMarksRequest) GetSecurityMarks() *SecurityMarks {
if m != nil {
return m.SecurityMarks
}
return nil
}
func (m *UpdateSecurityMarksRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
func (m *UpdateSecurityMarksRequest) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func init() {
proto.RegisterEnum("google.cloud.securitycenter.v1beta1.ListAssetsResponse_ListAssetsResult_State", ListAssetsResponse_ListAssetsResult_State_name, ListAssetsResponse_ListAssetsResult_State_value)
proto.RegisterType((*CreateFindingRequest)(nil), "google.cloud.securitycenter.v1beta1.CreateFindingRequest")
proto.RegisterType((*CreateSourceRequest)(nil), "google.cloud.securitycenter.v1beta1.CreateSourceRequest")
proto.RegisterType((*GetOrganizationSettingsRequest)(nil), "google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest")
proto.RegisterType((*GetSourceRequest)(nil), "google.cloud.securitycenter.v1beta1.GetSourceRequest")
proto.RegisterType((*GroupAssetsRequest)(nil), "google.cloud.securitycenter.v1beta1.GroupAssetsRequest")
proto.RegisterType((*GroupAssetsResponse)(nil), "google.cloud.securitycenter.v1beta1.GroupAssetsResponse")
proto.RegisterType((*GroupFindingsRequest)(nil), "google.cloud.securitycenter.v1beta1.GroupFindingsRequest")
proto.RegisterType((*GroupFindingsResponse)(nil), "google.cloud.securitycenter.v1beta1.GroupFindingsResponse")
proto.RegisterType((*GroupResult)(nil), "google.cloud.securitycenter.v1beta1.GroupResult")
proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.GroupResult.PropertiesEntry")
proto.RegisterType((*ListSourcesRequest)(nil), "google.cloud.securitycenter.v1beta1.ListSourcesRequest")
proto.RegisterType((*ListSourcesResponse)(nil), "google.cloud.securitycenter.v1beta1.ListSourcesResponse")
proto.RegisterType((*ListAssetsRequest)(nil), "google.cloud.securitycenter.v1beta1.ListAssetsRequest")
proto.RegisterType((*ListAssetsResponse)(nil), "google.cloud.securitycenter.v1beta1.ListAssetsResponse")
proto.RegisterType((*ListAssetsResponse_ListAssetsResult)(nil), "google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult")
proto.RegisterType((*ListFindingsRequest)(nil), "google.cloud.securitycenter.v1beta1.ListFindingsRequest")
proto.RegisterType((*ListFindingsResponse)(nil), "google.cloud.securitycenter.v1beta1.ListFindingsResponse")
proto.RegisterType((*SetFindingStateRequest)(nil), "google.cloud.securitycenter.v1beta1.SetFindingStateRequest")
proto.RegisterType((*RunAssetDiscoveryRequest)(nil), "google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest")
proto.RegisterType((*UpdateFindingRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateFindingRequest")
proto.RegisterType((*UpdateOrganizationSettingsRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest")
proto.RegisterType((*UpdateSourceRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateSourceRequest")
proto.RegisterType((*UpdateSecurityMarksRequest)(nil), "google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest")
}
func init() {
proto.RegisterFile("google/cloud/securitycenter/v1beta1/securitycenter_service.proto", fileDescriptor_718836fd7840efb6)
}
var fileDescriptor_718836fd7840efb6 = []byte{
// 2196 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0x4f, 0x70, 0x1b, 0x57,
0x19, 0xe7, 0xc9, 0x96, 0xff, 0x7c, 0x8e, 0x13, 0xe5, 0xc5, 0x4e, 0x1d, 0xb5, 0x09, 0x61, 0x81,
0xd6, 0x49, 0x5d, 0x29, 0x56, 0xff, 0xc4, 0x51, 0x1a, 0xe2, 0x8d, 0xa5, 0x38, 0x06, 0xe2, 0x38,
0x2b, 0x3b, 0x9d, 0xc9, 0x01, 0x75, 0x2d, 0x3d, 0x2b, 0x3b, 0x96, 0x76, 0xc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16, 0x43, 0xdc, 0x1f, 0xd6, 0x0a, 0xf7, 0x93, 0x31,
0x8e, 0xf2, 0x9b, 0x03, 0x0e, 0xc9, 0xde, 0xff, 0x50, 0x3f, 0x3f, 0xb4, 0xb1, 0xf6, 0xb1, 0x9e,
0x7b, 0x44, 0x69, 0xdb, 0x2b, 0xe6, 0xf3, 0x8f, 0x1f, 0x3f, 0x0e, 0xf7, 0x9f, 0xcc, 0x0e, 0x7d,
0x24, 0xbe, 0x9d, 0x79, 0xa5, 0xdd, 0x34, 0xe9, 0x8e, 0xe3, 0xb6, 0x6e, 0x7d, 0x1f, 0x5e, 0xaa,
0x39, 0xad, 0x38, 0x2a, 0xde, 0x40, 0x0f, 0xef, 0xcb, 0x6d, 0x0d, 0xa7, 0x69, 0xda, 0x8d, 0x9c,
0xe3, 0x36, 0xf2, 0x0d, 0x62, 0xf3, 0x20, 0x9b, 0xef, 0x9f, 0x35, 0xf4, 0xf3, 0x9c, 0xeb, 0xc1,
0xe9, 0xed, 0x31, 0x4e, 0xfd, 0xea, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x28, 0xed, 0xd2,
0x94, 0x25, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// 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.
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)
// Gets the access control policy on the specified Source.
GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, 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: /v1beta1/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: /v1beta1/organizations/{organization_id}/sources/-/findings
ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, 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 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)
}
type securityCenterClient struct {
cc grpc.ClientConnInterface
}
func NewSecurityCenterClient(cc grpc.ClientConnInterface) SecurityCenterClient {
return &securityCenterClient{cc}
}
func (c *securityCenterClient) CreateSource(ctx context.Context, in *CreateSourceRequest, opts ...grpc.CallOption) (*Source, error) {
out := new(Source)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateSource", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) CreateFinding(ctx context.Context, in *CreateFindingRequest, opts ...grpc.CallOption) (*Finding, error) {
out := new(Finding)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateFinding", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
out := new(v1.Policy)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetIamPolicy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) GetOrganizationSettings(ctx context.Context, in *GetOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error) {
out := new(OrganizationSettings)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetOrganizationSettings", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) GetSource(ctx context.Context, in *GetSourceRequest, opts ...grpc.CallOption) (*Source, error) {
out := new(Source)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetSource", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) GroupAssets(ctx context.Context, in *GroupAssetsRequest, opts ...grpc.CallOption) (*GroupAssetsResponse, error) {
out := new(GroupAssetsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupAssets", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) GroupFindings(ctx context.Context, in *GroupFindingsRequest, opts ...grpc.CallOption) (*GroupFindingsResponse, error) {
out := new(GroupFindingsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupFindings", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) {
out := new(ListAssetsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListAssets", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) {
out := new(ListFindingsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListFindings", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) ListSources(ctx context.Context, in *ListSourcesRequest, opts ...grpc.CallOption) (*ListSourcesResponse, error) {
out := new(ListSourcesResponse)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListSources", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) RunAssetDiscovery(ctx context.Context, in *RunAssetDiscoveryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/RunAssetDiscovery", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) SetFindingState(ctx context.Context, in *SetFindingStateRequest, opts ...grpc.CallOption) (*Finding, error) {
out := new(Finding)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetFindingState", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
out := new(v1.Policy)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetIamPolicy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) {
out := new(v1.TestIamPermissionsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/TestIamPermissions", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) UpdateFinding(ctx context.Context, in *UpdateFindingRequest, opts ...grpc.CallOption) (*Finding, error) {
out := new(Finding)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateFinding", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) UpdateOrganizationSettings(ctx context.Context, in *UpdateOrganizationSettingsRequest, opts ...grpc.CallOption) (*OrganizationSettings, error) {
out := new(OrganizationSettings)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateOrganizationSettings", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) UpdateSource(ctx context.Context, in *UpdateSourceRequest, opts ...grpc.CallOption) (*Source, error) {
out := new(Source)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSource", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *securityCenterClient) UpdateSecurityMarks(ctx context.Context, in *UpdateSecurityMarksRequest, opts ...grpc.CallOption) (*SecurityMarks, error) {
out := new(SecurityMarks)
err := c.cc.Invoke(ctx, "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSecurityMarks", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// SecurityCenterServer is the server API for SecurityCenter service.
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)
// Gets the access control policy on the specified Source.
GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, 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: /v1beta1/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: /v1beta1/organizations/{organization_id}/sources/-/findings
ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, 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 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)
}
// UnimplementedSecurityCenterServer can be embedded to have forward compatible implementations.
type UnimplementedSecurityCenterServer struct {
}
func (*UnimplementedSecurityCenterServer) CreateSource(ctx context.Context, req *CreateSourceRequest) (*Source, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateSource not implemented")
}
func (*UnimplementedSecurityCenterServer) CreateFinding(ctx context.Context, req *CreateFindingRequest) (*Finding, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateFinding not implemented")
}
func (*UnimplementedSecurityCenterServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
}
func (*UnimplementedSecurityCenterServer) GetOrganizationSettings(ctx context.Context, req *GetOrganizationSettingsRequest) (*OrganizationSettings, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationSettings not implemented")
}
func (*UnimplementedSecurityCenterServer) GetSource(ctx context.Context, req *GetSourceRequest) (*Source, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetSource not implemented")
}
func (*UnimplementedSecurityCenterServer) GroupAssets(ctx context.Context, req *GroupAssetsRequest) (*GroupAssetsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GroupAssets not implemented")
}
func (*UnimplementedSecurityCenterServer) GroupFindings(ctx context.Context, req *GroupFindingsRequest) (*GroupFindingsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GroupFindings not implemented")
}
func (*UnimplementedSecurityCenterServer) ListAssets(ctx context.Context, req *ListAssetsRequest) (*ListAssetsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListAssets not implemented")
}
func (*UnimplementedSecurityCenterServer) ListFindings(ctx context.Context, req *ListFindingsRequest) (*ListFindingsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListFindings not implemented")
}
func (*UnimplementedSecurityCenterServer) ListSources(ctx context.Context, req *ListSourcesRequest) (*ListSourcesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListSources not implemented")
}
func (*UnimplementedSecurityCenterServer) RunAssetDiscovery(ctx context.Context, req *RunAssetDiscoveryRequest) (*longrunning.Operation, error) {
return nil, status.Errorf(codes.Unimplemented, "method RunAssetDiscovery not implemented")
}
func (*UnimplementedSecurityCenterServer) SetFindingState(ctx context.Context, req *SetFindingStateRequest) (*Finding, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetFindingState not implemented")
}
func (*UnimplementedSecurityCenterServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
}
func (*UnimplementedSecurityCenterServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
}
func (*UnimplementedSecurityCenterServer) UpdateFinding(ctx context.Context, req *UpdateFindingRequest) (*Finding, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateFinding not implemented")
}
func (*UnimplementedSecurityCenterServer) UpdateOrganizationSettings(ctx context.Context, req *UpdateOrganizationSettingsRequest) (*OrganizationSettings, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganizationSettings not implemented")
}
func (*UnimplementedSecurityCenterServer) UpdateSource(ctx context.Context, req *UpdateSourceRequest) (*Source, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateSource not implemented")
}
func (*UnimplementedSecurityCenterServer) UpdateSecurityMarks(ctx context.Context, req *UpdateSecurityMarksRequest) (*SecurityMarks, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateSecurityMarks not implemented")
}
func RegisterSecurityCenterServer(s *grpc.Server, srv SecurityCenterServer) {
s.RegisterService(&_SecurityCenter_serviceDesc, srv)
}
func _SecurityCenter_CreateSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateSourceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).CreateSource(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateSource",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).CreateSource(ctx, req.(*CreateSourceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_CreateFinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateFindingRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).CreateFinding(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/CreateFinding",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).CreateFinding(ctx, req.(*CreateFindingRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.GetIamPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).GetIamPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetIamPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_GetOrganizationSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOrganizationSettingsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).GetOrganizationSettings(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetOrganizationSettings",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).GetOrganizationSettings(ctx, req.(*GetOrganizationSettingsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_GetSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetSourceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).GetSource(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GetSource",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).GetSource(ctx, req.(*GetSourceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_GroupAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GroupAssetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).GroupAssets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupAssets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).GroupAssets(ctx, req.(*GroupAssetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_GroupFindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GroupFindingsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).GroupFindings(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/GroupFindings",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).GroupFindings(ctx, req.(*GroupFindingsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_ListAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListAssetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).ListAssets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListAssets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).ListAssets(ctx, req.(*ListAssetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_ListFindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListFindingsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).ListFindings(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListFindings",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).ListFindings(ctx, req.(*ListFindingsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_ListSources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListSourcesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).ListSources(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/ListSources",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).ListSources(ctx, req.(*ListSourcesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_RunAssetDiscovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RunAssetDiscoveryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).RunAssetDiscovery(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/RunAssetDiscovery",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).RunAssetDiscovery(ctx, req.(*RunAssetDiscoveryRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_SetFindingState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetFindingStateRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).SetFindingState(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetFindingState",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).SetFindingState(ctx, req.(*SetFindingStateRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.SetIamPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).SetIamPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/SetIamPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.TestIamPermissionsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).TestIamPermissions(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/TestIamPermissions",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_UpdateFinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateFindingRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).UpdateFinding(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateFinding",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).UpdateFinding(ctx, req.(*UpdateFindingRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_UpdateOrganizationSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateOrganizationSettingsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).UpdateOrganizationSettings(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateOrganizationSettings",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).UpdateOrganizationSettings(ctx, req.(*UpdateOrganizationSettingsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_UpdateSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateSourceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).UpdateSource(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSource",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).UpdateSource(ctx, req.(*UpdateSourceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SecurityCenter_UpdateSecurityMarks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateSecurityMarksRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SecurityCenterServer).UpdateSecurityMarks(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.securitycenter.v1beta1.SecurityCenter/UpdateSecurityMarks",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SecurityCenterServer).UpdateSecurityMarks(ctx, req.(*UpdateSecurityMarksRequest))
}
return interceptor(ctx, in, info, handler)
}
var _SecurityCenter_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.securitycenter.v1beta1.SecurityCenter",
HandlerType: (*SecurityCenterServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateSource",
Handler: _SecurityCenter_CreateSource_Handler,
},
{
MethodName: "CreateFinding",
Handler: _SecurityCenter_CreateFinding_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _SecurityCenter_GetIamPolicy_Handler,
},
{
MethodName: "GetOrganizationSettings",
Handler: _SecurityCenter_GetOrganizationSettings_Handler,
},
{
MethodName: "GetSource",
Handler: _SecurityCenter_GetSource_Handler,
},
{
MethodName: "GroupAssets",
Handler: _SecurityCenter_GroupAssets_Handler,
},
{
MethodName: "GroupFindings",
Handler: _SecurityCenter_GroupFindings_Handler,
},
{
MethodName: "ListAssets",
Handler: _SecurityCenter_ListAssets_Handler,
},
{
MethodName: "ListFindings",
Handler: _SecurityCenter_ListFindings_Handler,
},
{
MethodName: "ListSources",
Handler: _SecurityCenter_ListSources_Handler,
},
{
MethodName: "RunAssetDiscovery",
Handler: _SecurityCenter_RunAssetDiscovery_Handler,
},
{
MethodName: "SetFindingState",
Handler: _SecurityCenter_SetFindingState_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _SecurityCenter_SetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _SecurityCenter_TestIamPermissions_Handler,
},
{
MethodName: "UpdateFinding",
Handler: _SecurityCenter_UpdateFinding_Handler,
},
{
MethodName: "UpdateOrganizationSettings",
Handler: _SecurityCenter_UpdateOrganizationSettings_Handler,
},
{
MethodName: "UpdateSource",
Handler: _SecurityCenter_UpdateSource_Handler,
},
{
MethodName: "UpdateSecurityMarks",
Handler: _SecurityCenter_UpdateSecurityMarks_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/securitycenter/v1beta1/securitycenter_service.proto",
}