Class: Google::Apis::SecuritycenterV1::Finding

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Finding

Returns a new instance of Finding.



3175
3176
3177
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3175

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accessGoogle::Apis::SecuritycenterV1::Access

Corresponds to the JSON property access



2838
2839
2840
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2838

def access
  @access
end

#affected_resourcesGoogle::Apis::SecuritycenterV1::AffectedResources

Corresponds to the JSON property affectedResources



2843
2844
2845
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2843

def affected_resources
  @affected_resources
end

#agent_data_access_eventsArray<Google::Apis::SecuritycenterV1::AgentDataAccessEvent>

Corresponds to the JSON property agentDataAccessEvents



2848
2849
2850
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2848

def agent_data_access_events
  @agent_data_access_events
end

#ai_modelGoogle::Apis::SecuritycenterV1::AiModel

Corresponds to the JSON property aiModel



2853
2854
2855
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2853

def ai_model
  @ai_model
end

#applicationGoogle::Apis::SecuritycenterV1::Application

Corresponds to the JSON property application



2858
2859
2860
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2858

def application
  @application
end

#artifact_guard_policiesGoogle::Apis::SecuritycenterV1::ArtifactGuardPolicies

Corresponds to the JSON property artifactGuardPolicies



2863
2864
2865
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2863

def artifact_guard_policies
  @artifact_guard_policies
end

#attack_exposureGoogle::Apis::SecuritycenterV1::AttackExposure

Corresponds to the JSON property attackExposure



2868
2869
2870
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2868

def attack_exposure
  @attack_exposure
end

#backup_disaster_recoveryGoogle::Apis::SecuritycenterV1::BackupDisasterRecovery

Corresponds to the JSON property backupDisasterRecovery



2873
2874
2875
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2873

def backup_disaster_recovery
  @backup_disaster_recovery
end

#canonical_nameString

Corresponds to the JSON property canonicalName

Returns:

  • (String)


2878
2879
2880
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2878

def canonical_name
  @canonical_name
end

#categoryString

Corresponds to the JSON property category

Returns:

  • (String)


2883
2884
2885
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2883

def category
  @category
end

#chokepointGoogle::Apis::SecuritycenterV1::Chokepoint

Corresponds to the JSON property chokepoint



2888
2889
2890
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2888

def chokepoint
  @chokepoint
end

#cloud_armorGoogle::Apis::SecuritycenterV1::CloudArmor

Corresponds to the JSON property cloudArmor



2893
2894
2895
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2893

def cloud_armor
  @cloud_armor
end

#cloud_dlp_data_profileGoogle::Apis::SecuritycenterV1::CloudDlpDataProfile

Corresponds to the JSON property cloudDlpDataProfile



2898
2899
2900
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2898

def cloud_dlp_data_profile
  @cloud_dlp_data_profile
end

#cloud_dlp_inspectionGoogle::Apis::SecuritycenterV1::CloudDlpInspection

Corresponds to the JSON property cloudDlpInspection



2903
2904
2905
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2903

def cloud_dlp_inspection
  @cloud_dlp_inspection
end

#compliance_detailsGoogle::Apis::SecuritycenterV1::ComplianceDetails

Corresponds to the JSON property complianceDetails



2908
2909
2910
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2908

def compliance_details
  @compliance_details
end

#compliancesArray<Google::Apis::SecuritycenterV1::Compliance>

Corresponds to the JSON property compliances



2913
2914
2915
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2913

def compliances
  @compliances
end

#connectionsArray<Google::Apis::SecuritycenterV1::Connection>

Corresponds to the JSON property connections



2918
2919
2920
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2918

def connections
  @connections
end

#contactsHash<String,Google::Apis::SecuritycenterV1::ContactDetails>

Corresponds to the JSON property contacts



2923
2924
2925
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2923

def contacts
  @contacts
end

#containersArray<Google::Apis::SecuritycenterV1::Container>

Corresponds to the JSON property containers



2928
2929
2930
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2928

def containers
  @containers
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


2933
2934
2935
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2933

def create_time
  @create_time
end

#data_access_eventsArray<Google::Apis::SecuritycenterV1::DataAccessEvent>

Corresponds to the JSON property dataAccessEvents



2938
2939
2940
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2938

def data_access_events
  @data_access_events
end

#data_flow_eventsArray<Google::Apis::SecuritycenterV1::DataFlowEvent>

Corresponds to the JSON property dataFlowEvents



2943
2944
2945
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2943

def data_flow_events
  @data_flow_events
end

#data_retention_deletion_eventsArray<Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent>

Corresponds to the JSON property dataRetentionDeletionEvents



2948
2949
2950
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2948

def data_retention_deletion_events
  @data_retention_deletion_events
end

#databaseGoogle::Apis::SecuritycenterV1::Database

Corresponds to the JSON property database



2953
2954
2955
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2953

def database
  @database
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2958
2959
2960
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2958

def description
  @description
end

#discovered_workloadGoogle::Apis::SecuritycenterV1::DiscoveredWorkload

