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.



3313
3314
3315
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3313

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

Instance Attribute Details

#accessGoogle::Apis::SecuritycenterV1::Access

Corresponds to the JSON property access



2956
2957
2958
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2956

def access
  @access
end

#affected_resourcesGoogle::Apis::SecuritycenterV1::AffectedResources

Corresponds to the JSON property affectedResources



2961
2962
2963
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2961

def affected_resources
  @affected_resources
end

#agentGoogle::Apis::SecuritycenterV1::Agent

Corresponds to the JSON property agent



2966
2967
2968
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2966

def agent
  @agent
end

#agent_anomalyGoogle::Apis::SecuritycenterV1::AgentAnomaly

Corresponds to the JSON property agentAnomaly



2971
2972
2973
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2971

def agent_anomaly
  @agent_anomaly
end

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

Corresponds to the JSON property agentDataAccessEvents



2976
2977
2978
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2976

def agent_data_access_events
  @agent_data_access_events
end

#agent_sessionsArray<Google::Apis::SecuritycenterV1::AgentSession>

Corresponds to the JSON property agentSessions



2981
2982
2983
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2981

def agent_sessions
  @agent_sessions
end

#ai_modelGoogle::Apis::SecuritycenterV1::AiModel

Corresponds to the JSON property aiModel



2986
2987
2988
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2986

def ai_model
  @ai_model
end

#applicationGoogle::Apis::SecuritycenterV1::Application

Corresponds to the JSON property application



2991
2992
2993
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2991

def application
  @application
end

#artifact_guard_policiesGoogle::Apis::SecuritycenterV1::ArtifactGuardPolicies

Corresponds to the JSON property artifactGuardPolicies



2996
2997
2998
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2996

def artifact_guard_policies
  @artifact_guard_policies
end

#attack_exposureGoogle::Apis::SecuritycenterV1::AttackExposure

Corresponds to the JSON property attackExposure



3001
3002
3003
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3001

def attack_exposure
  @attack_exposure
end

#backup_disaster_recoveryGoogle::Apis::SecuritycenterV1::BackupDisasterRecovery

Corresponds to the JSON property backupDisasterRecovery



3006
3007
3008
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3006

def backup_disaster_recovery
  @backup_disaster_recovery
end

#canonical_nameString

Corresponds to the JSON property canonicalName

Returns:

  • (String)


3011
3012
3013
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3011

def canonical_name
  @canonical_name
end

#categoryString

Corresponds to the JSON property category

Returns:

  • (String)


3016
3017
3018
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3016

def category
  @category
end

#chokepointGoogle::Apis::SecuritycenterV1::Chokepoint

Corresponds to the JSON property chokepoint



3021
3022
3023
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3021

def chokepoint
  @chokepoint
end

#cloud_armorGoogle::Apis::SecuritycenterV1::CloudArmor

Corresponds to the JSON property cloudArmor



3026
3027
3028
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3026

def cloud_armor
  @cloud_armor
end

#cloud_dlp_data_profileGoogle::Apis::SecuritycenterV1::CloudDlpDataProfile

Corresponds to the JSON property cloudDlpDataProfile



3031
3032
3033
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3031

def cloud_dlp_data_profile
  @cloud_dlp_data_profile
end

#cloud_dlp_inspectionGoogle::Apis::SecuritycenterV1::CloudDlpInspection

Corresponds to the JSON property cloudDlpInspection



3036
3037
3038
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3036

def cloud_dlp_inspection
  @cloud_dlp_inspection
end

#compliance_detailsGoogle::Apis::SecuritycenterV1::ComplianceDetails

Corresponds to the JSON property complianceDetails



3041
3042
3043
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3041

def compliance_details
  @compliance_details
end

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

Corresponds to the JSON property compliances



3046
3047
3048
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3046

def compliances
  @compliances
end

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

Corresponds to the JSON property connections



3051
3052
3053
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3051

def connections
  @connections
end

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

Corresponds to the JSON property contacts



3056
3057
3058
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3056

def contacts
  @contacts
end

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

