Bumping k8s dependencies to 1.13
This commit is contained in:
252
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go
generated
vendored
Normal file
252
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go
generated
vendored
Normal file
@@ -0,0 +1,252 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/securitycenter/v1beta1/asset.proto
|
||||
|
||||
package securitycenter
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Security Center's representation of a Google Cloud Platform resource.
|
||||
//
|
||||
// The Asset is a resource of Security Center that is meant to capture
|
||||
// information regarding a single Google Cloud Platform resource. All
|
||||
// modifications to an Asset are only within the context of Security Center and
|
||||
// do not effect the referenced Google Cloud Platform resource.
|
||||
type Asset struct {
|
||||
// The relative resource name of this asset. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
// Example:
|
||||
// "organizations/123/assets/456".
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Security Center managed properties. These properties are managed by
|
||||
// Security Center and cannot be modified by the user.
|
||||
SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"`
|
||||
// Resource managed properties. These properties are managed and defined by
|
||||
// the Google Cloud Platform resource and cannot be modified by the user.
|
||||
ResourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// User specified security marks. These marks are entirely managed by the user
|
||||
// and come from the SecurityMarks resource belonging to the asset.
|
||||
SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
|
||||
// The time at which the asset was created in Security Center.
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// The time at which the asset was last updated, added, or deleted in Security
|
||||
// Center.
|
||||
UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Asset) Reset() { *m = Asset{} }
|
||||
func (m *Asset) String() string { return proto.CompactTextString(m) }
|
||||
func (*Asset) ProtoMessage() {}
|
||||
func (*Asset) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_51f3b31ca795196d, []int{0}
|
||||
}
|
||||
|
||||
func (m *Asset) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Asset.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Asset.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Asset) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Asset.Merge(m, src)
|
||||
}
|
||||
func (m *Asset) XXX_Size() int {
|
||||
return xxx_messageInfo_Asset.Size(m)
|
||||
}
|
||||
func (m *Asset) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Asset.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Asset proto.InternalMessageInfo
|
||||
|
||||
func (m *Asset) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties {
|
||||
if m != nil {
|
||||
return m.SecurityCenterProperties
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Asset) GetResourceProperties() map[string]*_struct.Value {
|
||||
if m != nil {
|
||||
return m.ResourceProperties
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Asset) GetSecurityMarks() *SecurityMarks {
|
||||
if m != nil {
|
||||
return m.SecurityMarks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Asset) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Asset) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Security Center managed properties. These properties are managed by
|
||||
// Security Center and cannot be modified by the user.
|
||||
type Asset_SecurityCenterProperties struct {
|
||||
// The full resource name of the Google Cloud Platform resource this asset
|
||||
// represents. This field is immutable after create time. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#full_resource_name
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
// The type of the Google Cloud resource. Examples include: APPLICATION,
|
||||
// PROJECT, and ORGANIZATION. This is a case insensitive field defined by
|
||||
// Security Center and/or the producer of the resource and is immutable
|
||||
// after create time.
|
||||
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||||
// The full resource name of the immediate parent of the resource. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#full_resource_name
|
||||
ResourceParent string `protobuf:"bytes,3,opt,name=resource_parent,json=resourceParent,proto3" json:"resource_parent,omitempty"`
|
||||
// The full resource name of the project the resource belongs to. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#full_resource_name
|
||||
ResourceProject string `protobuf:"bytes,4,opt,name=resource_project,json=resourceProject,proto3" json:"resource_project,omitempty"`
|
||||
// Owners of the Google Cloud resource.
|
||||
ResourceOwners []string `protobuf:"bytes,5,rep,name=resource_owners,json=resourceOwners,proto3" json:"resource_owners,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) Reset() { *m = Asset_SecurityCenterProperties{} }
|
||||
func (m *Asset_SecurityCenterProperties) String() string { return proto.CompactTextString(m) }
|
||||
func (*Asset_SecurityCenterProperties) ProtoMessage() {}
|
||||
func (*Asset_SecurityCenterProperties) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_51f3b31ca795196d, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Asset_SecurityCenterProperties.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Asset_SecurityCenterProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Asset_SecurityCenterProperties.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Asset_SecurityCenterProperties) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Asset_SecurityCenterProperties.Merge(m, src)
|
||||
}
|
||||
func (m *Asset_SecurityCenterProperties) XXX_Size() int {
|
||||
return xxx_messageInfo_Asset_SecurityCenterProperties.Size(m)
|
||||
}
|
||||
func (m *Asset_SecurityCenterProperties) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Asset_SecurityCenterProperties.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Asset_SecurityCenterProperties proto.InternalMessageInfo
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) GetResourceName() string {
|
||||
if m != nil {
|
||||
return m.ResourceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) GetResourceType() string {
|
||||
if m != nil {
|
||||
return m.ResourceType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) GetResourceParent() string {
|
||||
if m != nil {
|
||||
return m.ResourceParent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) GetResourceProject() string {
|
||||
if m != nil {
|
||||
return m.ResourceProject
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Asset_SecurityCenterProperties) GetResourceOwners() []string {
|
||||
if m != nil {
|
||||
return m.ResourceOwners
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Asset)(nil), "google.cloud.securitycenter.v1beta1.Asset")
|
||||
proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.Asset.ResourcePropertiesEntry")
|
||||
proto.RegisterType((*Asset_SecurityCenterProperties)(nil), "google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/securitycenter/v1beta1/asset.proto", fileDescriptor_51f3b31ca795196d)
|
||||
}
|
||||
|
||||
var fileDescriptor_51f3b31ca795196d = []byte{
|
||||
// 488 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6b, 0xd4, 0x40,
|
||||
0x14, 0x25, 0xdd, 0x6e, 0xb5, 0x77, 0xed, 0x07, 0x23, 0xe8, 0x10, 0x04, 0x17, 0xfb, 0xd0, 0x15,
|
||||
0x64, 0x42, 0xd7, 0x97, 0x62, 0x9f, 0x6c, 0xf1, 0xd1, 0xaf, 0x58, 0x04, 0x05, 0x59, 0x66, 0xd3,
|
||||
0x6b, 0x88, 0xdd, 0xcc, 0x0c, 0x33, 0x93, 0x4a, 0xc0, 0x17, 0xff, 0x8f, 0x7f, 0xca, 0x7f, 0x22,
|
||||
0x33, 0x99, 0xa4, 0x59, 0xcb, 0xea, 0xf6, 0x2d, 0x39, 0xf7, 0x9c, 0x73, 0x73, 0xef, 0xb9, 0xbb,
|
||||
0x90, 0xe4, 0x52, 0xe6, 0x0b, 0x4c, 0xb2, 0x85, 0xac, 0x2e, 0x12, 0x83, 0x59, 0xa5, 0x0b, 0x5b,
|
||||
0x67, 0x28, 0x2c, 0xea, 0xe4, 0xea, 0x68, 0x8e, 0x96, 0x1f, 0x25, 0xdc, 0x18, 0xb4, 0x4c, 0x69,
|
||||
0x69, 0x25, 0x39, 0x68, 0x04, 0xcc, 0x0b, 0xd8, 0xb2, 0x80, 0x05, 0x41, 0xfc, 0x28, 0xb8, 0x72,
|
||||
0x55, 0x24, 0x5c, 0x08, 0x69, 0xb9, 0x2d, 0xa4, 0x30, 0x8d, 0x45, 0x7c, 0xbc, 0x4e, 0xcf, 0x16,
|
||||
0x9e, 0x95, 0x5c, 0x5f, 0xb6, 0xca, 0xd6, 0xd7, 0xbf, 0xcd, 0xab, 0xaf, 0x89, 0xb1, 0xba, 0xca,
|
||||
0xc2, 0xa7, 0xc5, 0x8f, 0xff, 0xae, 0xda, 0xa2, 0x44, 0x63, 0x79, 0xa9, 0x1a, 0xc2, 0x93, 0x5f,
|
||||
0x5b, 0x30, 0x7c, 0xe9, 0x66, 0x21, 0x04, 0x36, 0x05, 0x2f, 0x91, 0x46, 0xe3, 0x68, 0xb2, 0x9d,
|
||||
0xfa, 0x67, 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||||
0x51, 0xf2, 0x14, 0xf6, 0xfb, 0xc9, 0x7e, 0xc3, 0xcc, 0xd2, 0x4d, 0xcf, 0xdc, 0xeb, 0x45, 0xe2,
|
||||
0xe0, 0x25, 0x4f, 0xf9, 0x5d, 0xa0, 0x36, 0x74, 0x38, 0x1e, 0xf4, 0x3d, 0xdf, 0x7a, 0x34, 0xfe,
|
||||
0x02, 0x0f, 0x57, 0xe4, 0x4c, 0xf6, 0x61, 0x70, 0x89, 0x75, 0x98, 0xcb, 0x3d, 0x92, 0x67, 0x30,
|
||||
0xbc, 0xe2, 0x8b, 0x0a, 0xc3, 0x21, 0x3f, 0xb8, 0xb1, 0xc7, 0x8f, 0xae, 0x9a, 0x36, 0xa4, 0x17,
|
||||
0x1b, 0xc7, 0xd1, 0xe9, 0x0f, 0x38, 0xcc, 0x64, 0xb9, 0xce, 0x11, 0x7c, 0x7e, 0x1f, 0x48, 0xb9,
|
||||
0x5c, 0x70, 0x91, 0x33, 0xa9, 0xf3, 0x24, 0x47, 0xe1, 0xad, 0xc3, 0x3f, 0x0c, 0x57, 0x85, 0xf9,
|
||||
0xe7, 0x2f, 0xfe, 0x64, 0x19, 0x9e, 0x6f, 0x79, 0xf5, 0xf3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff,
|
||||
0x70, 0x15, 0xcf, 0xa9, 0xa2, 0x04, 0x00, 0x00,
|
||||
}
|
||||
249
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go
generated
vendored
Normal file
249
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go
generated
vendored
Normal file
@@ -0,0 +1,249 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/securitycenter/v1beta1/finding.proto
|
||||
|
||||
package securitycenter
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The state of the finding.
|
||||
type Finding_State int32
|
||||
|
||||
const (
|
||||
// Unspecified state.
|
||||
Finding_STATE_UNSPECIFIED Finding_State = 0
|
||||
// The finding requires attention and has not been addressed yet.
|
||||
Finding_ACTIVE Finding_State = 1
|
||||
// The finding has been fixed, triaged as a non-issue or otherwise addressed
|
||||
// and is no longer active.
|
||||
Finding_INACTIVE Finding_State = 2
|
||||
)
|
||||
|
||||
var Finding_State_name = map[int32]string{
|
||||
0: "STATE_UNSPECIFIED",
|
||||
1: "ACTIVE",
|
||||
2: "INACTIVE",
|
||||
}
|
||||
|
||||
var Finding_State_value = map[string]int32{
|
||||
"STATE_UNSPECIFIED": 0,
|
||||
"ACTIVE": 1,
|
||||
"INACTIVE": 2,
|
||||
}
|
||||
|
||||
func (x Finding_State) String() string {
|
||||
return proto.EnumName(Finding_State_name, int32(x))
|
||||
}
|
||||
|
||||
func (Finding_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_da6ee7073afacba3, []int{0, 0}
|
||||
}
|
||||
|
||||
// Security Center's finding.
|
||||
//
|
||||
// A finding is a record of assessment data (security, risk, health or privacy)
|
||||
// ingested into Security Center for presentation, notification, analysis,
|
||||
// policy testing and enforcement. For example, an XSS vulnerability in an
|
||||
// AppEngine application is a finding.
|
||||
type Finding struct {
|
||||
// The relative resource name of this finding. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
// Example:
|
||||
// "organizations/123/sources/456/findings/789"
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The relative resource name of the source the finding belongs to. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
// This field is immutable after creation time.
|
||||
// For example:
|
||||
// "organizations/123/sources/456"
|
||||
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// The full resource name of the Google Cloud Platform resource this finding
|
||||
// is for. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#full_resource_name
|
||||
// This field is immutable after creation time.
|
||||
ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
// The state of the finding.
|
||||
State Finding_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.securitycenter.v1beta1.Finding_State" json:"state,omitempty"`
|
||||
// The additional taxonomy group within findings from a give source.
|
||||
// This field is immutable after creation time.
|
||||
// Example: "XSS_FLASH_INJECTION"
|
||||
Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
|
||||
// The URI that, if available, points to a web page outside of Security Center
|
||||
// where additional information about the finding can be found. This field is
|
||||
// guaranteed to be either empty or a well formed url.
|
||||
ExternalUri string `protobuf:"bytes,6,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
|
||||
// Source specific properties. These properties are managed by the source
|
||||
// writing the finding.
|
||||
SourceProperties map[string]*_struct.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// Output only. User specified security marks. These marks are entirely
|
||||
// managed by the user and come from the SecurityMarks resource belonging to
|
||||
// the finding.
|
||||
SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
|
||||
// The time at which the event took place. For example, if the finding
|
||||
// represents an open firewall it would capture the time the open firewall was
|
||||
// detected.
|
||||
EventTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
|
||||
// The time at which the finding was created in Security Center.
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Finding) Reset() { *m = Finding{} }
|
||||
func (m *Finding) String() string { return proto.CompactTextString(m) }
|
||||
func (*Finding) ProtoMessage() {}
|
||||
func (*Finding) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_da6ee7073afacba3, []int{0}
|
||||
}
|
||||
|
||||
func (m *Finding) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Finding.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Finding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Finding.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Finding) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Finding.Merge(m, src)
|
||||
}
|
||||
func (m *Finding) XXX_Size() int {
|
||||
return xxx_messageInfo_Finding.Size(m)
|
||||
}
|
||||
func (m *Finding) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Finding.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Finding proto.InternalMessageInfo
|
||||
|
||||
func (m *Finding) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Finding) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Finding) GetResourceName() string {
|
||||
if m != nil {
|
||||
return m.ResourceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Finding) GetState() Finding_State {
|
||||
if m != nil {
|
||||
return m.State
|
||||
}
|
||||
return Finding_STATE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Finding) GetCategory() string {
|
||||
if m != nil {
|
||||
return m.Category
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Finding) GetExternalUri() string {
|
||||
if m != nil {
|
||||
return m.ExternalUri
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Finding) GetSourceProperties() map[string]*_struct.Value {
|
||||
if m != nil {
|
||||
return m.SourceProperties
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Finding) GetSecurityMarks() *SecurityMarks {
|
||||
if m != nil {
|
||||
return m.SecurityMarks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Finding) GetEventTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EventTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Finding) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.cloud.securitycenter.v1beta1.Finding_State", Finding_State_name, Finding_State_value)
|
||||
proto.RegisterType((*Finding)(nil), "google.cloud.securitycenter.v1beta1.Finding")
|
||||
proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/securitycenter/v1beta1/finding.proto", fileDescriptor_da6ee7073afacba3)
|
||||
}
|
||||
|
||||
var fileDescriptor_da6ee7073afacba3 = []byte{
|
||||
// 509 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x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, 0x0c, 0xda, 0x91, 0x44, 0xaa, 0xb1, 0x64,
|
||||
0xe1, 0x9f, 0x2c, 0x94, 0xe5, 0x85, 0xd0, 0xfb, 0x0a, 0x47, 0x7f, 0xbc, 0x3d, 0xe9, 0x42, 0xed,
|
||||
0x01, 0xd7, 0xf6, 0xd5, 0x14, 0x9f, 0xe4, 0x35, 0xd4, 0x57, 0x34, 0xc9, 0xd1, 0xbc, 0x99, 0xf6,
|
||||
0xe8, 0xf8, 0xb7, 0x13, 0x6e, 0x8b, 0x6c, 0x50, 0x16, 0xbd, 0xdb, 0x19, 0x3b, 0x27, 0x63, 0xa8,
|
||||
0x9b, 0x7d, 0x93, 0x23, 0x38, 0x9c, 0x2f, 0xce, 0x17, 0x93, 0xf0, 0x66, 0x36, 0xbf, 0x9e, 0x5c,
|
||||
0x4e, 0xaf, 0xa6, 0x93, 0xf7, 0xdd, 0x67, 0x04, 0xa0, 0x71, 0x7e, 0xb9, 0x98, 0xde, 0x4e, 0xba,
|
||||
0x0e, 0xe9, 0x40, 0x73, 0x3a, 0xb3, 0xd1, 0xce, 0xc5, 0x77, 0x78, 0x15, 0x89, 0x74, 0x9b, 0xb1,
|
||||
0x7e, 0xf9, 0x64, 0x8b, 0x62, 0x91, 0x50, 0x1e, 0x7b, 0x42, 0xc6, 0x7e, 0x8c, 0xdc, 0x34, 0xe5,
|
||||
0x97, 0x29, 0x9a, 0x31, 0xf5, 0xd7, 0x7f, 0xf0, 0x6c, 0x53, 0x5e, 0x36, 0x0c, 0xfd, 0xe6, 0x67,
|
||||
0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xfe, 0x5c, 0x9a, 0x36, 0x04, 0x00, 0x00,
|
||||
}
|
||||
220
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go
generated
vendored
Normal file
220
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go
generated
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/securitycenter/v1beta1/organization_settings.proto
|
||||
|
||||
package securitycenter
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The mode of inclusion when running Asset Discovery.
|
||||
// Asset discovery can be limited by explicitly identifying projects to be
|
||||
// included or excluded. If INCLUDE_ONLY is set then only those projects
|
||||
// (within the organization) and their children are discovered during asset
|
||||
// discovery. If EXCLUDE is set then projects not matching those projects
|
||||
// are discovered during asset discovery. If neither are set then all
|
||||
// projects within the organization are discovered during asset discovery.
|
||||
type OrganizationSettings_AssetDiscoveryConfig_InclusionMode int32
|
||||
|
||||
const (
|
||||
// Unspecified. Setting the mode with this value will disable
|
||||
// inclusion/exclusion filtering for Asset Discovery.
|
||||
OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 0
|
||||
// Asset Discovery will capture only the resources within the projects
|
||||
// specified. All other resources will be ignored.
|
||||
OrganizationSettings_AssetDiscoveryConfig_INCLUDE_ONLY OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 1
|
||||
// Asset Discovery will ignore all resources under the projects specified.
|
||||
// All other resources will be retrieved.
|
||||
OrganizationSettings_AssetDiscoveryConfig_EXCLUDE OrganizationSettings_AssetDiscoveryConfig_InclusionMode = 2
|
||||
)
|
||||
|
||||
var OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name = map[int32]string{
|
||||
0: "INCLUSION_MODE_UNSPECIFIED",
|
||||
1: "INCLUDE_ONLY",
|
||||
2: "EXCLUDE",
|
||||
}
|
||||
|
||||
var OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value = map[string]int32{
|
||||
"INCLUSION_MODE_UNSPECIFIED": 0,
|
||||
"INCLUDE_ONLY": 1,
|
||||
"EXCLUDE": 2,
|
||||
}
|
||||
|
||||
func (x OrganizationSettings_AssetDiscoveryConfig_InclusionMode) String() string {
|
||||
return proto.EnumName(OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, int32(x))
|
||||
}
|
||||
|
||||
func (OrganizationSettings_AssetDiscoveryConfig_InclusionMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a0c752c1a47d41ec, []int{0, 0, 0}
|
||||
}
|
||||
|
||||
// User specified settings that are attached to the Security Center
|
||||
// organization.
|
||||
type OrganizationSettings struct {
|
||||
// The relative resource name of the settings. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
// Example:
|
||||
// "organizations/123/organizationSettings".
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// A flag indicating whether Asset Discovery should be enabled. If the flag is
|
||||
// set to true then discovery of assets will occur. If it is set to false all
|
||||
// historical assets will remain but discovery of future assets will not
|
||||
// occur.
|
||||
EnableAssetDiscovery bool `protobuf:"varint,2,opt,name=enable_asset_discovery,json=enableAssetDiscovery,proto3" json:"enable_asset_discovery,omitempty"`
|
||||
// The configuration used for Asset Discovery runs.
|
||||
AssetDiscoveryConfig *OrganizationSettings_AssetDiscoveryConfig `protobuf:"bytes,3,opt,name=asset_discovery_config,json=assetDiscoveryConfig,proto3" json:"asset_discovery_config,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings) Reset() { *m = OrganizationSettings{} }
|
||||
func (m *OrganizationSettings) String() string { return proto.CompactTextString(m) }
|
||||
func (*OrganizationSettings) ProtoMessage() {}
|
||||
func (*OrganizationSettings) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a0c752c1a47d41ec, []int{0}
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OrganizationSettings.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OrganizationSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OrganizationSettings.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OrganizationSettings) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OrganizationSettings.Merge(m, src)
|
||||
}
|
||||
func (m *OrganizationSettings) XXX_Size() int {
|
||||
return xxx_messageInfo_OrganizationSettings.Size(m)
|
||||
}
|
||||
func (m *OrganizationSettings) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OrganizationSettings.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OrganizationSettings proto.InternalMessageInfo
|
||||
|
||||
func (m *OrganizationSettings) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings) GetEnableAssetDiscovery() bool {
|
||||
if m != nil {
|
||||
return m.EnableAssetDiscovery
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings) GetAssetDiscoveryConfig() *OrganizationSettings_AssetDiscoveryConfig {
|
||||
if m != nil {
|
||||
return m.AssetDiscoveryConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The configuration used for Asset Discovery runs.
|
||||
type OrganizationSettings_AssetDiscoveryConfig struct {
|
||||
// The project ids to use for filtering asset discovery.
|
||||
ProjectIds []string `protobuf:"bytes,1,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"`
|
||||
// The mode to use for filtering asset discovery.
|
||||
InclusionMode OrganizationSettings_AssetDiscoveryConfig_InclusionMode `protobuf:"varint,2,opt,name=inclusion_mode,json=inclusionMode,proto3,enum=google.cloud.securitycenter.v1beta1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode" json:"inclusion_mode,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) Reset() {
|
||||
*m = OrganizationSettings_AssetDiscoveryConfig{}
|
||||
}
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*OrganizationSettings_AssetDiscoveryConfig) ProtoMessage() {}
|
||||
func (*OrganizationSettings_AssetDiscoveryConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a0c752c1a47d41ec, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Merge(m, src)
|
||||
}
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Size(m)
|
||||
}
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) GetProjectIds() []string {
|
||||
if m != nil {
|
||||
return m.ProjectIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OrganizationSettings_AssetDiscoveryConfig) GetInclusionMode() OrganizationSettings_AssetDiscoveryConfig_InclusionMode {
|
||||
if m != nil {
|
||||
return m.InclusionMode
|
||||
}
|
||||
return OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.cloud.securitycenter.v1beta1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode", OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value)
|
||||
proto.RegisterType((*OrganizationSettings)(nil), "google.cloud.securitycenter.v1beta1.OrganizationSettings")
|
||||
proto.RegisterType((*OrganizationSettings_AssetDiscoveryConfig)(nil), "google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/securitycenter/v1beta1/organization_settings.proto", fileDescriptor_a0c752c1a47d41ec)
|
||||
}
|
||||
|
||||
var fileDescriptor_a0c752c1a47d41ec = []byte{
|
||||
// 396 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xc1, 0x8b, 0xd4, 0x30,
|
||||
0x14, 0xc6, 0xcd, 0x8c, 0xa8, 0x9b, 0x71, 0x97, 0x12, 0xca, 0x52, 0x06, 0xd1, 0xb2, 0x1e, 0xec,
|
||||
0x29, 0x65, 0x57, 0x6f, 0x1e, 0x44, 0xa7, 0x15, 0x0a, 0xbb, 0xad, 0x76, 0x58, 0x50, 0x11, 0x42,
|
||||
0x26, 0x8d, 0x21, 0xd2, 0xc9, 0x2b, 0x4d, 0x66, 0x61, 0xc5, 0x9b, 0x5e, 0xfd, 0x7b, 0xbd, 0xca,
|
||||
0x66, 0xba, 0xb0, 0x95, 0x41, 0xf6, 0xe0, 0x2d, 0xf9, 0xbe, 0x97, 0xdf, 0xf7, 0x1e, 0x79, 0xf8,
|
||||
0x95, 0x02, 0x50, 0xad, 0x4c, 0x45, 0x0b, 0x9b, 0x26, 0xb5, 0x52, 0x6c, 0x7a, 0xed, 0x2e, 0x85,
|
||||
0x34, 0x4e, 0xf6, 0xe9, 0xc5, 0xf1, 0x4a, 0x3a, 0x7e, 0x9c, 0x42, 0xaf, 0xb8, 0xd1, 0xdf, 0xb8,
|
||||
0xd3, 0x60, 0x98, 0x95, 0xce, 0x69, 0xa3, 0x2c, 0xed, 0x7a, 0x70, 0x40, 0x9e, 0x6e, 0x01, 0xd4,
|
||||
0x03, 0xe8, 0x18, 0x40, 0x07, 0xc0, 0xfc, 0xd1, 0x90, 0xc2, 0x3b, 0x9d, 0x72, 0x63, 0xc0, 0x79,
|
||||
0xd4, 0x80, 0x38, 0xfa, 0x3d, 0xc5, 0x61, 0x75, 0x23, 0x62, 0x39, 0x24, 0x10, 0x82, 0xef, 0x1a,
|
||||
0xbe, 0x96, 0x11, 0x8a, 0x51, 0xb2, 0x57, 0xfb, 0x33, 0x79, 0x81, 0x0f, 0xa5, 0xe1, 0xab, 0x56,
|
||||
0x32, 0x6e, 0xad, 0x74, 0xac, 0xd1, 0x56, 0xc0, 0x85, 0xec, 0x2f, 0xa3, 0x49, 0x8c, 0x92, 0x07,
|
||||
0x75, 0xb8, 0x75, 0x5f, 0x5f, 0x99, 0xd9, 0xb5, 0x47, 0x7e, 0x22, 0x7c, 0xf8, 0x57, 0x3d, 0x13,
|
||||
0x60, 0xbe, 0x68, 0x15, 0x4d, 0x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, 0xff, 0xff, 0x33, 0x6a, 0x70, 0x4a, 0x04, 0x03, 0x00, 0x00,
|
||||
}
|
||||
113
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go
generated
vendored
Normal file
113
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go
generated
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/securitycenter/v1beta1/security_marks.proto
|
||||
|
||||
package securitycenter
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// User specified security marks that are attached to the parent Security Center
|
||||
// resource. Security marks are scoped within a Security Center organization --
|
||||
// they are modifiable and viewable by all with proper permissions on the
|
||||
// organization.
|
||||
type SecurityMarks struct {
|
||||
// The relative resource name of the SecurityMarks. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
// Examples:
|
||||
// "organizations/123/assets/456/securityMarks"
|
||||
// "organizations/123/sources/456/findings/789/securityMarks".
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Mutable user specified security marks belonging to the parent resource.
|
||||
// Constraints are as follows:
|
||||
// - Keys and values are treated as case insensitive
|
||||
// - Keys must be alphanumeric and between 1 - 256 characters (inclusive)
|
||||
// - Values have leading and trailing whitespace trimmed, remaining
|
||||
// characters must be between 1 - 4096 characters (inclusive)
|
||||
Marks map[string]string `protobuf:"bytes,2,rep,name=marks,proto3" json:"marks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SecurityMarks) Reset() { *m = SecurityMarks{} }
|
||||
func (m *SecurityMarks) String() string { return proto.CompactTextString(m) }
|
||||
func (*SecurityMarks) ProtoMessage() {}
|
||||
func (*SecurityMarks) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_09d3e42c3896af25, []int{0}
|
||||
}
|
||||
|
||||
func (m *SecurityMarks) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SecurityMarks.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SecurityMarks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SecurityMarks.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SecurityMarks) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SecurityMarks.Merge(m, src)
|
||||
}
|
||||
func (m *SecurityMarks) XXX_Size() int {
|
||||
return xxx_messageInfo_SecurityMarks.Size(m)
|
||||
}
|
||||
func (m *SecurityMarks) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SecurityMarks.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SecurityMarks proto.InternalMessageInfo
|
||||
|
||||
func (m *SecurityMarks) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SecurityMarks) GetMarks() map[string]string {
|
||||
if m != nil {
|
||||
return m.Marks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SecurityMarks)(nil), "google.cloud.securitycenter.v1beta1.SecurityMarks")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.cloud.securitycenter.v1beta1.SecurityMarks.MarksEntry")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/securitycenter/v1beta1/security_marks.proto", fileDescriptor_09d3e42c3896af25)
|
||||
}
|
||||
|
||||
var fileDescriptor_09d3e42c3896af25 = []byte{
|
||||
// 250 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xc3, 0x30,
|
||||
0x14, 0xc7, 0x69, 0xe7, 0x04, 0x9f, 0x08, 0x12, 0x3c, 0x94, 0xe1, 0x61, 0xe8, 0xc1, 0x9d, 0x12,
|
||||
0xa6, 0x97, 0xa2, 0x78, 0x11, 0x3c, 0x7a, 0x70, 0xbb, 0x79, 0x91, 0xb7, 0xfa, 0x08, 0x65, 0xed,
|
||||
0x7b, 0x25, 0x4d, 0x07, 0x05, 0x3f, 0x95, 0x9f, 0x50, 0x96, 0x06, 0xa5, 0x97, 0xb1, 0x4b, 0x79,
|
||||
0xfd, 0x27, 0xbf, 0xdf, 0x3f, 0x09, 0xe4, 0x56, 0xc4, 0x56, 0x64, 0x8a, 0x4a, 0xba, 0x2f, 0xd3,
|
||||
0x52, 0xd1, 0xb9, 0xd2, 0xf7, 0x05, 0xb1, 0x27, 0x67, 0x76, 0xcb, 0x0d, 0x79, 0x5c, 0xfe, 0xc5,
|
||||
0x9f, 0x35, 0xba, 0x6d, 0xab, 0x1b, 0x27, 0x5e, 0xd4, 0xed, 0x40, 0xea, 0x40, 0xea, 0x31, 0xa9,
|
||||
0x23, 0x39, 0xbb, 0x8e, 0x7a, 0x6c, 0x4a, 0x83, 0xcc, 0xe2, 0xd1, 0x97, 0xc2, 0x51, 0x71, 0xf3,
|
||||
0x93, 0xc0, 0xc5, 0x3a, 0x82, 0x6f, 0x7b, 0xb5, 0x52, 0x70, 0xc2, 0x58, 0x53, 0x96, 0xcc, 0x93,
|
||||
0xc5, 0xd9, 0x2a, 0xcc, 0x6a, 0x0d, 0xd3, 0xd0, 0x9b, 0xa5, 0xf3, 0xc9, 0xe2, 0xfc, 0xfe, 0x59,
|
||||
0x1f, 0x51, 0xac, 0x47, 0x5a, 0x1d, 0xbe, 0xaf, 0xec, 0x5d, 0xbf, 0x1a, 0x5c, 0xb3, 0x1c, 0xe0,
|
||||
0x3f, 0x54, 0x97, 0x30, 0xd9, 0x52, 0x1f, 0x5b, 0xf7, 0xa3, 0xba, 0x82, 0xe9, 0x0e, 0xab, 0x8e,
|
||||
0xb2, 0x34, 0x64, 0xc3, 0xcf, 0x63, 0x9a, 0x27, 0x2f, 0xdf, 0x70, 0x57, 0x48, 0x7d, 0xcc, 0x21,
|
||||
0x3e, 0xde, 0xe3, 0x26, 0x2b, 0x15, 0xb2, 0xd5, 0xe2, 0xac, 0xb1, 0xc4, 0xe1, 0xee, 0x66, 0x58,
|
||||
0xc2, 0xa6, 0x6c, 0x0f, 0xbe, 0xfd, 0xd3, 0x38, 0xde, 0x9c, 0x06, 0xfa, 0xe1, 0x37, 0x00, 0x00,
|
||||
0xff, 0xff, 0x9e, 0xc8, 0x47, 0xe1, 0xb8, 0x01, 0x00, 0x00,
|
||||
}
|
||||
2522
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go
generated
vendored
Normal file
2522
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
124
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go
generated
vendored
Normal file
124
vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go
generated
vendored
Normal file
@@ -0,0 +1,124 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/securitycenter/v1beta1/source.proto
|
||||
|
||||
package securitycenter
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Security Center's finding source. A finding source is an entity or a
|
||||
// mechanism that can produce a finding. A source can also be thought of as a
|
||||
// container of findings that come from the same scanner, logger, monitor, etc.
|
||||
type Source struct {
|
||||
// The relative resource name of this source. See:
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
// Example:
|
||||
// "organizations/123/sources/456"
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The source’s display name.
|
||||
// A source’s display name must be unique amongst its siblings, e.g.
|
||||
// no two sources with the same parent can share the same display name.
|
||||
// The display name must start and end with a letter or digit, may contain
|
||||
// letters, digits, spaces, hyphens and underscores and can be no longer
|
||||
// than 30 characters. This is captured by the regular expression:
|
||||
// [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?.
|
||||
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
// The description of the source (max of 1024 characters).
|
||||
// Example:
|
||||
// "Cloud Security Scanner is a web security scanner for common
|
||||
// vulnerabilities in Google App Engine applications. It can automatically
|
||||
// scan and detect four common vulnerabilities, including cross-site-scripting
|
||||
// (XSS), Flash injection, mixed content (HTTP in HTTPS), and
|
||||
// outdated/insecure libraries."
|
||||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Source) Reset() { *m = Source{} }
|
||||
func (m *Source) String() string { return proto.CompactTextString(m) }
|
||||
func (*Source) ProtoMessage() {}
|
||||
func (*Source) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bf622434a85d65bb, []int{0}
|
||||
}
|
||||
|
||||
func (m *Source) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Source.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Source.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Source) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Source.Merge(m, src)
|
||||
}
|
||||
func (m *Source) XXX_Size() int {
|
||||
return xxx_messageInfo_Source.Size(m)
|
||||
}
|
||||
func (m *Source) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Source.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Source proto.InternalMessageInfo
|
||||
|
||||
func (m *Source) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Source) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Source) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Source)(nil), "google.cloud.securitycenter.v1beta1.Source")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/securitycenter/v1beta1/source.proto", fileDescriptor_bf622434a85d65bb)
|
||||
}
|
||||
|
||||
var fileDescriptor_bf622434a85d65bb = []byte{
|
||||
// 215 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0xc5, 0x30,
|
||||
0x14, 0x85, 0xa9, 0x4a, 0xc1, 0xd4, 0x29, 0x53, 0x11, 0x87, 0xaa, 0x83, 0x4e, 0x89, 0xc5, 0xd1,
|
||||
0xcd, 0x1f, 0x20, 0xa8, 0x9b, 0x8b, 0xdc, 0xa6, 0x97, 0x10, 0x48, 0x73, 0x43, 0x92, 0x0a, 0x05,
|
||||
0x7f, 0xfc, 0xa3, 0x69, 0xe0, 0xd1, 0xe5, 0xf1, 0xb6, 0x70, 0xce, 0xf9, 0x3e, 0x2e, 0x61, 0x2f,
|
||||
0x9a, 0x48, 0x5b, 0x94, 0xca, 0xd2, 0x3c, 0xca, 0x88, 0x6a, 0x0e, 0x26, 0x2d, 0x0a, 0x5d, 0xc2,
|
||||
0x20, 0xff, 0xfa, 0x01, 0x13, 0xf4, 0x32, 0xd2, 0x1c, 0x14, 0x0a, 0x1f, 0x28, 0x11, 0x7f, 0xdc,
|
||||
0x08, 0x91, 0x09, 0xb1, 0x27, 0x44, 0x21, 0x6e, 0xef, 0x8a, 0x16, 0xbc, 0x91, 0xe0, 0x1c, 0x25,
|
||||
0x48, 0x86, 0x5c, 0xdc, 0x14, 0x0f, 0xc0, 0xea, 0xef, 0xac, 0xe4, 0x9c, 0x5d, 0x39, 0x98, 0xb0,
|
||||
0xad, 0xba, 0xea, 0xf9, 0xfa, 0x2b, 0xbf, 0xf9, 0x3d, 0xbb, 0x19, 0x4d, 0xf4, 0x16, 0x96, 0xdf,
|
||||
0xdc, 0x5d, 0xe4, 0xae, 0x29, 0xd9, 0xc7, 0x3a, 0xe9, 0x58, 0x33, 0x62, 0x54, 0xc1, 0xf8, 0x55,
|
||||
0xdb, 0x5e, 0x96, 0xc5, 0x31, 0x7a, 0xff, 0x67, 0x4f, 0x8a, 0x26, 0x71, 0xc6, 0xad, 0x3f, 0x9f,
|
||||
0x65, 0xa4, 0xc9, 0x82, 0xd3, 0x82, 0x82, 0x96, 0x1a, 0x5d, 0xbe, 0x54, 0x6e, 0x15, 0x78, 0x13,
|
||||
0x4f, 0xfe, 0xd0, 0xdb, 0x3e, 0x1e, 0xea, 0x4c, 0xbf, 0x1e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x4f,
|
||||
0x9a, 0xc3, 0x6d, 0x5e, 0x01, 0x00, 0x00,
|
||||
}
|
||||
Reference in New Issue
Block a user