google-apis-threatintelligence_v1beta 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2acd62b3a6cce4dca35ed352af28f3544dbe285c0db39654e50a602f88073599
|
|
4
|
+
data.tar.gz: 0cc44ae3f313fcca6df1c8ce8d19822c597060f0ade2ac7c888b5b8a6e589d8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 648829240747536d753d533b21c2f7b4f6fe405c43ad8fb58fe2d22f46d868b1c8316b04bd7cebeb763984c0d1f15534a34fa5ea615918096cc21b788eb64c91
|
|
7
|
+
data.tar.gz: dafd1545a1874a9bb3aacfe09b7b89f15279a4994d2bcf996428f34bec0d6a299fa2321be9d1ae8e6ff4d54f41b5ea644f779560915a5655fa7d4727d2ceb4a9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-threatintelligence_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.11.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260607
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.10.0 (2026-05-31)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20260527
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://docs.cloud.google.com/threatintelligence/) m
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -165,6 +165,11 @@ module Google
|
|
|
165
165
|
# @return [Google::Apis::ThreatintelligenceV1beta::InsiderThreatAlertDetail]
|
|
166
166
|
attr_accessor :insider_threat
|
|
167
167
|
|
|
168
|
+
# Contains details for a technology watchlist alert.
|
|
169
|
+
# Corresponds to the JSON property `targetTechnology`
|
|
170
|
+
# @return [Google::Apis::ThreatintelligenceV1beta::TargetTechnologyAlertDetail]
|
|
171
|
+
attr_accessor :target_technology
|
|
172
|
+
|
|
168
173
|
def initialize(**args)
|
|
169
174
|
update!(**args)
|
|
170
175
|
end
|
|
@@ -175,6 +180,7 @@ module Google
|
|
|
175
180
|
@detail_type = args[:detail_type] if args.key?(:detail_type)
|
|
176
181
|
@initial_access_broker = args[:initial_access_broker] if args.key?(:initial_access_broker)
|
|
177
182
|
@insider_threat = args[:insider_threat] if args.key?(:insider_threat)
|
|
183
|
+
@target_technology = args[:target_technology] if args.key?(:target_technology)
|
|
178
184
|
end
|
|
179
185
|
end
|
|
180
186
|
|
|
@@ -296,6 +302,31 @@ module Google
|
|
|
296
302
|
end
|
|
297
303
|
end
|
|
298
304
|
|
|
305
|
+
# Represents an association with a vulnerability.
|
|
306
|
+
class Association
|
|
307
|
+
include Google::Apis::Core::Hashable
|
|
308
|
+
|
|
309
|
+
# Required. The ID of the association.
|
|
310
|
+
# Corresponds to the JSON property `id`
|
|
311
|
+
# @return [String]
|
|
312
|
+
attr_accessor :id
|
|
313
|
+
|
|
314
|
+
# Required. The type of the association.
|
|
315
|
+
# Corresponds to the JSON property `type`
|
|
316
|
+
# @return [String]
|
|
317
|
+
attr_accessor :type
|
|
318
|
+
|
|
319
|
+
def initialize(**args)
|
|
320
|
+
update!(**args)
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# Update properties of this object
|
|
324
|
+
def update!(**args)
|
|
325
|
+
@id = args[:id] if args.key?(:id)
|
|
326
|
+
@type = args[:type] if args.key?(:type)
|
|
327
|
+
end
|
|
328
|
+
end
|
|
329
|
+
|
|
299
330
|
# Tracks basic CRUD facts.
|
|
300
331
|
class Audit
|
|
301
332
|
include Google::Apis::Core::Hashable
|
|
@@ -422,6 +453,11 @@ module Google
|
|
|
422
453
|
# @return [String]
|
|
423
454
|
attr_accessor :detail_type
|
|
424
455
|
|
|
456
|
+
# TechnologyWatchListConfig is the configuration for the technology watchlist.
|
|
457
|
+
# Corresponds to the JSON property `technologyWatchlist`
|
|
458
|
+
# @return [Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListConfig]
|
|
459
|
+
attr_accessor :technology_watchlist
|
|
460
|
+
|
|
425
461
|
def initialize(**args)
|
|
426
462
|
update!(**args)
|
|
427
463
|
end
|
|
@@ -430,6 +466,7 @@ module Google
|
|
|
430
466
|
def update!(**args)
|
|
431
467
|
@customer_profile = args[:customer_profile] if args.key?(:customer_profile)
|
|
432
468
|
@detail_type = args[:detail_type] if args.key?(:detail_type)
|
|
469
|
+
@technology_watchlist = args[:technology_watchlist] if args.key?(:technology_watchlist)
|
|
433
470
|
end
|
|
434
471
|
end
|
|
435
472
|
|
|
@@ -1268,6 +1305,11 @@ module Google
|
|
|
1268
1305
|
# @return [Google::Apis::ThreatintelligenceV1beta::InsiderThreatFindingDetail]
|
|
1269
1306
|
attr_accessor :insider_threat
|
|
1270
1307
|
|
|
1308
|
+
# Contains details for a technology watchlist finding.
|
|
1309
|
+
# Corresponds to the JSON property `targetTechnology`
|
|
1310
|
+
# @return [Google::Apis::ThreatintelligenceV1beta::TargetTechnologyFindingDetail]
|
|
1311
|
+
attr_accessor :target_technology
|
|
1312
|
+
|
|
1271
1313
|
def initialize(**args)
|
|
1272
1314
|
update!(**args)
|
|
1273
1315
|
end
|
|
@@ -1278,6 +1320,7 @@ module Google
|
|
|
1278
1320
|
@detail_type = args[:detail_type] if args.key?(:detail_type)
|
|
1279
1321
|
@initial_access_broker = args[:initial_access_broker] if args.key?(:initial_access_broker)
|
|
1280
1322
|
@insider_threat = args[:insider_threat] if args.key?(:insider_threat)
|
|
1323
|
+
@target_technology = args[:target_technology] if args.key?(:target_technology)
|
|
1281
1324
|
end
|
|
1282
1325
|
end
|
|
1283
1326
|
|
|
@@ -1750,6 +1793,92 @@ module Google
|
|
|
1750
1793
|
end
|
|
1751
1794
|
end
|
|
1752
1795
|
|
|
1796
|
+
# Contains details about a product fix.
|
|
1797
|
+
class ProductFix
|
|
1798
|
+
include Google::Apis::Core::Hashable
|
|
1799
|
+
|
|
1800
|
+
# Required. The name of the fix. Ex: "Magento".
|
|
1801
|
+
# Corresponds to the JSON property `displayName`
|
|
1802
|
+
# @return [String]
|
|
1803
|
+
attr_accessor :display_name
|
|
1804
|
+
|
|
1805
|
+
# Optional. The published time of the fix.
|
|
1806
|
+
# Corresponds to the JSON property `publishTime`
|
|
1807
|
+
# @return [String]
|
|
1808
|
+
attr_accessor :publish_time
|
|
1809
|
+
|
|
1810
|
+
# Required. The source ID of the fix. Ex: "APPSEC-1420".
|
|
1811
|
+
# Corresponds to the JSON property `sourceId`
|
|
1812
|
+
# @return [String]
|
|
1813
|
+
attr_accessor :source_id
|
|
1814
|
+
|
|
1815
|
+
# Optional. The URI of the fix.
|
|
1816
|
+
# Corresponds to the JSON property `uri`
|
|
1817
|
+
# @return [String]
|
|
1818
|
+
attr_accessor :uri
|
|
1819
|
+
|
|
1820
|
+
def initialize(**args)
|
|
1821
|
+
update!(**args)
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1824
|
+
# Update properties of this object
|
|
1825
|
+
def update!(**args)
|
|
1826
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1827
|
+
@publish_time = args[:publish_time] if args.key?(:publish_time)
|
|
1828
|
+
@source_id = args[:source_id] if args.key?(:source_id)
|
|
1829
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
1830
|
+
end
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1833
|
+
# Contains details about a public exploit.
|
|
1834
|
+
class PublicExploit
|
|
1835
|
+
include Google::Apis::Core::Hashable
|
|
1836
|
+
|
|
1837
|
+
# Optional. The grade of the exploit. Ex: "non-weaponized".
|
|
1838
|
+
# Corresponds to the JSON property `exploitGrade`
|
|
1839
|
+
# @return [String]
|
|
1840
|
+
attr_accessor :exploit_grade
|
|
1841
|
+
|
|
1842
|
+
# Required. The name of the exploit. Ex: "Magentounauth.php.txt".
|
|
1843
|
+
# Corresponds to the JSON property `exploitName`
|
|
1844
|
+
# @return [String]
|
|
1845
|
+
attr_accessor :exploit_name
|
|
1846
|
+
|
|
1847
|
+
# Optional. The reliability of the exploit. Ex: "Unreviewed".
|
|
1848
|
+
# Corresponds to the JSON property `exploitReliability`
|
|
1849
|
+
# @return [String]
|
|
1850
|
+
attr_accessor :exploit_reliability
|
|
1851
|
+
|
|
1852
|
+
# Optional. The release time of the exploit.
|
|
1853
|
+
# Corresponds to the JSON property `releaseTime`
|
|
1854
|
+
# @return [String]
|
|
1855
|
+
attr_accessor :release_time
|
|
1856
|
+
|
|
1857
|
+
# Optional. The size of the exploit.
|
|
1858
|
+
# Corresponds to the JSON property `sizeBytes`
|
|
1859
|
+
# @return [Fixnum]
|
|
1860
|
+
attr_accessor :size_bytes
|
|
1861
|
+
|
|
1862
|
+
# Optional. The URI of the exploit.
|
|
1863
|
+
# Corresponds to the JSON property `uri`
|
|
1864
|
+
# @return [String]
|
|
1865
|
+
attr_accessor :uri
|
|
1866
|
+
|
|
1867
|
+
def initialize(**args)
|
|
1868
|
+
update!(**args)
|
|
1869
|
+
end
|
|
1870
|
+
|
|
1871
|
+
# Update properties of this object
|
|
1872
|
+
def update!(**args)
|
|
1873
|
+
@exploit_grade = args[:exploit_grade] if args.key?(:exploit_grade)
|
|
1874
|
+
@exploit_name = args[:exploit_name] if args.key?(:exploit_name)
|
|
1875
|
+
@exploit_reliability = args[:exploit_reliability] if args.key?(:exploit_reliability)
|
|
1876
|
+
@release_time = args[:release_time] if args.key?(:release_time)
|
|
1877
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
|
1878
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
1879
|
+
end
|
|
1880
|
+
end
|
|
1881
|
+
|
|
1753
1882
|
# Structured relevance analysis for a threat.
|
|
1754
1883
|
class RelevanceAnalysis
|
|
1755
1884
|
include Google::Apis::Core::Hashable
|
|
@@ -1891,6 +2020,115 @@ module Google
|
|
|
1891
2020
|
end
|
|
1892
2021
|
end
|
|
1893
2022
|
|
|
2023
|
+
# Contains details for a technology watchlist alert.
|
|
2024
|
+
class TargetTechnologyAlertDetail
|
|
2025
|
+
include Google::Apis::Core::Hashable
|
|
2026
|
+
|
|
2027
|
+
# Contains details about a vulnerability match.
|
|
2028
|
+
# Corresponds to the JSON property `vulnerabilityMatch`
|
|
2029
|
+
# @return [Google::Apis::ThreatintelligenceV1beta::VulnerabilityMatch]
|
|
2030
|
+
attr_accessor :vulnerability_match
|
|
2031
|
+
|
|
2032
|
+
def initialize(**args)
|
|
2033
|
+
update!(**args)
|
|
2034
|
+
end
|
|
2035
|
+
|
|
2036
|
+
# Update properties of this object
|
|
2037
|
+
def update!(**args)
|
|
2038
|
+
@vulnerability_match = args[:vulnerability_match] if args.key?(:vulnerability_match)
|
|
2039
|
+
end
|
|
2040
|
+
end
|
|
2041
|
+
|
|
2042
|
+
# Contains details for a technology watchlist finding.
|
|
2043
|
+
class TargetTechnologyFindingDetail
|
|
2044
|
+
include Google::Apis::Core::Hashable
|
|
2045
|
+
|
|
2046
|
+
# Contains details about a vulnerability match.
|
|
2047
|
+
# Corresponds to the JSON property `vulnerabilityMatch`
|
|
2048
|
+
# @return [Google::Apis::ThreatintelligenceV1beta::VulnerabilityMatch]
|
|
2049
|
+
attr_accessor :vulnerability_match
|
|
2050
|
+
|
|
2051
|
+
def initialize(**args)
|
|
2052
|
+
update!(**args)
|
|
2053
|
+
end
|
|
2054
|
+
|
|
2055
|
+
# Update properties of this object
|
|
2056
|
+
def update!(**args)
|
|
2057
|
+
@vulnerability_match = args[:vulnerability_match] if args.key?(:vulnerability_match)
|
|
2058
|
+
end
|
|
2059
|
+
end
|
|
2060
|
+
|
|
2061
|
+
# TechnologyWatchListAlertThreshold contains the thresholds for alerting.
|
|
2062
|
+
class TechnologyWatchListAlertThreshold
|
|
2063
|
+
include Google::Apis::Core::Hashable
|
|
2064
|
+
|
|
2065
|
+
# Optional. The minimum CVSS score for the alert. Evaluates to CVSS v3 when
|
|
2066
|
+
# available with a fallback to v2 and v4. Ex: 7.0. Valid range is [0.0, 10.0].
|
|
2067
|
+
# Corresponds to the JSON property `cvssScoreMinimum`
|
|
2068
|
+
# @return [Float]
|
|
2069
|
+
attr_accessor :cvss_score_minimum
|
|
2070
|
+
|
|
2071
|
+
# Optional. The minimum epss score for the alert. Ex: 0.8. Valid range is [0.0,
|
|
2072
|
+
# 1.0].
|
|
2073
|
+
# Corresponds to the JSON property `epssScoreMinimum`
|
|
2074
|
+
# @return [Float]
|
|
2075
|
+
attr_accessor :epss_score_minimum
|
|
2076
|
+
|
|
2077
|
+
# Optional. The exploitation states of the alert.
|
|
2078
|
+
# Corresponds to the JSON property `exploitationStates`
|
|
2079
|
+
# @return [Array<String>]
|
|
2080
|
+
attr_accessor :exploitation_states
|
|
2081
|
+
|
|
2082
|
+
# Optional. The minimum priority for the alert.
|
|
2083
|
+
# Corresponds to the JSON property `priorityMinimum`
|
|
2084
|
+
# @return [String]
|
|
2085
|
+
attr_accessor :priority_minimum
|
|
2086
|
+
|
|
2087
|
+
# Optional. The minimum risk rating for the alert.
|
|
2088
|
+
# Corresponds to the JSON property `riskRatingMinimum`
|
|
2089
|
+
# @return [String]
|
|
2090
|
+
attr_accessor :risk_rating_minimum
|
|
2091
|
+
|
|
2092
|
+
def initialize(**args)
|
|
2093
|
+
update!(**args)
|
|
2094
|
+
end
|
|
2095
|
+
|
|
2096
|
+
# Update properties of this object
|
|
2097
|
+
def update!(**args)
|
|
2098
|
+
@cvss_score_minimum = args[:cvss_score_minimum] if args.key?(:cvss_score_minimum)
|
|
2099
|
+
@epss_score_minimum = args[:epss_score_minimum] if args.key?(:epss_score_minimum)
|
|
2100
|
+
@exploitation_states = args[:exploitation_states] if args.key?(:exploitation_states)
|
|
2101
|
+
@priority_minimum = args[:priority_minimum] if args.key?(:priority_minimum)
|
|
2102
|
+
@risk_rating_minimum = args[:risk_rating_minimum] if args.key?(:risk_rating_minimum)
|
|
2103
|
+
end
|
|
2104
|
+
end
|
|
2105
|
+
|
|
2106
|
+
# TechnologyWatchListConfig is the configuration for the technology watchlist.
|
|
2107
|
+
class TechnologyWatchListConfig
|
|
2108
|
+
include Google::Apis::Core::Hashable
|
|
2109
|
+
|
|
2110
|
+
# TechnologyWatchListAlertThreshold contains the thresholds for alerting.
|
|
2111
|
+
# Corresponds to the JSON property `alertThreshold`
|
|
2112
|
+
# @return [Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListAlertThreshold]
|
|
2113
|
+
attr_accessor :alert_threshold
|
|
2114
|
+
|
|
2115
|
+
# Optional. List of vendor, technology or cpe fingerprint. example: Microsoft
|
|
2116
|
+
# office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*
|
|
2117
|
+
# Corresponds to the JSON property `technologies`
|
|
2118
|
+
# @return [Array<String>]
|
|
2119
|
+
attr_accessor :technologies
|
|
2120
|
+
|
|
2121
|
+
def initialize(**args)
|
|
2122
|
+
update!(**args)
|
|
2123
|
+
end
|
|
2124
|
+
|
|
2125
|
+
# Update properties of this object
|
|
2126
|
+
def update!(**args)
|
|
2127
|
+
@alert_threshold = args[:alert_threshold] if args.key?(:alert_threshold)
|
|
2128
|
+
@technologies = args[:technologies] if args.key?(:technologies)
|
|
2129
|
+
end
|
|
2130
|
+
end
|
|
2131
|
+
|
|
1894
2132
|
# Response message for UpsertConfiguration.
|
|
1895
2133
|
class UpsertConfigurationResponse
|
|
1896
2134
|
include Google::Apis::Core::Hashable
|
|
@@ -1909,6 +2147,129 @@ module Google
|
|
|
1909
2147
|
@configuration = args[:configuration] if args.key?(:configuration)
|
|
1910
2148
|
end
|
|
1911
2149
|
end
|
|
2150
|
+
|
|
2151
|
+
# Contains details about a vulnerability match.
|
|
2152
|
+
class VulnerabilityMatch
|
|
2153
|
+
include Google::Apis::Core::Hashable
|
|
2154
|
+
|
|
2155
|
+
# Optional. Associated threat actors, malware, etc. This is embedded as a
|
|
2156
|
+
# snapshot because the details of the association at the time of the
|
|
2157
|
+
# vulnerability match are important for context and reporting.
|
|
2158
|
+
# Corresponds to the JSON property `associations`
|
|
2159
|
+
# @return [Array<Google::Apis::ThreatintelligenceV1beta::Association>]
|
|
2160
|
+
attr_accessor :associations
|
|
2161
|
+
|
|
2162
|
+
# Required. The collection ID of the vulnerability. Ex: "vulnerability--cve-2025-
|
|
2163
|
+
# 9876".
|
|
2164
|
+
# Corresponds to the JSON property `collectionId`
|
|
2165
|
+
# @return [String]
|
|
2166
|
+
attr_accessor :collection_id
|
|
2167
|
+
|
|
2168
|
+
# Required. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See https://
|
|
2169
|
+
# www.cve.org/ for more information.
|
|
2170
|
+
# Corresponds to the JSON property `cveId`
|
|
2171
|
+
# @return [String]
|
|
2172
|
+
attr_accessor :cve_id
|
|
2173
|
+
|
|
2174
|
+
# Required. The CVSS score of the vulnerability. Evaluates to CVSS v3 when
|
|
2175
|
+
# available with a fallback to v2 and v4. Example: 6.4.
|
|
2176
|
+
# Corresponds to the JSON property `cvss3Score`
|
|
2177
|
+
# @return [Float]
|
|
2178
|
+
attr_accessor :cvss3_score
|
|
2179
|
+
|
|
2180
|
+
# Required. A description of the vulnerability.
|
|
2181
|
+
# Corresponds to the JSON property `description`
|
|
2182
|
+
# @return [String]
|
|
2183
|
+
attr_accessor :description
|
|
2184
|
+
|
|
2185
|
+
# Optional. The disclosure time of the vulnerability.
|
|
2186
|
+
# Corresponds to the JSON property `disclosureTime`
|
|
2187
|
+
# @return [String]
|
|
2188
|
+
attr_accessor :disclosure_time
|
|
2189
|
+
|
|
2190
|
+
# Optional. The EPSS score, representing the probability of exploitation.
|
|
2191
|
+
# Example: 0.87.
|
|
2192
|
+
# Corresponds to the JSON property `epssScore`
|
|
2193
|
+
# @return [Float]
|
|
2194
|
+
attr_accessor :epss_score
|
|
2195
|
+
|
|
2196
|
+
# Optional. List of exploitation consequences for the vulnerability.
|
|
2197
|
+
# Corresponds to the JSON property `exploitationConsequences`
|
|
2198
|
+
# @return [Array<String>]
|
|
2199
|
+
attr_accessor :exploitation_consequences
|
|
2200
|
+
|
|
2201
|
+
# Required. The exploitation state of the vulnerability.
|
|
2202
|
+
# Corresponds to the JSON property `exploitationState`
|
|
2203
|
+
# @return [String]
|
|
2204
|
+
attr_accessor :exploitation_state
|
|
2205
|
+
|
|
2206
|
+
# Optional. List of exploitation vectors for the vulnerability.
|
|
2207
|
+
# Corresponds to the JSON property `exploitationVectors`
|
|
2208
|
+
# @return [Array<String>]
|
|
2209
|
+
attr_accessor :exploitation_vectors
|
|
2210
|
+
|
|
2211
|
+
# Optional. The specific technologies from the configured watchlist that
|
|
2212
|
+
# triggered the match. Ex: "Apache Struts".
|
|
2213
|
+
# Corresponds to the JSON property `matchedTechnologies`
|
|
2214
|
+
# @return [Array<String>]
|
|
2215
|
+
attr_accessor :matched_technologies
|
|
2216
|
+
|
|
2217
|
+
# Optional. The priority level of the vulnerability data. Ex: "P1".
|
|
2218
|
+
# Corresponds to the JSON property `priority`
|
|
2219
|
+
# @return [String]
|
|
2220
|
+
attr_accessor :priority
|
|
2221
|
+
|
|
2222
|
+
# Optional. List of product fixes for the vulnerability.
|
|
2223
|
+
# Corresponds to the JSON property `productFixes`
|
|
2224
|
+
# @return [Array<Google::Apis::ThreatintelligenceV1beta::ProductFix>]
|
|
2225
|
+
attr_accessor :product_fixes
|
|
2226
|
+
|
|
2227
|
+
# Optional. List of public exploits.
|
|
2228
|
+
# Corresponds to the JSON property `publicExploits`
|
|
2229
|
+
# @return [Array<Google::Apis::ThreatintelligenceV1beta::PublicExploit>]
|
|
2230
|
+
attr_accessor :public_exploits
|
|
2231
|
+
|
|
2232
|
+
# Output only. Whether a publicly available exploit exists.
|
|
2233
|
+
# Corresponds to the JSON property `publiclyAvailableExploit`
|
|
2234
|
+
# @return [Boolean]
|
|
2235
|
+
attr_accessor :publicly_available_exploit
|
|
2236
|
+
alias_method :publicly_available_exploit?, :publicly_available_exploit
|
|
2237
|
+
|
|
2238
|
+
# Required. The risk rating of the vulnerability.
|
|
2239
|
+
# Corresponds to the JSON property `riskRating`
|
|
2240
|
+
# @return [String]
|
|
2241
|
+
attr_accessor :risk_rating
|
|
2242
|
+
|
|
2243
|
+
# Required. All technologies affected by the vulnerability. Ex: "Apache Struts".
|
|
2244
|
+
# Corresponds to the JSON property `technologies`
|
|
2245
|
+
# @return [Array<String>]
|
|
2246
|
+
attr_accessor :technologies
|
|
2247
|
+
|
|
2248
|
+
def initialize(**args)
|
|
2249
|
+
update!(**args)
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2252
|
+
# Update properties of this object
|
|
2253
|
+
def update!(**args)
|
|
2254
|
+
@associations = args[:associations] if args.key?(:associations)
|
|
2255
|
+
@collection_id = args[:collection_id] if args.key?(:collection_id)
|
|
2256
|
+
@cve_id = args[:cve_id] if args.key?(:cve_id)
|
|
2257
|
+
@cvss3_score = args[:cvss3_score] if args.key?(:cvss3_score)
|
|
2258
|
+
@description = args[:description] if args.key?(:description)
|
|
2259
|
+
@disclosure_time = args[:disclosure_time] if args.key?(:disclosure_time)
|
|
2260
|
+
@epss_score = args[:epss_score] if args.key?(:epss_score)
|
|
2261
|
+
@exploitation_consequences = args[:exploitation_consequences] if args.key?(:exploitation_consequences)
|
|
2262
|
+
@exploitation_state = args[:exploitation_state] if args.key?(:exploitation_state)
|
|
2263
|
+
@exploitation_vectors = args[:exploitation_vectors] if args.key?(:exploitation_vectors)
|
|
2264
|
+
@matched_technologies = args[:matched_technologies] if args.key?(:matched_technologies)
|
|
2265
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
2266
|
+
@product_fixes = args[:product_fixes] if args.key?(:product_fixes)
|
|
2267
|
+
@public_exploits = args[:public_exploits] if args.key?(:public_exploits)
|
|
2268
|
+
@publicly_available_exploit = args[:publicly_available_exploit] if args.key?(:publicly_available_exploit)
|
|
2269
|
+
@risk_rating = args[:risk_rating] if args.key?(:risk_rating)
|
|
2270
|
+
@technologies = args[:technologies] if args.key?(:technologies)
|
|
2271
|
+
end
|
|
2272
|
+
end
|
|
1912
2273
|
end
|
|
1913
2274
|
end
|
|
1914
2275
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ThreatintelligenceV1beta
|
|
18
18
|
# Version of the google-apis-threatintelligence_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.11.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260607"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
class Association
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
49
55
|
class Audit
|
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
57
|
|
|
@@ -310,6 +316,18 @@ module Google
|
|
|
310
316
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
317
|
end
|
|
312
318
|
|
|
319
|
+
class ProductFix
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class PublicExploit
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
313
331
|
class RelevanceAnalysis
|
|
314
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
333
|
|
|
@@ -334,12 +352,42 @@ module Google
|
|
|
334
352
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
353
|
end
|
|
336
354
|
|
|
355
|
+
class TargetTechnologyAlertDetail
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
class TargetTechnologyFindingDetail
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
class TechnologyWatchListAlertThreshold
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
class TechnologyWatchListConfig
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
337
379
|
class UpsertConfigurationResponse
|
|
338
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
381
|
|
|
340
382
|
include Google::Apis::Core::JsonObjectSupport
|
|
341
383
|
end
|
|
342
384
|
|
|
385
|
+
class VulnerabilityMatch
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
343
391
|
class Alert
|
|
344
392
|
# @private
|
|
345
393
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -377,6 +425,8 @@ module Google
|
|
|
377
425
|
|
|
378
426
|
property :insider_threat, as: 'insiderThreat', class: Google::Apis::ThreatintelligenceV1beta::InsiderThreatAlertDetail, decorator: Google::Apis::ThreatintelligenceV1beta::InsiderThreatAlertDetail::Representation
|
|
379
427
|
|
|
428
|
+
property :target_technology, as: 'targetTechnology', class: Google::Apis::ThreatintelligenceV1beta::TargetTechnologyAlertDetail, decorator: Google::Apis::ThreatintelligenceV1beta::TargetTechnologyAlertDetail::Representation
|
|
429
|
+
|
|
380
430
|
end
|
|
381
431
|
end
|
|
382
432
|
|
|
@@ -408,6 +458,14 @@ module Google
|
|
|
408
458
|
end
|
|
409
459
|
end
|
|
410
460
|
|
|
461
|
+
class Association
|
|
462
|
+
# @private
|
|
463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
464
|
+
property :id, as: 'id'
|
|
465
|
+
property :type, as: 'type'
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
411
469
|
class Audit
|
|
412
470
|
# @private
|
|
413
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -441,6 +499,8 @@ module Google
|
|
|
441
499
|
property :customer_profile, as: 'customerProfile', class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig, decorator: Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig::Representation
|
|
442
500
|
|
|
443
501
|
property :detail_type, as: 'detailType'
|
|
502
|
+
property :technology_watchlist, as: 'technologyWatchlist', class: Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListConfig, decorator: Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListConfig::Representation
|
|
503
|
+
|
|
444
504
|
end
|
|
445
505
|
end
|
|
446
506
|
|
|
@@ -690,6 +750,8 @@ module Google
|
|
|
690
750
|
|
|
691
751
|
property :insider_threat, as: 'insiderThreat', class: Google::Apis::ThreatintelligenceV1beta::InsiderThreatFindingDetail, decorator: Google::Apis::ThreatintelligenceV1beta::InsiderThreatFindingDetail::Representation
|
|
692
752
|
|
|
753
|
+
property :target_technology, as: 'targetTechnology', class: Google::Apis::ThreatintelligenceV1beta::TargetTechnologyFindingDetail, decorator: Google::Apis::ThreatintelligenceV1beta::TargetTechnologyFindingDetail::Representation
|
|
754
|
+
|
|
693
755
|
end
|
|
694
756
|
end
|
|
695
757
|
|
|
@@ -847,6 +909,28 @@ module Google
|
|
|
847
909
|
end
|
|
848
910
|
end
|
|
849
911
|
|
|
912
|
+
class ProductFix
|
|
913
|
+
# @private
|
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
915
|
+
property :display_name, as: 'displayName'
|
|
916
|
+
property :publish_time, as: 'publishTime'
|
|
917
|
+
property :source_id, as: 'sourceId'
|
|
918
|
+
property :uri, as: 'uri'
|
|
919
|
+
end
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
class PublicExploit
|
|
923
|
+
# @private
|
|
924
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
925
|
+
property :exploit_grade, as: 'exploitGrade'
|
|
926
|
+
property :exploit_name, as: 'exploitName'
|
|
927
|
+
property :exploit_reliability, as: 'exploitReliability'
|
|
928
|
+
property :release_time, as: 'releaseTime'
|
|
929
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
|
930
|
+
property :uri, as: 'uri'
|
|
931
|
+
end
|
|
932
|
+
end
|
|
933
|
+
|
|
850
934
|
class RelevanceAnalysis
|
|
851
935
|
# @private
|
|
852
936
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -886,12 +970,74 @@ module Google
|
|
|
886
970
|
end
|
|
887
971
|
end
|
|
888
972
|
|
|
973
|
+
class TargetTechnologyAlertDetail
|
|
974
|
+
# @private
|
|
975
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
976
|
+
property :vulnerability_match, as: 'vulnerabilityMatch', class: Google::Apis::ThreatintelligenceV1beta::VulnerabilityMatch, decorator: Google::Apis::ThreatintelligenceV1beta::VulnerabilityMatch::Representation
|
|
977
|
+
|
|
978
|
+
end
|
|
979
|
+
end
|
|
980
|
+
|
|
981
|
+
class TargetTechnologyFindingDetail
|
|
982
|
+
# @private
|
|
983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
984
|
+
property :vulnerability_match, as: 'vulnerabilityMatch', class: Google::Apis::ThreatintelligenceV1beta::VulnerabilityMatch, decorator: Google::Apis::ThreatintelligenceV1beta::VulnerabilityMatch::Representation
|
|
985
|
+
|
|
986
|
+
end
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
class TechnologyWatchListAlertThreshold
|
|
990
|
+
# @private
|
|
991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
992
|
+
property :cvss_score_minimum, as: 'cvssScoreMinimum'
|
|
993
|
+
property :epss_score_minimum, as: 'epssScoreMinimum'
|
|
994
|
+
collection :exploitation_states, as: 'exploitationStates'
|
|
995
|
+
property :priority_minimum, as: 'priorityMinimum'
|
|
996
|
+
property :risk_rating_minimum, as: 'riskRatingMinimum'
|
|
997
|
+
end
|
|
998
|
+
end
|
|
999
|
+
|
|
1000
|
+
class TechnologyWatchListConfig
|
|
1001
|
+
# @private
|
|
1002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1003
|
+
property :alert_threshold, as: 'alertThreshold', class: Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListAlertThreshold, decorator: Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListAlertThreshold::Representation
|
|
1004
|
+
|
|
1005
|
+
collection :technologies, as: 'technologies'
|
|
1006
|
+
end
|
|
1007
|
+
end
|
|
1008
|
+
|
|
889
1009
|
class UpsertConfigurationResponse
|
|
890
1010
|
# @private
|
|
891
1011
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
892
1012
|
property :configuration, as: 'configuration'
|
|
893
1013
|
end
|
|
894
1014
|
end
|
|
1015
|
+
|
|
1016
|
+
class VulnerabilityMatch
|
|
1017
|
+
# @private
|
|
1018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1019
|
+
collection :associations, as: 'associations', class: Google::Apis::ThreatintelligenceV1beta::Association, decorator: Google::Apis::ThreatintelligenceV1beta::Association::Representation
|
|
1020
|
+
|
|
1021
|
+
property :collection_id, as: 'collectionId'
|
|
1022
|
+
property :cve_id, as: 'cveId'
|
|
1023
|
+
property :cvss3_score, as: 'cvss3Score'
|
|
1024
|
+
property :description, as: 'description'
|
|
1025
|
+
property :disclosure_time, as: 'disclosureTime'
|
|
1026
|
+
property :epss_score, as: 'epssScore'
|
|
1027
|
+
collection :exploitation_consequences, as: 'exploitationConsequences'
|
|
1028
|
+
property :exploitation_state, as: 'exploitationState'
|
|
1029
|
+
collection :exploitation_vectors, as: 'exploitationVectors'
|
|
1030
|
+
collection :matched_technologies, as: 'matchedTechnologies'
|
|
1031
|
+
property :priority, as: 'priority'
|
|
1032
|
+
collection :product_fixes, as: 'productFixes', class: Google::Apis::ThreatintelligenceV1beta::ProductFix, decorator: Google::Apis::ThreatintelligenceV1beta::ProductFix::Representation
|
|
1033
|
+
|
|
1034
|
+
collection :public_exploits, as: 'publicExploits', class: Google::Apis::ThreatintelligenceV1beta::PublicExploit, decorator: Google::Apis::ThreatintelligenceV1beta::PublicExploit::Representation
|
|
1035
|
+
|
|
1036
|
+
property :publicly_available_exploit, as: 'publiclyAvailableExploit'
|
|
1037
|
+
property :risk_rating, as: 'riskRating'
|
|
1038
|
+
collection :technologies, as: 'technologies'
|
|
1039
|
+
end
|
|
1040
|
+
end
|
|
895
1041
|
end
|
|
896
1042
|
end
|
|
897
1043
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-threatintelligence_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-threatintelligence_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-threatintelligence_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-threatintelligence_v1beta/v0.11.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-threatintelligence_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|