Corresponds to the JSON property containers



3061
3062
3063
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3061

def containers
  @containers
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3066
3067
3068
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3066

def create_time
  @create_time
end

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

Corresponds to the JSON property dataAccessEvents



3071
3072
3073
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3071

def data_access_events
  @data_access_events
end

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

Corresponds to the JSON property dataFlowEvents



3076
3077
3078
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3076

def data_flow_events
  @data_flow_events
end

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

Corresponds to the JSON property dataRetentionDeletionEvents



3081
3082
3083
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3081

def data_retention_deletion_events
  @data_retention_deletion_events
end

#databaseGoogle::Apis::SecuritycenterV1::Database

Corresponds to the JSON property database



3086
3087
3088
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3086

def database
  @database
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3091
3092
3093
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3091

def description
  @description
end

#discovered_workloadGoogle::Apis::SecuritycenterV1::DiscoveredWorkload

Corresponds to the JSON property discoveredWorkload



3096
3097
3098
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3096

def discovered_workload
  @discovered_workload
end

#diskGoogle::Apis::SecuritycenterV1::Disk

Corresponds to the JSON property disk



3101
3102
3103
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3101

def disk
  @disk
end

#event_timeString

Corresponds to the JSON property eventTime

Returns:

  • (String)


3106
3107
3108
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3106

def event_time
  @event_time
end

#exfiltrationGoogle::Apis::SecuritycenterV1::Exfiltration

Corresponds to the JSON property exfiltration



3111
3112
3113
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3111

def exfiltration
  @exfiltration
end

#external_exposureGoogle::Apis::SecuritycenterV1::ExternalExposure

Corresponds to the JSON property externalExposure



3116
3117
3118
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3116

def external_exposure
  @external_exposure
end

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

Corresponds to the JSON property externalSystems



3121
3122
3123
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3121

def external_systems
  @external_systems
end

#external_uriString

Corresponds to the JSON property externalUri

Returns:

  • (String)


3126
3127
3128
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3126

def external_uri
  @external_uri
end

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

Corresponds to the JSON property files



3131
3132
3133
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3131

def files
  @files
end

#finding_classString

Corresponds to the JSON property findingClass

Returns:

  • (String)


3136
3137
3138
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3136

def finding_class
  @finding_class
end

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

Corresponds to the JSON property groupMemberships



3141
3142
3143
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3141

def group_memberships
  @group_memberships
end

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

Corresponds to the JSON property iamBindings



3146
3147
3148
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3146

def iam_bindings
  @iam_bindings
end

#iam_detailsGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1IamDetails

Corresponds to the JSON property iamDetails



3151
3152
3153
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3151

def iam_details
  @iam_details
end

#indicatorGoogle::Apis::SecuritycenterV1::Indicator

Corresponds to the JSON property indicator



3156
3157
3158
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3156

def indicator
  @indicator
end

#ip_rulesGoogle::Apis::SecuritycenterV1::IpRules

Corresponds to the JSON property ipRules



3161
3162
3163
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3161

def ip_rules
  @ip_rules
end

#jobGoogle::Apis::SecuritycenterV1::Job

Corresponds to the JSON property job



3166
3167
3168
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3166

def job
  @job
end

#kernel_rootkitGoogle::Apis::SecuritycenterV1::KernelRootkit

Corresponds to the JSON property kernelRootkit



3171
3172
3173
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3171

def kernel_rootkit
  @kernel_rootkit
end

#kubernetesGoogle::Apis::SecuritycenterV1::Kubernetes

Corresponds to the JSON property kubernetes



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

def kubernetes
  @kubernetes
end

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

Corresponds to the JSON property loadBalancers



3181
3182
3183
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3181

def load_balancers
  @load_balancers
end

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

Corresponds to the JSON property logEntries



3186
3187
3188
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3186

def log_entries
  @log_entries
end

#mitre_attackGoogle::Apis::SecuritycenterV1::MitreAttack

Corresponds to the JSON property mitreAttack



3191
3192
3193
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3191

def mitre_attack
  @mitre_attack
