google-apis-securitycenter_v1 0.29.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c63c60599519970aaffa1223a48999217a4990150141ca0f758e1a201838ee4e
4
- data.tar.gz: fc1ed33d16e58506aff01b8a16410aaca5709a956486ca01450b044a96d35685
3
+ metadata.gz: 96ecbc38844b8b3f6cc72f1a6c26ac5deb2b66e1118518a268600083bd371f5a
4
+ data.tar.gz: 85c5527445076600a2c055ec0dbc281e982d05e0aaadd0e3d03a4077300b0e0e
5
5
  SHA512:
6
- metadata.gz: 4728f6165ddf8294fe0ceb4ce84ae6e6e3557541dd78a54f1686e75dc24989fc05f2f68e77983bb9f0202ed8a59e0ae24fde885b1c72cb41e0a5b23e107f8402
7
- data.tar.gz: 24416274b98934140537af497aac524c3a296469b8a1497ae23c62354068c44c3c4a5629ac6a6b05a3dbca48b0b50c5a79207624a0d791e555fcdb560ad4e3e6
6
+ metadata.gz: f64e679d69bdb60690ee3fb49dc35c58ab502fedc4a4941b7fbcc377787e4780737a2323c22dfbbf66514a045bb5a12a2b1c4716e1958c2d11a7377ad20f1bf4
7
+ data.tar.gz: b087d95506d072c83a93fa85245ce93423381cb7e8f49631ad0439ab435c2bac00992b03ecfc59d364c5962738236eba7c412706d79f8d3eba99fe9b83032b40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.32.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.31.0 (2022-05-24)
9
+
10
+ * Regenerated from discovery document revision 20220520
11
+
12
+ ### v0.30.0 (2022-05-10)
13
+
14
+ * Regenerated from discovery document revision 20220506
15
+
3
16
  ### v0.29.0 (2022-05-04)
4
17
 
5
18
  * Regenerated from discovery document revision 20220428
@@ -360,6 +360,39 @@ module Google
360
360
  end
361
361
  end
362
362
 
363
+ # Contains compliance information about a security standard indicating unmet
364
+ # recommendations.
365
+ class Compliance
366
+ include Google::Apis::Core::Hashable
367
+
368
+ # Policies within the standard/benchmark e.g. A.12.4.1
369
+ # Corresponds to the JSON property `ids`
370
+ # @return [Array<String>]
371
+ attr_accessor :ids
372
+
373
+ # Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
374
+ # etc.
375
+ # Corresponds to the JSON property `standard`
376
+ # @return [String]
377
+ attr_accessor :standard
378
+
379
+ # Version of the standard/benchmark e.g. 1.1
380
+ # Corresponds to the JSON property `version`
381
+ # @return [String]
382
+ attr_accessor :version
383
+
384
+ def initialize(**args)
385
+ update!(**args)
386
+ end
387
+
388
+ # Update properties of this object
389
+ def update!(**args)
390
+ @ids = args[:ids] if args.key?(:ids)
391
+ @standard = args[:standard] if args.key?(:standard)
392
+ @version = args[:version] if args.key?(:version)
393
+ end
394
+ end
395
+
363
396
  # Contains information about the IP connection associated with the finding.
364
397
  class Connection
365
398
  include Google::Apis::Core::Hashable
@@ -404,6 +437,44 @@ module Google
404
437
  end
405
438
  end
406
439
 
440
+ # Representa a single contact's email address
441
+ class Contact
442
+ include Google::Apis::Core::Hashable
443
+
444
+ # An email address e.g. "person123@company.com"
445
+ # Corresponds to the JSON property `email`
446
+ # @return [String]
447
+ attr_accessor :email
448
+
449
+ def initialize(**args)
450
+ update!(**args)
451
+ end
452
+
453
+ # Update properties of this object
454
+ def update!(**args)
455
+ @email = args[:email] if args.key?(:email)
456
+ end
457
+ end
458
+
459
+ # The details pertaining to specific contacts
460
+ class ContactDetails
461
+ include Google::Apis::Core::Hashable
462
+
463
+ # A list of contacts
464
+ # Corresponds to the JSON property `contacts`
465
+ # @return [Array<Google::Apis::SecuritycenterV1::Contact>]
466
+ attr_accessor :contacts
467
+
468
+ def initialize(**args)
469
+ update!(**args)
470
+ end
471
+
472
+ # Update properties of this object
473
+ def update!(**args)
474
+ @contacts = args[:contacts] if args.key?(:contacts)
475
+ end
476
+ end
477
+
407
478
  # CVE stands for Common Vulnerabilities and Exposures. More information: https://
