Class: Google::Apis::SecuritycenterV1beta1::Finding

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Finding

Returns a new instance of Finding.



2738
2739
2740
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2738

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

Instance Attribute Details

#accessGoogle::Apis::SecuritycenterV1beta1::Access

Corresponds to the JSON property access



2401
2402
2403
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2401

def access
  @access
end

#affected_resourcesGoogle::Apis::SecuritycenterV1beta1::AffectedResources

Corresponds to the JSON property affectedResources



2406
2407
2408
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2406

def affected_resources
  @affected_resources
end

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

Corresponds to the JSON property agentDataAccessEvents



2411
2412
2413
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2411

def agent_data_access_events
  @agent_data_access_events
end

#ai_modelGoogle::Apis::SecuritycenterV1beta1::AiModel

Corresponds to the JSON property aiModel



2416
2417
2418
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2416

def ai_model
  @ai_model
end

#applicationGoogle::Apis::SecuritycenterV1beta1::Application

Corresponds to the JSON property application



2421
2422
2423
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2421

def application
  @application
end

#artifact_guard_policiesGoogle::Apis::SecuritycenterV1beta1::ArtifactGuardPolicies

Corresponds to the JSON property artifactGuardPolicies



2426
2427
2428
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2426

def artifact_guard_policies
  @artifact_guard_policies
end

#attack_exposureGoogle::Apis::SecuritycenterV1beta1::AttackExposure

Corresponds to the JSON property attackExposure



2431
2432
2433
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2431

def attack_exposure
  @attack_exposure
end

#backup_disaster_recoveryGoogle::Apis::SecuritycenterV1beta1::BackupDisasterRecovery

Corresponds to the JSON property backupDisasterRecovery



2436
2437
2438
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2436

def backup_disaster_recovery
  @backup_disaster_recovery
end

#canonical_nameString

Corresponds to the JSON property canonicalName

Returns:

  • (String)


2441
2442
2443
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2441

def canonical_name
  @canonical_name
end

#categoryString

Corresponds to the JSON property category

Returns:

  • (String)


2446
2447
2448
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2446

def category
  @category
end

#chokepointGoogle::Apis::SecuritycenterV1beta1::Chokepoint

Corresponds to the JSON property chokepoint



2451
2452
2453
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2451

def chokepoint
  @chokepoint
end

#cloud_armorGoogle::Apis::SecuritycenterV1beta1::CloudArmor

Corresponds to the JSON property cloudArmor



2456
2457
2458
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2456

def cloud_armor
  @cloud_armor
end

#cloud_dlp_data_profileGoogle::Apis::SecuritycenterV1beta1::CloudDlpDataProfile

Corresponds to the JSON property cloudDlpDataProfile



2461
2462
2463
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2461

def cloud_dlp_data_profile
  @cloud_dlp_data_profile
end

#cloud_dlp_inspectionGoogle::Apis::SecuritycenterV1beta1::CloudDlpInspection

Corresponds to the JSON property cloudDlpInspection



2466
2467
2468
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2466

def cloud_dlp_inspection
  @cloud_dlp_inspection
end

#compliance_detailsGoogle::Apis::SecuritycenterV1beta1::ComplianceDetails

Corresponds to the JSON property complianceDetails



2471
2472
2473
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2471

def compliance_details
  @compliance_details
end

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

Corresponds to the JSON property compliances



2476
2477
2478
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2476

def compliances
  @compliances
end

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

Corresponds to the JSON property connections



2481
2482
2483
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2481

def connections
  @connections
end

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

Corresponds to the JSON property contacts



2486
2487
2488
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2486

def contacts
  @contacts
end

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

Corresponds to the JSON property containers



2491
2492
2493
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2491

def containers
  @containers
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


2496
2497
2498
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2496

def create_time
  @create_time
end

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

Corresponds to the JSON property dataAccessEvents



2501
2502
2503
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2501

def data_access_events
  @data_access_events
end

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

Corresponds to the JSON property dataFlowEvents



2506
2507
2508
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2506

def data_flow_events
  @data_flow_events
end

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

Corresponds to the JSON property dataRetentionDeletionEvents



2511
2512
2513
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2511

def data_retention_deletion_events
  @data_retention_deletion_events
end

#databaseGoogle::Apis::SecuritycenterV1beta1::Database

Corresponds to the JSON property database



2516
2517
2518
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2516

def database
  @database
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2521
2522
2523
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2521

def description
  @description
end

#discovered_workloadGoogle::Apis::SecuritycenterV1beta1::DiscoveredWorkload

Corresponds to the JSON property discoveredWorkload



2526
2527
2528
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2526

def discovered_workload
  @discovered_workload
end

#diskGoogle::Apis::SecuritycenterV1beta1::Disk

Corresponds to the JSON property disk



2531
2532
2533
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2531

def disk
  @disk
end

#event_timeString

Corresponds to the JSON property eventTime

Returns:

  • (String)


2536
2537
2538
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2536

def event_time
  @event_time
end

#exfiltrationGoogle::Apis::SecuritycenterV1beta1::Exfiltration

Corresponds to the JSON property exfiltration



2541
2542
2543
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2541

def exfiltration
  @exfiltration
end

#external_exposureGoogle::Apis::SecuritycenterV1beta1::ExternalExposure

Corresponds to the JSON property externalExposure



2546
2547
2548
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2546

def external_exposure
  @external_exposure
end

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

Corresponds to the JSON property externalSystems



2551
2552
2553
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2551

def external_systems
  @external_systems
end

#external_uriString

Corresponds to the JSON property externalUri

Returns:

  • (String)


