Class: Google::Apis::SecuritycenterV1beta2::Finding

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Finding

Returns a new instance of Finding.



2699
2700
2701
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2699

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

Instance Attribute Details

#accessGoogle::Apis::SecuritycenterV1beta2::Access

Corresponds to the JSON property access



2362
2363
2364
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2362

def access
  @access
end

#affected_resourcesGoogle::Apis::SecuritycenterV1beta2::AffectedResources

Corresponds to the JSON property affectedResources



2367
2368
2369
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2367

def affected_resources
  @affected_resources
end

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

Corresponds to the JSON property agentDataAccessEvents



2372
2373
2374
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2372

def agent_data_access_events
  @agent_data_access_events
end

#ai_modelGoogle::Apis::SecuritycenterV1beta2::AiModel

Corresponds to the JSON property aiModel



2377
2378
2379
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2377

def ai_model
  @ai_model
end

#applicationGoogle::Apis::SecuritycenterV1beta2::Application

Corresponds to the JSON property application



2382
2383
2384
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2382

def application
  @application
end

#artifact_guard_policiesGoogle::Apis::SecuritycenterV1beta2::ArtifactGuardPolicies

Corresponds to the JSON property artifactGuardPolicies



2387
2388
2389
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2387

def artifact_guard_policies
  @artifact_guard_policies
end

#attack_exposureGoogle::Apis::SecuritycenterV1beta2::AttackExposure

Corresponds to the JSON property attackExposure



2392
2393
2394
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2392

def attack_exposure
  @attack_exposure
end

#backup_disaster_recoveryGoogle::Apis::SecuritycenterV1beta2::BackupDisasterRecovery

Corresponds to the JSON property backupDisasterRecovery



2397
2398
2399
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2397

def backup_disaster_recovery
  @backup_disaster_recovery
end

#canonical_nameString

Corresponds to the JSON property canonicalName

Returns:

  • (String)


2402
2403
2404
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2402

def canonical_name
  @canonical_name
end

#categoryString

Corresponds to the JSON property category

Returns:

  • (String)


2407
2408
2409
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2407

def category
  @category
end

#chokepointGoogle::Apis::SecuritycenterV1beta2::Chokepoint

Corresponds to the JSON property chokepoint



2412
2413
2414
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2412

def chokepoint
  @chokepoint
end

#cloud_armorGoogle::Apis::SecuritycenterV1beta2::CloudArmor

Corresponds to the JSON property cloudArmor



2417
2418
2419
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2417

def cloud_armor
  @cloud_armor
end

#cloud_dlp_data_profileGoogle::Apis::SecuritycenterV1beta2::CloudDlpDataProfile

Corresponds to the JSON property cloudDlpDataProfile



2422
2423
2424
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2422

def cloud_dlp_data_profile
  @cloud_dlp_data_profile
end

#cloud_dlp_inspectionGoogle::Apis::SecuritycenterV1beta2::CloudDlpInspection

Corresponds to the JSON property cloudDlpInspection



2427
2428
2429
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2427

def cloud_dlp_inspection
  @cloud_dlp_inspection
end

#compliance_detailsGoogle::Apis::SecuritycenterV1beta2::ComplianceDetails

Corresponds to the JSON property complianceDetails



2432
2433
2434
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2432

def compliance_details
  @compliance_details
end

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

Corresponds to the JSON property compliances



2437
2438
2439
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2437

def compliances
  @compliances
end

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

Corresponds to the JSON property connections



2442
2443
2444
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2442

def connections
  @connections
end

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

Corresponds to the JSON property contacts



2447
2448
2449
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2447

def contacts
  @contacts
end

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

Corresponds to the JSON property containers



2452
2453
2454
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2452

def containers
  @containers
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


2457
2458
2459
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2457

def create_time
  @create_time
end

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

Corresponds to the JSON property dataAccessEvents



2462
2463
2464
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2462

def data_access_events
  @data_access_events
end

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

Corresponds to the JSON property dataFlowEvents



2467
2468
2469
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2467

def data_flow_events
  @data_flow_events
end

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

Corresponds to the JSON property dataRetentionDeletionEvents



2472
2473
2474
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2472

def data_retention_deletion_events
  @data_retention_deletion_events
end

#databaseGoogle::Apis::SecuritycenterV1beta2::Database

Corresponds to the JSON property database



2477
2478
2479
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2477

def database
  @database
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2482
2483
2484
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2482

def description
  @description
end

#discovered_workloadGoogle::Apis::SecuritycenterV1beta2::DiscoveredWorkload

Corresponds to the JSON property discoveredWorkload



2487
2488
2489
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2487

def discovered_workload
  @discovered_workload
end

#diskGoogle::Apis::SecuritycenterV1beta2::Disk

Corresponds to the JSON property disk



2492
2493
2494
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2492

def disk
  @disk
end

#event_timeString

Corresponds to the JSON property eventTime

Returns:

  • (String)


2497
2498
2499
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2497

def event_time
  @event_time
end

#exfiltrationGoogle::Apis::SecuritycenterV1beta2::Exfiltration

Corresponds to the JSON property exfiltration



2502
2503
2504
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2502

def exfiltration
  @exfiltration
end

#external_exposureGoogle::Apis::SecuritycenterV1beta2::ExternalExposure

Corresponds to the JSON property externalExposure



2507
2508
2509
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2507

def external_exposure
  @external_exposure
end

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

Corresponds to the JSON property externalSystems



2512
2513
2514
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2512

def external_systems
  @external_systems
end

#external_uriString

Corresponds to the JSON property externalUri