end

#module_nameString

Corresponds to the JSON property moduleName

Returns:

  • (String)


3196
3197
3198
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3196

def module_name
  @module_name
end

#muteString

Corresponds to the JSON property mute

Returns:

  • (String)


3201
3202
3203
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3201

def mute
  @mute
end

#mute_infoGoogle::Apis::SecuritycenterV1::MuteInfo

Corresponds to the JSON property muteInfo



3206
3207
3208
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3206

def mute_info
  @mute_info
end

#mute_initiatorString

Corresponds to the JSON property muteInitiator

Returns:

  • (String)


3211
3212
3213
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3211

def mute_initiator
  @mute_initiator
end

#mute_update_timeString

Corresponds to the JSON property muteUpdateTime

Returns:

  • (String)


3216
3217
3218
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3216

def mute_update_time
  @mute_update_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3221
3222
3223
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3221

def name
  @name
end

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

Corresponds to the JSON property networks



3226
3227
3228
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3226

def networks
  @networks
end

#next_stepsString

Corresponds to the JSON property nextSteps

Returns:

  • (String)


3231
3232
3233
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3231

def next_steps
  @next_steps
end

#notebookGoogle::Apis::SecuritycenterV1::Notebook

Corresponds to the JSON property notebook



3236
3237
3238
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3236

def notebook
  @notebook
end

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

Corresponds to the JSON property orgPolicies



3241
3242
3243
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3241

def org_policies
  @org_policies
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


3246
3247
3248
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3246

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


3251
3252
3253
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3251

def parent_display_name
  @parent_display_name
end

#policy_violation_summaryGoogle::Apis::SecuritycenterV1::PolicyViolationSummary

Corresponds to the JSON property policyViolationSummary



3256
3257
3258
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3256

def policy_violation_summary
  @policy_violation_summary
end

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

Corresponds to the JSON property processes



3261
3262
3263
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3261

def processes
  @processes
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


3266
3267
3268
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3266

def resource_name
  @resource_name
end

#secretGoogle::Apis::SecuritycenterV1::Secret

Corresponds to the JSON property secret



3271
3272
3273
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3271

def secret
  @secret
end

#security_marksGoogle::Apis::SecuritycenterV1::SecurityMarks

Corresponds to the JSON property securityMarks



3276
3277
3278
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3276

def security_marks
  @security_marks
end

#security_postureGoogle::Apis::SecuritycenterV1::SecurityPosture

Corresponds to the JSON property securityPosture



3281
3282
3283
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3281

def security_posture
  @security_posture
end

#severityString

Corresponds to the JSON property severity

Returns:

  • (String)


3286
3287
3288
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3286

def severity
  @severity
end

#source_propertiesHash<String,Object>

Corresponds to the JSON property sourceProperties

Returns:



3291
3292
3293
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3291

def source_properties
  @source_properties
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


3296
3297
3298
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3296

def state
  @state
end

#toxic_combinationGoogle::Apis::SecuritycenterV1::ToxicCombination

Corresponds to the JSON property toxicCombination



3301
3302
3303
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3301

def toxic_combination
  @toxic_combination
end

#vertex_aiGoogle::Apis::SecuritycenterV1::VertexAi

Corresponds to the JSON property vertexAi



3306
3307
3308
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3306

def vertex_ai
  @vertex_ai
end

#vulnerabilityGoogle::Apis::SecuritycenterV1::Vulnerability

Corresponds to the JSON property vulnerability



3311
3312
3313
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3311

def vulnerability
  @vulnerability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3318

def update!(**args)
  @access = args[:access] if args.key?(:access)
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
  @agent = args[:agent] if args.key?(:agent)
  @agent_anomaly = args[:agent_anomaly] if args.key?(:agent_anomaly)
  @agent_data_access_events = args[:agent_data_access_events] if args.key?(:agent_data_access_events)
  @agent_sessions = args[:agent_sessions] if args.key?(:agent_sessions)
  @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)
  @iam_details = args[:iam_details] if args.key?(:iam_details)
  @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