408
479
  # cve.mitre.org
409
480
  class Cve
@@ -537,6 +608,90 @@ module Google
537
608
  end
538
609
  end
539
610
 
611
+ # EnvironmentVariable is a name-value pair to store environment variables for
612
+ # Process.
613
+ class EnvironmentVariable
614
+ include Google::Apis::Core::Hashable
615
+
616
+ # Environment variable name as a JSON encoded string.
617
+ # Corresponds to the JSON property `name`
618
+ # @return [String]
619
+ attr_accessor :name
620
+
621
+ # Environment variable value as a JSON encoded string.
622
+ # Corresponds to the JSON property `val`
623
+ # @return [String]
624
+ attr_accessor :val
625
+
626
+ def initialize(**args)
627
+ update!(**args)
628
+ end
629
+
630
+ # Update properties of this object
631
+ def update!(**args)
632
+ @name = args[:name] if args.key?(:name)
633
+ @val = args[:val] if args.key?(:val)
634
+ end
635
+ end
636
+
637
+ # Resource that has been exfiltrated or exfiltrated_to.
638
+ class ExfilResource
639
+ include Google::Apis::Core::Hashable
640
+
641
+ # Subcomponents of the asset that is exfiltrated - these could be URIs used
642
+ # during exfiltration, table names, databases, filenames, etc. For example,
643
+ # multiple tables may be exfiltrated from the same CloudSQL instance, or
644
+ # multiple files from the same Cloud Storage bucket.
645
+ # Corresponds to the JSON property `components`
646
+ # @return [Array<String>]
647
+ attr_accessor :components
648
+
649
+ # Resource's URI (https://google.aip.dev/122#full-resource-names)
650
+ # Corresponds to the JSON property `name`
651
+ # @return [String]
652
+ attr_accessor :name
653
+
654
+ def initialize(**args)
655
+ update!(**args)
656
+ end
657
+
658
+ # Update properties of this object
659
+ def update!(**args)
660
+ @components = args[:components] if args.key?(:components)
661
+ @name = args[:name] if args.key?(:name)
662
+ end
663
+ end
664
+
665
+ # Exfiltration represents a data exfiltration attempt of one or more sources to
666
+ # one or more targets. Sources represent the source of data that is exfiltrated,
667
+ # and Targets represents the destination the data was copied to.
668
+ class Exfiltration
669
+ include Google::Apis::Core::Hashable
670
+
671
+ # If there are multiple sources, then the data is considered "joined" between
672
+ # them. For instance, BigQuery can join multiple tables, and each table would be
673
+ # considered a source.
674
+ # Corresponds to the JSON property `sources`
675
+ # @return [Array<Google::Apis::SecuritycenterV1::ExfilResource>]
676
+ attr_accessor :sources
677
+
678
+ # If there are multiple targets, each target would get a complete copy of the "
679
+ # joined" source data.
680
+ # Corresponds to the JSON property `targets`
681
+ # @return [Array<Google::Apis::SecuritycenterV1::ExfilResource>]
682
+ attr_accessor :targets
683
+
684
+ def initialize(**args)
685
+ update!(**args)
686
+ end
687
+
688
+ # Update properties of this object
689
+ def update!(**args)
690
+ @sources = args[:sources] if args.key?(:sources)
691
+ @targets = args[:targets] if args.key?(:targets)
692
+ end
693
+ end
694
+
540
695
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
541
696
  # CEL is a C-like expression language. The syntax and semantics of CEL are
542
697
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -591,6 +746,60 @@ module Google
591
746
  end
592
747
  end
593
748
 