Returns:

  • (String)


2517
2518
2519
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2517

def external_uri
  @external_uri
end

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

Corresponds to the JSON property files



2522
2523
2524
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2522

def files
  @files
end

#finding_classString

Corresponds to the JSON property findingClass

Returns:

  • (String)


2527
2528
2529
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2527

def finding_class
  @finding_class
end

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

Corresponds to the JSON property groupMemberships



2532
2533
2534
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2532

def group_memberships
  @group_memberships
end

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

Corresponds to the JSON property iamBindings



2537
2538
2539
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2537

def iam_bindings
  @iam_bindings
end

#indicatorGoogle::Apis::SecuritycenterV1beta2::Indicator

Corresponds to the JSON property indicator



2542
2543
2544
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2542

def indicator
  @indicator
end

#ip_rulesGoogle::Apis::SecuritycenterV1beta2::IpRules

Corresponds to the JSON property ipRules



2547
2548
2549
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2547

def ip_rules
  @ip_rules
end

#jobGoogle::Apis::SecuritycenterV1beta2::Job

Corresponds to the JSON property job



2552
2553
2554
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2552

def job
  @job
end

#kernel_rootkitGoogle::Apis::SecuritycenterV1beta2::KernelRootkit

Corresponds to the JSON property kernelRootkit



2557
2558
2559
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2557

def kernel_rootkit
  @kernel_rootkit
end

#kubernetesGoogle::Apis::SecuritycenterV1beta2::Kubernetes

Corresponds to the JSON property kubernetes



2562
2563
2564
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2562

def kubernetes
  @kubernetes
end

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

Corresponds to the JSON property loadBalancers



2567
2568
2569
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2567

def load_balancers
  @load_balancers
end

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

Corresponds to the JSON property logEntries



2572
2573
2574
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2572

def log_entries
  @log_entries
end

#mitre_attackGoogle::Apis::SecuritycenterV1beta2::MitreAttack

Corresponds to the JSON property mitreAttack



2577
2578
2579
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2577

def mitre_attack
  @mitre_attack
end

#module_nameString

Corresponds to the JSON property moduleName

Returns:

  • (String)


2582
2583
2584
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2582

def module_name
  @module_name
end

#muteString

Corresponds to the JSON property mute

Returns:

  • (String)


2587
2588
2589
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2587

def mute
  @mute
end

#mute_infoGoogle::Apis::SecuritycenterV1beta2::MuteInfo

Corresponds to the JSON property muteInfo



2592
2593
2594
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2592

def mute_info
  @mute_info
end

#mute_initiatorString

Corresponds to the JSON property muteInitiator

Returns:

  • (String)


2597
2598
2599
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2597

def mute_initiator
  @mute_initiator
end

#mute_update_timeString

Corresponds to the JSON property muteUpdateTime

Returns:

  • (String)


2602
2603
2604
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2602

def mute_update_time
  @mute_update_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2607
2608
2609
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2607

def name
  @name
end

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

Corresponds to the JSON property networks



2612
2613
2614
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2612

def networks
  @networks
end

#next_stepsString

Corresponds to the JSON property nextSteps

Returns:

  • (String)


2617
2618
2619
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2617

def next_steps
  @next_steps
end

#notebookGoogle::Apis::SecuritycenterV1beta2::Notebook

Corresponds to the JSON property notebook



2622
2623
2624
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2622

def notebook
  @notebook
end

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

Corresponds to the JSON property orgPolicies



2627
2628
2629
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2627

def org_policies
  @org_policies
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


2632
2633
2634
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2632

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


2637
2638
2639
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2637

def parent_display_name
  @parent_display_name
end

#policy_violation_summaryGoogle::Apis::SecuritycenterV1beta2::PolicyViolationSummary

Corresponds to the JSON property policyViolationSummary



2642
2643
2644
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2642

def policy_violation_summary
  @policy_violation_summary
end

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

Corresponds to the JSON property processes



2647
2648
2649
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2647

def processes
  @processes
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


2652
2653
2654
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2652

def resource_name
  @resource_name
end

#secretGoogle::Apis::SecuritycenterV1beta2::Secret

Corresponds to the JSON property secret



2657
2658
2659
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2657

def secret
  @secret
end

#security_marksGoogle::Apis::SecuritycenterV1beta2::SecurityMarks

Corresponds to the JSON property securityMarks



2662
2663
2664
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2662

def security_marks
  @security_marks
end

#security_postureGoogle::Apis::SecuritycenterV1beta2::SecurityPosture

Corresponds to the JSON property securityPosture



2667
2668
2669
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2667

def security_posture
  @security_posture
end

#severityString

Corresponds to the JSON property severity

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2672

def severity
  @severity
end

#source_propertiesHash<String,Object>

Corresponds to the JSON property sourceProperties

Returns:



2677
2678
2679
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2677

def source_properties
  @source_properties
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


2682
2683
2684
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2682

def state
  @state
end

#toxic_combinationGoogle::Apis::SecuritycenterV1beta2::ToxicCombination

Corresponds to the JSON property toxicCombination



2687
2688
2689
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2687

def toxic_combination
  @toxic_combination
end

#vertex_aiGoogle::Apis::SecuritycenterV1beta2::VertexAi

Corresponds to the JSON property vertexAi



2692
2693
2694
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2692

def vertex_ai
  @vertex_ai
end

#vulnerabilityGoogle::Apis::SecuritycenterV1beta2::Vulnerability

Corresponds to the JSON property vulnerability



2697
2698
2699
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2697

def vulnerability
  @vulnerability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2704

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