Corresponds to the JSON property discoveredWorkload



2963
2964
2965
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2963

def discovered_workload
  @discovered_workload
end

#diskGoogle::Apis::SecuritycenterV1::Disk

Corresponds to the JSON property disk



2968
2969
2970
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2968

def disk
  @disk
end

#event_timeString

Corresponds to the JSON property eventTime

Returns:

  • (String)


2973
2974
2975
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2973

def event_time
  @event_time
end

#exfiltrationGoogle::Apis::SecuritycenterV1::Exfiltration

Corresponds to the JSON property exfiltration



2978
2979
2980
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2978

def exfiltration
  @exfiltration
end

#external_exposureGoogle::Apis::SecuritycenterV1::ExternalExposure

Corresponds to the JSON property externalExposure



2983
2984
2985
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2983

def external_exposure
  @external_exposure
end

#external_systemsHash<String,Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem>

Corresponds to the JSON property externalSystems



2988
2989
2990
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2988

def external_systems
  @external_systems
end

#external_uriString

Corresponds to the JSON property externalUri

Returns:

  • (String)


2993
2994
2995
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2993

def external_uri
  @external_uri
end

#filesArray<Google::Apis::SecuritycenterV1::File>

Corresponds to the JSON property files



2998
2999
3000
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2998

def files
  @files
end

#finding_classString

Corresponds to the JSON property findingClass

Returns:

  • (String)


3003
3004
3005
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3003

def finding_class
  @finding_class
end

#group_membershipsArray<Google::Apis::SecuritycenterV1::GroupMembership>

Corresponds to the JSON property groupMemberships



3008
3009
3010
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3008

def group_memberships
  @group_memberships
end

#iam_bindingsArray<Google::Apis::SecuritycenterV1::IamBinding>

Corresponds to the JSON property iamBindings



3013
3014
3015
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3013

def iam_bindings
  @iam_bindings
end

#indicatorGoogle::Apis::SecuritycenterV1::Indicator

Corresponds to the JSON property indicator



3018
3019
3020
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3018

def indicator
  @indicator
end

#ip_rulesGoogle::Apis::SecuritycenterV1::IpRules

Corresponds to the JSON property ipRules



3023
3024
3025
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3023

def ip_rules
  @ip_rules
end

#jobGoogle::Apis::SecuritycenterV1::Job

Corresponds to the JSON property job



3028
3029
3030
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3028

def job
  @job
end

#kernel_rootkitGoogle::Apis::SecuritycenterV1::KernelRootkit

Corresponds to the JSON property kernelRootkit



3033
3034
3035
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3033

def kernel_rootkit
  @kernel_rootkit
end

#kubernetesGoogle::Apis::SecuritycenterV1::Kubernetes

Corresponds to the JSON property kubernetes



3038
3039
3040
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3038

def kubernetes
  @kubernetes
end

#load_balancersArray<Google::Apis::SecuritycenterV1::LoadBalancer>

Corresponds to the JSON property loadBalancers



3043
3044
3045
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3043

def load_balancers
  @load_balancers
end

#log_entriesArray<Google::Apis::SecuritycenterV1::LogEntry>

Corresponds to the JSON property logEntries



3048
3049
3050
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3048

def log_entries
  @log_entries
end

#mitre_attackGoogle::Apis::SecuritycenterV1::MitreAttack

Corresponds to the JSON property mitreAttack



3053
3054
3055
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3053

def mitre_attack
  @mitre_attack
end

#module_nameString

Corresponds to the JSON property moduleName

Returns:

  • (String)


3058
3059
3060
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3058

def module_name
  @module_name
end

#muteString

Corresponds to the JSON property mute

Returns:

  • (String)


3063
3064
3065
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3063

def mute
  @mute
end

#mute_infoGoogle::Apis::SecuritycenterV1::MuteInfo

Corresponds to the JSON property muteInfo



3068
3069
3070
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3068

def mute_info
  @mute_info
end

#mute_initiatorString

Corresponds to the JSON property muteInitiator

Returns:

  • (String)


3073
3074
3075
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3073

def mute_initiator
  @mute_initiator
end

#mute_update_timeString

Corresponds to the JSON property muteUpdateTime

Returns:

  • (String)


3078
3079
3080
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3078

def mute_update_time
  @mute_update_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3083
3084
3085
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3083

def name
  @name
end

#networksArray<Google::Apis::SecuritycenterV1::Network>

Corresponds to the JSON property networks



3088
3089
3090
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3088

def networks
  @networks
end

#next_stepsString

Corresponds to the JSON property nextSteps

Returns:

  • (String)


3093
3094
3095
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3093

def next_steps
  @next_steps
end

#notebookGoogle::Apis::SecuritycenterV1::Notebook

Corresponds to the JSON property notebook



3098
3099
3100
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3098

def notebook
  @notebook
end

#org_policiesArray<Google::Apis::SecuritycenterV1::OrgPolicy>

Corresponds to the JSON property orgPolicies



3103
3104
3105
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3103

def org_policies
  @org_policies
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