749
+ # File information about the related binary/library used by an executable, or
750
+ # the script used by a script interpreter
751
+ class File
752
+ include Google::Apis::Core::Hashable
753
+
754
+ # Prefix of the file contents as a JSON encoded string. (Currently only
755
+ # populated for Malicious Script Executed findings.)
756
+ # Corresponds to the JSON property `contents`
757
+ # @return [String]
758
+ attr_accessor :contents
759
+
760
+ # The length in bytes of the file prefix that was hashed. If hashed_size == size,
761
+ # any hashes reported represent the entire file.
762
+ # Corresponds to the JSON property `hashedSize`
763
+ # @return [Fixnum]
764
+ attr_accessor :hashed_size
765
+
766
+ # True when the hash covers only a prefix of the file.
767
+ # Corresponds to the JSON property `partiallyHashed`
768
+ # @return [Boolean]
769
+ attr_accessor :partially_hashed
770
+ alias_method :partially_hashed?, :partially_hashed
771
+
772
+ # Absolute path of the file as a JSON encoded string.
773
+ # Corresponds to the JSON property `path`
774
+ # @return [String]
775
+ attr_accessor :path
776
+
777
+ # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string.
778
+ # If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
779
+ # Corresponds to the JSON property `sha256`
780
+ # @return [String]
781
+ attr_accessor :sha256
782
+
783
+ # Size of the file in bytes.
784
+ # Corresponds to the JSON property `size`
785
+ # @return [Fixnum]
786
+ attr_accessor :size
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @contents = args[:contents] if args.key?(:contents)
795
+ @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
796
+ @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
797
+ @path = args[:path] if args.key?(:path)
798
+ @sha256 = args[:sha256] if args.key?(:sha256)
799
+ @size = args[:size] if args.key?(:size)
800
+ end
801
+ end
802
+
594
803
  # Security Command Center finding. A finding is a record of assessment data like
595
804
  # security, risk, health, or privacy, that is ingested into Security Command
596
805
  # Center for presentation, notification, analysis, policy testing, and
@@ -619,11 +828,27 @@ module Google
619
828
  # @return [String]
620
829
  attr_accessor :category
621
830
 
831
+ # Contains compliance information for security standards associated to the
832
+ # finding.
833
+ # Corresponds to the JSON property `compliances`
834
+ # @return [Array<Google::Apis::SecuritycenterV1::Compliance>]
835
+ attr_accessor :compliances
836
+
622
837
  # Contains information about the IP connection associated with the finding.
623
838
  # Corresponds to the JSON property `connections`
624
839
  # @return [Array<Google::Apis::SecuritycenterV1::Connection>]
625
840
  attr_accessor :connections
626
841
 
842
+ # Output only. Map containing the point of contacts for the given finding. The
843
+ # key represents the type of contact, while the value contains a list of all the
844
+ # contacts that pertain. Please refer to: https://cloud.google.com/resource-
845
+ # manager/docs/managing-notification-contacts#notification-categories ` “
846
+ # security”: `contact: `email: “person1@company.com”` contact: `email: “person2@
847
+ # company.com”` `
848
+ # Corresponds to the JSON property `contacts`
849
+ # @return [Hash<String,Google::Apis::SecuritycenterV1::ContactDetails>]
850
+ attr_accessor :contacts
851
+
627
852
  # The time at which the finding was created in Security Command Center.
628
853
  # Corresponds to the JSON property `createTime`
629
854
  # @return [String]
@@ -644,6 +869,13 @@ module Google
644
869
  # @return [String]
645
870
  attr_accessor :event_time
646
871
 
872
+ # Exfiltration represents a data exfiltration attempt of one or more sources to
873
+ # one or more targets. Sources represent the source of data that is exfiltrated,
874
+ # and Targets represents the destination the data was copied to.
875
+ # Corresponds to the JSON property `exfiltration`
876
+ # @return [Google::Apis::SecuritycenterV1::Exfiltration]
877
+ attr_accessor :exfiltration
878
+
647
879
  # Output only. Third party SIEM/SOAR fields within SCC, contains external system
648
880
  # information and external system finding fields.
649
881
  # Corresponds to the JSON property `externalSystems`
@@ -721,6 +953,11 @@ module Google
721
953
  # @return [String]
722
954
  attr_accessor :parent
723
955
 
956
+ # Represents operating system processes associated with the Finding.
957
+ # Corresponds to the JSON property `processes`
958
+ # @return [Array<Google::Apis::SecuritycenterV1::Process>]
959
+ attr_accessor :processes
960
+
724
961
  # For findings on Google Cloud resources, the full resource name of the Google
725
962
  # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
726
963
  # resource_names#full_resource_name When the finding is for a non-Google Cloud
@@ -771,10 +1008,13 @@ module Google
771
1008
  @access = args[:access] if args.key?(:access)
772
1009
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
773
1010
  @category = args[:category] if args.key?(:category)
1011
+ @compliances = args[:compliances] if args.key?(:compliances)
774
1012
  @connections = args[:connections] if args.key?(:connections)
