google-cloud-chronicle-v1 0.8.0 → 0.9.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 +4 -4
- data/lib/google/cloud/chronicle/v1/findings_refinement_pb.rb +50 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service/client.rb +1331 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service/paths.rb +159 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service/rest/client.rb +1225 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service/rest/service_stub.rb +635 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service/rest.rb +54 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_service.rb +57 -0
- data/lib/google/cloud/chronicle/v1/findings_refinement_services_pb.rb +63 -0
- data/lib/google/cloud/chronicle/v1/rest.rb +1 -0
- data/lib/google/cloud/chronicle/v1/version.rb +1 -1
- data/lib/google/cloud/chronicle/v1.rb +1 -0
- data/proto_docs/google/cloud/chronicle/v1/findings_refinement.rb +439 -0
- metadata +11 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c07e95086d76970fc09189d949b3e2b833e48947a990c345d54faa9e1000203
|
|
4
|
+
data.tar.gz: 19d2a7dfb1be534ca94176e42db21aa3c0beb28f0bcdf1e3824199dcdb5eb636
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f893aaa00cbadfbeb238d4b2c0550d59956cc6ce1b39d8ea136db144940ae092007645123a6637b74f93ac225b4b2f517e55a67c9745eff2ee5d24499a887b4b
|
|
7
|
+
data.tar.gz: 828541141a3bac182a3f31da909274e90859843ff9420e2bc2d0c8e48a01521f67a061aa9c123ecfb4a410ba26291979a52aebcf86695ceb38ca4e9b4bcc8de2
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/chronicle/v1/findings_refinement.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/resource_pb'
|
|
11
|
+
require 'google/protobuf/field_mask_pb'
|
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
|
13
|
+
require 'google/type/interval_pb'
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
descriptor_data = "\n3google/cloud/chronicle/v1/findings_refinement.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/interval.proto\"\xd8\x03\n\x12\x46indingsRefinement\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12?\n\x04type\x18\x03 \x01(\x0e\x32\x31.google.cloud.chronicle.v1.FindingsRefinementType\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\r\n\x05query\x18\x07 \x01(\t\x12\x46\n\x0foutcome_filters\x18\x08 \x03(\x0b\x32(.google.cloud.chronicle.v1.OutcomeFilterB\x03\xe0\x41\x01:\x99\x01\xea\x41\x95\x01\n+chronicle.googleapis.com/FindingsRefinement\x12\x66projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}\"\xc1\x03\n\x1c\x46indingsRefinementDeployment\x12\x63\n\x1f\x64\x65tection_exclusion_application\x18\x05 \x01(\x0b\x32\x38.google.cloud.chronicle.v1.DetectionExclusionApplicationH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12\x10\n\x08\x61rchived\x18\x03 \x01(\x08\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\xae\x01\xea\x41\xaa\x01\n5chronicle.googleapis.com/FindingsRefinementDeployment\x12qprojects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deploymentB\x1f\n\x1d\x46indingsRefinementApplication\"\xb4\x02\n\x1d\x44\x65tectionExclusionApplication\x12G\n\x11\x63urated_rule_sets\x18\x01 \x03(\tB,\xfa\x41)\n\'chronicle.googleapis.com/CuratedRuleSet\x12@\n\rcurated_rules\x18\x02 \x03(\tB)\xfa\x41&\n$chronicle.googleapis.com/CuratedRule\x12\x34\n\x05rules\x18\x03 \x03(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/Rule\x12R\n\x19\x64\x65leted_curated_rule_sets\x18\x04 \x03(\tB/\xe0\x41\x03\xfa\x41)\n\'chronicle.googleapis.com/CuratedRuleSet\"\xd9\x01\n\x1a\x46indingsRefinementActivity\x12]\n\x1c\x64\x65tection_exclusion_activity\x18\x02 \x01(\x0b\x32\x35.google.cloud.chronicle.v1.DetectionExclusionActivityH\x00\x12P\n\x13\x66indings_refinement\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+chronicle.googleapis.com/FindingsRefinementB\n\n\x08\x41\x63tivity\"\xb4\x04\n\x1a\x44\x65tectionExclusionActivity\x12\x89\x01\n\'detection_exclusion_detector_activities\x18\x01 \x03(\x0b\x32X.google.cloud.chronicle.v1.DetectionExclusionActivity.DetectionExclusionDetectorActivity\x1a\x89\x03\n\"DetectionExclusionDetectorActivity\x12\x41\n\x0c\x63urated_rule\x18\x01 \x01(\tB)\xfa\x41&\n$chronicle.googleapis.com/CuratedRuleH\x00\x12H\n\x10\x63urated_rule_set\x18\x02 \x01(\tB,\xfa\x41)\n\'chronicle.googleapis.com/CuratedRuleSetH\x00\x12\x32\n\x04rule\x18\x05 \x01(\tB\"\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/RuleH\x00\x12P\n\x18\x64\x65leted_curated_rule_set\x18\x06 \x01(\tB,\xfa\x41)\n\'chronicle.googleapis.com/CuratedRuleSetH\x00\x12 \n\x18\x65xcluded_detection_count\x18\x03 \x01(\x03\x12\x1d\n\x15total_detection_count\x18\x04 \x01(\x03\x42\x0f\n\rdetector_name\"a\n\x1cGetFindingsRefinementRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+chronicle.googleapis.com/FindingsRefinement\"\x8c\x01\n\x1eListFindingsRefinementsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+chronicle.googleapis.com/FindingsRefinement\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n\x1fListFindingsRefinementsResponse\x12K\n\x14\x66indings_refinements\x18\x01 \x03(\x0b\x32-.google.cloud.chronicle.v1.FindingsRefinement\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb7\x01\n\x1f\x43reateFindingsRefinementRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+chronicle.googleapis.com/FindingsRefinement\x12O\n\x13\x66indings_refinement\x18\x02 \x01(\x0b\x32-.google.cloud.chronicle.v1.FindingsRefinementB\x03\xe0\x41\x02\"\xa8\x01\n\x1fUpdateFindingsRefinementRequest\x12O\n\x13\x66indings_refinement\x18\x01 \x01(\x0b\x32-.google.cloud.chronicle.v1.FindingsRefinementB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"u\n&GetFindingsRefinementDeploymentRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5chronicle.googleapis.com/FindingsRefinementDeployment\"\xc7\x01\n)UpdateFindingsRefinementDeploymentRequest\x12\x64\n\x1e\x66indings_refinement_deployment\x18\x01 \x01(\x0b\x32\x37.google.cloud.chronicle.v1.FindingsRefinementDeploymentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa1\x01\n+ListAllFindingsRefinementDeploymentsRequest\x12;\n\x08instance\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!chronicle.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\xad\x01\n,ListAllFindingsRefinementDeploymentsResponse\x12\x64\n#all_findings_refinement_deployments\x18\x01 \x03(\x0b\x32\x37.google.cloud.chronicle.v1.FindingsRefinementDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x02\n\rOutcomeFilter\x12\x1d\n\x10outcome_variable\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\routcome_value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12W\n\x17outcome_filter_operator\x18\x03 \x01(\x0e\x32\x31.google.cloud.chronicle.v1.OutcomeFilter.OperatorB\x03\xe0\x41\x02\"b\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x12\x11\n\rMATCHES_REGEX\x10\x03\x12\x10\n\x0cMATCHES_CIDR\x10\x04\"\x96\x01\n(ComputeFindingsRefinementActivityRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+chronicle.googleapis.com/FindingsRefinement\x12\'\n\x08interval\x18\x02 \x01(\x0b\x32\x15.google.type.Interval\"t\n)ComputeFindingsRefinementActivityResponse\x12G\n\x08\x61\x63tivity\x18\x01 \x01(\x0b\x32\x35.google.cloud.chronicle.v1.FindingsRefinementActivity\"\x95\x01\n-ComputeAllFindingsRefinementActivitiesRequest\x12;\n\x08instance\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!chronicle.googleapis.com/Instance\x12\'\n\x08interval\x18\x02 \x01(\x0b\x32\x15.google.type.Interval\"{\n.ComputeAllFindingsRefinementActivitiesResponse\x12I\n\nactivities\x18\x01 \x03(\x0b\x32\x35.google.cloud.chronicle.v1.FindingsRefinementActivity*[\n\x16\x46indingsRefinementType\x12(\n$FINDINGS_REFINEMENT_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x44\x45TECTION_EXCLUSION\x10\x01\x32\x99\x15\n\x19\x46indingsRefinementService\x12\xd3\x01\n\x15GetFindingsRefinement\x12\x37.google.cloud.chronicle.v1.GetFindingsRefinementRequest\x1a-.google.cloud.chronicle.v1.FindingsRefinement\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/instances/*/findingsRefinements/*}\x12\xe6\x01\n\x17ListFindingsRefinements\x12\x39.google.cloud.chronicle.v1.ListFindingsRefinementsRequest\x1a:.google.cloud.chronicle.v1.ListFindingsRefinementsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/instances/*}/findingsRefinements\x12\x84\x02\n\x18\x43reateFindingsRefinement\x12:.google.cloud.chronicle.v1.CreateFindingsRefinementRequest\x1a-.google.cloud.chronicle.v1.FindingsRefinement\"}\xda\x41\x1aparent,findings_refinement\x82\xd3\xe4\x93\x02Z\"C/v1/{parent=projects/*/locations/*/instances/*}/findingsRefinements:\x13\x66indings_refinement\x12\x9e\x02\n\x18UpdateFindingsRefinement\x12:.google.cloud.chronicle.v1.UpdateFindingsRefinementRequest\x1a-.google.cloud.chronicle.v1.FindingsRefinement\"\x96\x01\xda\x41\x1f\x66indings_refinement,update_mask\x82\xd3\xe4\x93\x02n2W/v1/{findings_refinement.name=projects/*/locations/*/instances/*/findingsRefinements/*}:\x13\x66indings_refinement\x12\xfc\x01\n\x1fGetFindingsRefinementDeployment\x12\x41.google.cloud.chronicle.v1.GetFindingsRefinementDeploymentRequest\x1a\x37.google.cloud.chronicle.v1.FindingsRefinementDeployment\"]\xda\x41\x04name\x82\xd3\xe4\x93\x02P\x12N/v1/{name=projects/*/locations/*/instances/*/findingsRefinements/*/deployment}\x12\xe9\x02\n\"UpdateFindingsRefinementDeployment\x12\x44.google.cloud.chronicle.v1.UpdateFindingsRefinementDeploymentRequest\x1a\x37.google.cloud.chronicle.v1.FindingsRefinementDeployment\"\xc3\x01\xda\x41*findings_refinement_deployment,update_mask\x82\xd3\xe4\x93\x02\x8f\x01\x32m/v1/{findings_refinement_deployment.name=projects/*/locations/*/instances/*/findingsRefinements/*/deployment}:\x1e\x66indings_refinement_deployment\x12\xa2\x02\n$ListAllFindingsRefinementDeployments\x12\x46.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsRequest\x1aG.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsResponse\"i\xda\x41\x08instance\x82\xd3\xe4\x93\x02X\x12V/v1/{instance=projects/*/locations/*/instances/*}:listAllFindingsRefinementDeployments\x12\xa7\x02\n!ComputeFindingsRefinementActivity\x12\x43.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityRequest\x1a\x44.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityResponse\"w\xda\x41\x04name\x82\xd3\xe4\x93\x02j\"e/v1/{name=projects/*/locations/*/instances/*/findingsRefinements/*}:computeFindingsRefinementActivity:\x01*\x12\xad\x02\n&ComputeAllFindingsRefinementActivities\x12H.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesRequest\x1aI.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesResponse\"n\xda\x41\x08instance\x82\xd3\xe4\x93\x02]\"X/v1/{instance=projects/*/locations/*/instances/*}:computeAllFindingsRefinementActivities:\x01*\x1a\xaa\x01\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41\x8b\x01https://www.googleapis.com/auth/chronicle,https://www.googleapis.com/auth/chronicle.readonly,https://www.googleapis.com/auth/cloud-platformB\xf8\x02\n\x1d\x63om.google.cloud.chronicle.v1B\x17\x46indingsRefinementProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1\xea\x41\xa6\x01\n\'chronicle.googleapis.com/CuratedRuleSet\x12{projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}b\x06proto3"
|
|
17
|
+
|
|
18
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Chronicle
|
|
24
|
+
module V1
|
|
25
|
+
FindingsRefinement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FindingsRefinement").msgclass
|
|
26
|
+
FindingsRefinementDeployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FindingsRefinementDeployment").msgclass
|
|
27
|
+
DetectionExclusionApplication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DetectionExclusionApplication").msgclass
|
|
28
|
+
FindingsRefinementActivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FindingsRefinementActivity").msgclass
|
|
29
|
+
DetectionExclusionActivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DetectionExclusionActivity").msgclass
|
|
30
|
+
DetectionExclusionActivity::DetectionExclusionDetectorActivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DetectionExclusionActivity.DetectionExclusionDetectorActivity").msgclass
|
|
31
|
+
GetFindingsRefinementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.GetFindingsRefinementRequest").msgclass
|
|
32
|
+
ListFindingsRefinementsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListFindingsRefinementsRequest").msgclass
|
|
33
|
+
ListFindingsRefinementsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListFindingsRefinementsResponse").msgclass
|
|
34
|
+
CreateFindingsRefinementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.CreateFindingsRefinementRequest").msgclass
|
|
35
|
+
UpdateFindingsRefinementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.UpdateFindingsRefinementRequest").msgclass
|
|
36
|
+
GetFindingsRefinementDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.GetFindingsRefinementDeploymentRequest").msgclass
|
|
37
|
+
UpdateFindingsRefinementDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.UpdateFindingsRefinementDeploymentRequest").msgclass
|
|
38
|
+
ListAllFindingsRefinementDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsRequest").msgclass
|
|
39
|
+
ListAllFindingsRefinementDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsResponse").msgclass
|
|
40
|
+
OutcomeFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.OutcomeFilter").msgclass
|
|
41
|
+
OutcomeFilter::Operator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.OutcomeFilter.Operator").enummodule
|
|
42
|
+
ComputeFindingsRefinementActivityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ComputeFindingsRefinementActivityRequest").msgclass
|
|
43
|
+
ComputeFindingsRefinementActivityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ComputeFindingsRefinementActivityResponse").msgclass
|
|
44
|
+
ComputeAllFindingsRefinementActivitiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesRequest").msgclass
|
|
45
|
+
ComputeAllFindingsRefinementActivitiesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesResponse").msgclass
|
|
46
|
+
FindingsRefinementType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FindingsRefinementType").enummodule
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|