3108
3109
3110
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3108

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


3113
3114
3115
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3113

def parent_display_name
  @parent_display_name
end

#policy_violation_summaryGoogle::Apis::SecuritycenterV1::PolicyViolationSummary

Corresponds to the JSON property policyViolationSummary



3118
3119
3120
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3118

def policy_violation_summary
  @policy_violation_summary
end

#processesArray<Google::Apis::SecuritycenterV1::Process>

Corresponds to the JSON property processes



3123
3124
3125
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3123

def processes
  @processes
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


3128
3129
3130
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3128

def resource_name
  @resource_name
end

#secretGoogle::Apis::SecuritycenterV1::Secret

Corresponds to the JSON property secret



3133
3134
3135
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3133

def secret
  @secret
end

#security_marksGoogle::Apis::SecuritycenterV1::SecurityMarks

Corresponds to the JSON property securityMarks



3138
3139
3140
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3138

def security_marks
  @security_marks
end

#security_postureGoogle::Apis::SecuritycenterV1::SecurityPosture

Corresponds to the JSON property securityPosture



3143
3144
3145
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3143

def security_posture
  @security_posture
end

#severityString

Corresponds to the JSON property severity

Returns:

  • (String)


3148
3149
3150
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3148

def severity
  @severity
end

#source_propertiesHash<String,Object>

Corresponds to the JSON property sourceProperties

Returns:



3153
3154
3155
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3153

def source_properties
  @source_properties
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


3158
3159
3160
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3158

def state
  @state
end

#toxic_combinationGoogle::Apis::SecuritycenterV1::ToxicCombination

Corresponds to the JSON property toxicCombination



3163
3164
3165
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3163

def toxic_combination
  @toxic_combination
end

#vertex_aiGoogle::Apis::SecuritycenterV1::VertexAi

Corresponds to the JSON property vertexAi



3168
3169
3170
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3168

def vertex_ai
  @vertex_ai
end

#vulnerabilityGoogle::Apis::SecuritycenterV1::Vulnerability

Corresponds to the JSON property vulnerability



3173
3174
3175
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3173

def vulnerability
  @vulnerability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3180

def update!(**args)
  @access = args[:access] if args.key?(:access)
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
  @agent_data_access_events = args[:agent_data_access_events] if args.key?(:agent_data_access_events)
  @ai_model = args[:ai_model] if args.key?(:ai_model)
  @application = args[:application] if args.key?(:application)
  @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
  @category = args[:category] if args.key?(:category)
  @chokepoint = args[:chokepoint] if args.key?(:chokepoint)
  @cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
  @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
  @compliance_details = args[:compliance_details] if args.key?(:compliance_details)
  @compliances = args[:compliances] if args.key?(:compliances)
  @connections = args[:connections] if args.key?(:connections)
  @contacts = args[:contacts] if args.key?(:contacts)
  @containers = args[:containers] if args.key?(:containers)
  @create_time = args[:create_time] if args.key?(:create_time)
  @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
  @data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
  @database = args[:database] if args.key?(:database)
  @description = args[:description] if args.key?(:description)
  @discovered_workload = args[:discovered_workload] if args.key?(:discovered_workload)
  @disk = args[:disk] if args.key?(:disk)
  @event_time = args[:event_time] if args.key?(:event_time)
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
  @external_exposure = args[:external_exposure] if args.key?(:external_exposure)
  @external_systems = args[:external_systems] if args.key?(:external_systems)
  @external_uri = args[:external_uri] if args.key?(:external_uri)
  @files = args[:files] if args.key?(:files)
  @finding_class = args[:finding_class] if args.key?(:finding_class)
  @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
  @indicator = args[:indicator] if args.key?(:indicator)
  @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
  @job = args[:job] if args.key?(:job)
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
  @log_entries = args[:log_entries] if args.key?(:log_entries)
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
  @module_name = args[:module_name] if args.key?(:module_name)
  @mute = args[:mute] if args.key?(:mute)
  @mute_info = args[:mute_info] if args.key?(:mute_info)
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
  @name = args[:name] if args.key?(:name)
  @networks = args[:networks] if args.key?(:networks)
  @next_steps = args[:next_steps] if args.key?(:next_steps)
  @notebook = args[:notebook] if args.key?(:notebook)
  @org_policies = args[:org_policies] if args.key?(:org_policies)
  @parent = args[:parent] if args.key?(:parent)
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
  @policy_violation_summary = args[:policy_violation_summary] if args.key?(:policy_violation_summary)
  @processes = args[:processes] if args.key?(:processes)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @secret = args[:secret] if args.key?(:secret)
  @security_marks = args[:security_marks] if args.key?(:security_marks)
  @security_posture = args[:security_posture] if args.key?(:security_posture)
  @severity = args[:severity] if args.key?(:severity)
  @source_properties = args[:source_properties] if args.key?(:source_properties)
  @state = args[:state] if args.key?(:state)
  @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
  @vertex_ai = args[:vertex_ai] if args.key?(:vertex_ai)
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
end