1013
+ @contacts = args[:contacts] if args.key?(:contacts)
775
1014
  @create_time = args[:create_time] if args.key?(:create_time)
776
1015
  @description = args[:description] if args.key?(:description)
777
1016
  @event_time = args[:event_time] if args.key?(:event_time)
1017
+ @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
778
1018
  @external_systems = args[:external_systems] if args.key?(:external_systems)
779
1019
  @external_uri = args[:external_uri] if args.key?(:external_uri)
780
1020
  @finding_class = args[:finding_class] if args.key?(:finding_class)
@@ -787,6 +1027,7 @@ module Google
787
1027
  @name = args[:name] if args.key?(:name)
788
1028
  @next_steps = args[:next_steps] if args.key?(:next_steps)
789
1029
  @parent = args[:parent] if args.key?(:parent)
1030
+ @processes = args[:processes] if args.key?(:processes)
790
1031
  @resource_name = args[:resource_name] if args.key?(:resource_name)
791
1032
  @security_marks = args[:security_marks] if args.key?(:security_marks)
792
1033
  @severity = args[:severity] if args.key?(:severity)
@@ -2518,6 +2759,77 @@ module Google
2518
2759
  end
2519
2760
  end
2520
2761
 
2762
+ # Represents an operating system process.
2763
+ class Process
2764
+ include Google::Apis::Core::Hashable
2765
+
2766
+ # Process arguments as JSON encoded strings.
2767
+ # Corresponds to the JSON property `args`
2768
+ # @return [Array<String>]
2769
+ attr_accessor :args
2770
+
2771
+ # True if `args` is incomplete.
2772
+ # Corresponds to the JSON property `argumentsTruncated`
2773
+ # @return [Boolean]
2774
+ attr_accessor :arguments_truncated
2775
+ alias_method :arguments_truncated?, :arguments_truncated
2776
+
2777
+ # File information about the related binary/library used by an executable, or
2778
+ # the script used by a script interpreter
2779
+ # Corresponds to the JSON property `binary`
2780
+ # @return [Google::Apis::SecuritycenterV1::File]
2781
+ attr_accessor :binary
2782
+
2783
+ # Process environment variables.
2784
+ # Corresponds to the JSON property `envVariables`
2785
+ # @return [Array<Google::Apis::SecuritycenterV1::EnvironmentVariable>]
2786
+ attr_accessor :env_variables
2787
+
2788
+ # True if `env_variables` is incomplete.
2789
+ # Corresponds to the JSON property `envVariablesTruncated`
2790
+ # @return [Boolean]
2791
+ attr_accessor :env_variables_truncated
2792
+ alias_method :env_variables_truncated?, :env_variables_truncated
2793
+
2794
+ # File information for libraries loaded by the process.
2795
+ # Corresponds to the JSON property `libraries`
2796
+ # @return [Array<Google::Apis::SecuritycenterV1::File>]
2797
+ attr_accessor :libraries
2798
+
2799
+ # The parent process id.
2800
+ # Corresponds to the JSON property `parentPid`
2801
+ # @return [Fixnum]
2802
+ attr_accessor :parent_pid
2803
+
2804
+ # The process id.
2805
+ # Corresponds to the JSON property `pid`
2806
+ # @return [Fixnum]
2807
+ attr_accessor :pid
2808
+
2809
+ # File information about the related binary/library used by an executable, or
2810
+ # the script used by a script interpreter
2811
+ # Corresponds to the JSON property `script`
2812
+ # @return [Google::Apis::SecuritycenterV1::File]
2813
+ attr_accessor :script
2814
+
2815
+ def initialize(**args)
2816
+ update!(**args)
2817
+ end
2818
+
2819
+ # Update properties of this object
2820
+ def update!(**args)
2821
+ @args = args[:args] if args.key?(:args)
2822
+ @arguments_truncated = args[:arguments_truncated] if args.key?(:arguments_truncated)
2823
+ @binary = args[:binary] if args.key?(:binary)
2824
+ @env_variables = args[:env_variables] if args.key?(:env_variables)
2825
+ @env_variables_truncated = args[:env_variables_truncated] if args.key?(:env_variables_truncated)
2826
+ @libraries = args[:libraries] if args.key?(:libraries)
2827
+ @parent_pid = args[:parent_pid] if args.key?(:parent_pid)
2828
+ @pid = args[:pid] if args.key?(:pid)
2829
+ @script = args[:script] if args.key?(:script)
2830
+ end
2831
+ end
2832
+
2521
2833
  # Additional Links