2556
2557
2558
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2556

def external_uri
  @external_uri
end

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

Corresponds to the JSON property files



2561
2562
2563
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2561

def files
  @files
end

#finding_classString

Corresponds to the JSON property findingClass

Returns:

  • (String)


2566
2567
2568
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2566

def finding_class
  @finding_class
end

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

Corresponds to the JSON property groupMemberships



2571
2572
2573
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2571

def group_memberships
  @group_memberships
end

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

Corresponds to the JSON property iamBindings



2576
2577
2578
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2576

def iam_bindings
  @iam_bindings
end

#indicatorGoogle::Apis::SecuritycenterV1beta1::Indicator

Corresponds to the JSON property indicator



2581
2582
2583
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2581

def indicator
  @indicator
end

#ip_rulesGoogle::Apis::SecuritycenterV1beta1::IpRules

Corresponds to the JSON property ipRules



2586
2587
2588
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2586

def ip_rules
  @ip_rules
end

#jobGoogle::Apis::SecuritycenterV1beta1::Job

Corresponds to the JSON property job



2591
2592
2593
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2591

def job
  @job
end

#kernel_rootkitGoogle::Apis::SecuritycenterV1beta1::KernelRootkit

Corresponds to the JSON property kernelRootkit



2596
2597
2598
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2596

def kernel_rootkit
  @kernel_rootkit
end

#kubernetesGoogle::Apis::SecuritycenterV1beta1::Kubernetes

Corresponds to the JSON property kubernetes



2601
2602
2603
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2601

def kubernetes
  @kubernetes
end

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

Corresponds to the JSON property loadBalancers



2606
2607
2608
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2606

def load_balancers
  @load_balancers
end

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

Corresponds to the JSON property logEntries



2611
2612
2613
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2611

def log_entries
  @log_entries
end

#mitre_attackGoogle::Apis::SecuritycenterV1beta1::MitreAttack

Corresponds to the JSON property mitreAttack



2616
2617
2618
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2616

def mitre_attack
  @mitre_attack
end

#module_nameString

Corresponds to the JSON property moduleName

Returns:

  • (String)


2621
2622
2623
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2621

def module_name
  @module_name
end

#muteString

Corresponds to the JSON property mute

Returns:

  • (String)


2626
2627
2628
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2626

def mute
  @mute
end

#mute_infoGoogle::Apis::SecuritycenterV1beta1::MuteInfo

Corresponds to the JSON property muteInfo



2631
2632
2633
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2631

def mute_info
  @mute_info
end

#mute_initiatorString

Corresponds to the JSON property muteInitiator

Returns:

  • (String)


2636
2637
2638
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2636

def mute_initiator
  @mute_initiator
end

#mute_update_timeString

Corresponds to the JSON property muteUpdateTime

Returns:

  • (String)


2641
2642
2643
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2641

def mute_update_time
  @mute_update_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2646
2647
2648
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2646

def name
  @name
end

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

Corresponds to the JSON property networks



2651
2652
2653
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2651

def networks
  @networks
end

#next_stepsString

Corresponds to the JSON property nextSteps

Returns:

  • (String)


2656
2657
2658
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2656

def next_steps
  @next_steps
end

#notebookGoogle::Apis::SecuritycenterV1beta1::Notebook

Corresponds to the JSON property notebook



2661
2662
2663
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2661

def notebook
  @notebook
end

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

Corresponds to the JSON property orgPolicies



2666
2667
2668
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2666

def org_policies
  @org_policies
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


2671
2672
2673
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2671

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


2676
2677
2678
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2676

def parent_display_name
  @parent_display_name
end

#policy_violation_summaryGoogle::Apis::SecuritycenterV1beta1::PolicyViolationSummary

Corresponds to the JSON property policyViolationSummary



2681
2682
2683
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2681

def policy_violation_summary
  @policy_violation_summary
end

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

Corresponds to the JSON property processes



2686
2687
2688
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2686

def processes
  @processes
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


2691
2692
2693
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2691

def resource_name
  @resource_name
end

#secretGoogle::Apis::SecuritycenterV1beta1::Secret

Corresponds to the JSON property secret



2696
2697
2698
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2696

def secret
  @secret
end

#security_marksGoogle::Apis::SecuritycenterV1beta1::SecurityMarks

Corresponds to the JSON property securityMarks



2701
2702
2703
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2701

def security_marks
  @security_marks
end

#security_postureGoogle::Apis::SecuritycenterV1beta1::SecurityPosture

Corresponds to the JSON property securityPosture



2706
2707
2708
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2706

def security_posture
  @security_posture
end

#severityString

Corresponds to the JSON property severity

Returns:

  • (String)


2711
2712
2713
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2711

def severity
  @severity
end

#source_propertiesHash<String,Object>

Corresponds to the JSON property sourceProperties

Returns:



2716
2717
2718
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2716

def source_properties
  @source_properties
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


2721
2722
2723
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2721

def state
  @state
end

#toxic_combinationGoogle::Apis::SecuritycenterV1beta1::ToxicCombination

Corresponds to the JSON property toxicCombination



2726
2727
2728
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2726

def toxic_combination
  @toxic_combination
end

#vertex_aiGoogle::Apis::SecuritycenterV1beta1::VertexAi

Corresponds to the JSON property vertexAi



2731
2732
2733
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2731

def vertex_ai
  @vertex_ai
end

#vulnerabilityGoogle::Apis::SecuritycenterV1beta1::Vulnerability

Corresponds to the JSON property vulnerability



2736
2737
2738
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2736

def vulnerability
  @vulnerability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2743

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