2522
2834
  class Reference
2523
2835
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220428"
25
+ REVISION = "20220602"
26
26
  end
27
27
  end
28
28
  end
@@ -64,12 +64,30 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class Compliance
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class Connection
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class Contact
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ContactDetails
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class Cve
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -88,12 +106,36 @@ module Google
88
106
  include Google::Apis::Core::JsonObjectSupport
89
107
  end
90
108
 
109
+ class EnvironmentVariable
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ExfilResource
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Exfiltration
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
91
127
  class Expr
92
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
129
 
94
130
  include Google::Apis::Core::JsonObjectSupport
95
131
  end
96
132
 
133
+ class File
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
97
139
  class Finding
98
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
141
 
@@ -340,6 +382,12 @@ module Google
340
382
  include Google::Apis::Core::JsonObjectSupport
341
383
  end
342
384
 
385
+ class Process
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
343
391
  class Reference
344
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
393
 
@@ -498,6 +546,15 @@ module Google
498
546
  end
499
547
  end
500
548
 
549
+ class Compliance
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ collection :ids, as: 'ids'
553
+ property :standard, as: 'standard'
554
+ property :version, as: 'version'
555
+ end
556
+ end
557
+
501
558
  class Connection
502
559
  # @private
503
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -509,6 +566,21 @@ module Google
509
566
  end
510
567
  end
511
568
 
569
+ class Contact
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :email, as: 'email'
573
+ end
574
+ end
575
+
576
+ class ContactDetails
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ collection :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1::Contact, decorator: Google::Apis::SecuritycenterV1::Contact::Representation
580
+
581
+ end
582
+ end
583
+
512
584
  class Cve
513
585
  # @private
514
586
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -542,6 +614,32 @@ module Google
542
614
  end
543
615
  end
544
616
 
617
+ class EnvironmentVariable
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :name, as: 'name'
621
+ property :val, as: 'val'
622
+ end
623
+ end
624
+
625
+ class ExfilResource
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ collection :components, as: 'components'
629
+ property :name, as: 'name'
630
+ end
631
+ end
632
+
633
+ class Exfiltration
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ collection :sources, as: 'sources', class: Google::Apis::SecuritycenterV1::ExfilResource, decorator: Google::Apis::SecuritycenterV1::ExfilResource::Representation
637
+
638
+ collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1::ExfilResource, decorator: Google::Apis::SecuritycenterV1::ExfilResource::Representation
639
+
640
+ end
641
+ end
642
+
545
643
  class Expr
546
644
  # @private
547
645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,6 +650,18 @@ module Google
552
650
  end
553
651
  end
554
652
 
653
+ class File
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :contents, as: 'contents'
657
+ property :hashed_size, :numeric_string => true, as: 'hashedSize'
658
+ property :partially_hashed, as: 'partiallyHashed'
659
+ property :path, as: 'path'
660
+ property :sha256, as: 'sha256'
661
+ property :size, :numeric_string => true, as: 'size'
662
+ end
663
+ end
664
+
555
665
  class Finding
556
666
  # @private
557
667
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -559,11 +669,17 @@ module Google
559
669
 
560
670
  property :canonical_name, as: 'canonicalName'
561
671
  property :category, as: 'category'
672
+ collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1::Compliance, decorator: Google::Apis::SecuritycenterV1::Compliance::Representation
673
+
562
674
  collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1::Connection, decorator: Google::Apis::SecuritycenterV1::Connection::Representation
563
675
 
676
+ hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1::ContactDetails, decorator: Google::Apis::SecuritycenterV1::ContactDetails::Representation
677
+
564
678
  property :create_time, as: 'createTime'
565
679
  property :description, as: 'description'
566
680
  property :event_time, as: 'eventTime'
681
+ property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::Exfiltration, decorator: Google::Apis::SecuritycenterV1::Exfiltration::Representation
682
+
567
683
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
568
684
 
569
685
  property :external_uri, as: 'externalUri'
@@ -580,6 +696,8 @@ module Google
580
696
  property :name, as: 'name'
581
697
  property :next_steps, as: 'nextSteps'
582
698
  property :parent, as: 'parent'
699
+ collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1::Process, decorator: Google::Apis::SecuritycenterV1::Process::Representation
700
+
583
701
  property :resource_name, as: 'resourceName'
584
702
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1::SecurityMarks::Representation
585
703
 
@@ -997,6 +1115,25 @@ module Google
997
1115
  end
998
1116
  end
999
1117
 
1118
+ class Process
1119
+ # @private
1120
+ class Representation < Google::Apis::Core::JsonRepresentation
1121
+ collection :args, as: 'args'
1122
+ property :arguments_truncated, as: 'argumentsTruncated'
1123
+ property :binary, as: 'binary', class: Google::Apis::SecuritycenterV1::File, decorator: Google::Apis::SecuritycenterV1::File::Representation
1124
+
1125
+ collection :env_variables, as: 'envVariables', class: Google::Apis::SecuritycenterV1::EnvironmentVariable, decorator: Google::Apis::SecuritycenterV1::EnvironmentVariable::Representation
1126
+
1127
+ property :env_variables_truncated, as: 'envVariablesTruncated'
1128
+ collection :libraries, as: 'libraries', class: Google::Apis::SecuritycenterV1::File, decorator: Google::Apis::SecuritycenterV1::File::Representation
1129
+
1130
+ property :parent_pid, :numeric_string => true, as: 'parentPid'
1131
+ property :pid, :numeric_string => true, as: 'pid'
1132
+ property :script, as: 'script', class: Google::Apis::SecuritycenterV1::File, decorator: Google::Apis::SecuritycenterV1::File::Representation
1133
+
1134
+ end
1135
+ end
1136
+
1000
1137
  class Reference
1001
1138
  # @private
1002
1139
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1779,7 +1779,7 @@ module Google
1779
1779
  # Creates a notification config.
1780
1780
  # @param [String] parent
1781
1781
  # Required. Resource name of the new notification config's parent. Its format is
1782
- # "organizations/[organization_id]".
1782
+ # "organizations/[organization_id]" or "projects/[project_id]".
1783
1783
  # @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
1784
1784
  # @param [String] config_id
1785
1785
  # Required. Unique identifier provided by the client within the parent scope. It
@@ -1880,7 +1880,7 @@ module Google
1880
1880
  # Lists notification configs.
1881
1881
  # @param [String] parent
1882
1882
  # Required. Name of the organization to list notification configs. Its format is
1883
- # "organizations/[organization_id]".
1883
+ # "organizations/[organization_id]" or "projects/[project_id]".
1884
1884
  # @param [Fixnum] page_size
1885
1885
  # The maximum number of results to return in a single response. Default is 10,
1886
1886
  # minimum is 1, maximum is 1000.
@@ -2171,8 +2171,9 @@ module Google
2171
2171
 
2172
2172
  # Gets the access control policy on the specified Source.
2173
2173
  # @param [String] resource
2174
- # REQUIRED: The resource for which the policy is being requested. See the
2175
- # operation documentation for the appropriate value for this field.
2174
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2175
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2176
+ # appropriate value for this field.
2176
2177
  # @param [Google::Apis::SecuritycenterV1::GetIamPolicyRequest] get_iam_policy_request_object
2177
2178
  # @param [String] fields
2178
2179
  # Selector specifying which fields to include in a partial response.
@@ -2285,8 +2286,9 @@ module Google
2285
2286
 
2286
2287
  # Sets the access control policy on the specified Source.
2287
2288
  # @param [String] resource
2288
- # REQUIRED: The resource for which the policy is being specified. See the
2289
- # operation documentation for the appropriate value for this field.
2289
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2290
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2291
+ # appropriate value for this field.
2290
2292
  # @param [Google::Apis::SecuritycenterV1::SetIamPolicyRequest] set_iam_policy_request_object
2291
2293
  # @param [String] fields
2292
2294
  # Selector specifying which fields to include in a partial response.
@@ -2319,8 +2321,9 @@ module Google
2319
2321
 
2320
2322
  # Returns the permissions that a caller has on the specified source.
2321
2323
  # @param [String] resource
2322
- # REQUIRED: The resource for which the policy detail is being requested. See the
2323
- # operation documentation for the appropriate value for this field.
2324
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2325
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2326
+ # appropriate value for this field.
2324
2327
  # @param [Google::Apis::SecuritycenterV1::TestIamPermissionsRequest] test_iam_permissions_request_object
2325
2328
  # @param [String] fields
2326
2329
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Security Command Center API V1