diff --git a/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1.Tests/SecurityCenterClientTest.g.cs b/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1.Tests/SecurityCenterClientTest.g.cs index c65c3e8a3de2..e17b2a5b520d 100644 --- a/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1.Tests/SecurityCenterClientTest.g.cs +++ b/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1.Tests/SecurityCenterClientTest.g.cs @@ -239,6 +239,7 @@ public void CreateFindingRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -310,6 +311,7 @@ public void CreateFindingRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -383,6 +385,7 @@ public void CreateFinding() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -454,6 +457,7 @@ public void CreateFinding() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -527,6 +531,7 @@ public void CreateFindingResourceNames() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -598,6 +603,7 @@ public void CreateFindingResourceNames() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -2641,6 +2647,7 @@ public void SetFindingStateRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -2712,6 +2719,7 @@ public void SetFindingStateRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -2785,6 +2793,7 @@ public void SetFindingState() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -2856,6 +2865,7 @@ public void SetFindingState() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -2929,6 +2939,7 @@ public void SetFindingStateResourceNames() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3000,6 +3011,7 @@ public void SetFindingStateResourceNames() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3072,6 +3084,7 @@ public void SetMuteRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3142,6 +3155,7 @@ public void SetMuteRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3214,6 +3228,7 @@ public void SetMute() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3284,6 +3299,7 @@ public void SetMute() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3356,6 +3372,7 @@ public void SetMuteResourceNames() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3426,6 +3443,7 @@ public void SetMuteResourceNames() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -3970,6 +3988,7 @@ public void UpdateFindingRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -4040,6 +4059,7 @@ public void UpdateFindingRequestObject() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -4111,6 +4131,7 @@ public void UpdateFinding() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, @@ -4180,6 +4201,7 @@ public void UpdateFinding() }, }, Compliances = { new Compliance(), }, + ParentDisplayName = "parent_display_namead2e4f0d", Description = "description2cf9da67", Exfiltration = new Exfiltration(), IamBindings = { new IamBinding(), }, diff --git a/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/Finding.g.cs b/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/Finding.g.cs index 85b90f7325ee..a2998e0cab7d 100644 --- a/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/Finding.g.cs +++ b/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/Finding.g.cs @@ -45,7 +45,7 @@ public static partial class FindingReflection { "MS9zZWN1cml0eV9tYXJrcy5wcm90bxoyZ29vZ2xlL2Nsb3VkL3NlY3VyaXR5", "Y2VudGVyL3YxL3Z1bG5lcmFiaWxpdHkucHJvdG8aHGdvb2dsZS9wcm90b2J1", "Zi9zdHJ1Y3QucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJv", - "dG8ihBQKB0ZpbmRpbmcSDAoEbmFtZRgBIAEoCRIOCgZwYXJlbnQYAiABKAkS", + "dG8iphQKB0ZpbmRpbmcSDAoEbmFtZRgBIAEoCRIOCgZwYXJlbnQYAiABKAkS", "FQoNcmVzb3VyY2VfbmFtZRgDIAEoCRI8CgVzdGF0ZRgEIAEoDjItLmdvb2ds", "ZS5jbG91ZC5zZWN1cml0eWNlbnRlci52MS5GaW5kaW5nLlN0YXRlEhAKCGNh", "dGVnb3J5GAUgASgJEhQKDGV4dGVybmFsX3VyaRgGIAEoCRJYChFzb3VyY2Vf", @@ -75,43 +75,43 @@ public static partial class FindingReflection { "c3MSTAoIY29udGFjdHMYISADKAsyNS5nb29nbGUuY2xvdWQuc2VjdXJpdHlj", "ZW50ZXIudjEuRmluZGluZy5Db250YWN0c0VudHJ5QgPgQQMSPwoLY29tcGxp", "YW5jZXMYIiADKAsyKi5nb29nbGUuY2xvdWQuc2VjdXJpdHljZW50ZXIudjEu", - "Q29tcGxpYW5jZRITCgtkZXNjcmlwdGlvbhglIAEoCRJCCgxleGZpbHRyYXRp", - "b24YJiABKAsyLC5nb29nbGUuY2xvdWQuc2VjdXJpdHljZW50ZXIudjEuRXhm", - "aWx0cmF0aW9uEkAKDGlhbV9iaW5kaW5ncxgnIAMoCzIqLmdvb2dsZS5jbG91", - "ZC5zZWN1cml0eWNlbnRlci52MS5JYW1CaW5kaW5nEhIKCm5leHRfc3RlcHMY", - "KCABKAkSPQoKY29udGFpbmVycxgqIAMoCzIpLmdvb2dsZS5jbG91ZC5zZWN1", - "cml0eWNlbnRlci52MS5Db250YWluZXISPgoKa3ViZXJuZXRlcxgrIAEoCzIq", - "Lmdvb2dsZS5jbG91ZC5zZWN1cml0eWNlbnRlci52MS5LdWJlcm5ldGVzEjoK", - "CGRhdGFiYXNlGCwgASgLMiguZ29vZ2xlLmNsb3VkLnNlY3VyaXR5Y2VudGVy", - "LnYxLkRhdGFiYXNlGk8KFVNvdXJjZVByb3BlcnRpZXNFbnRyeRILCgNrZXkY", - "ASABKAkSJQoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWU6", - "AjgBGmYKFEV4dGVybmFsU3lzdGVtc0VudHJ5EgsKA2tleRgBIAEoCRI9CgV2", - "YWx1ZRgCIAEoCzIuLmdvb2dsZS5jbG91ZC5zZWN1cml0eWNlbnRlci52MS5F", - "eHRlcm5hbFN5c3RlbToCOAEaXwoNQ29udGFjdHNFbnRyeRILCgNrZXkYASAB", - "KAkSPQoFdmFsdWUYAiABKAsyLi5nb29nbGUuY2xvdWQuc2VjdXJpdHljZW50", - "ZXIudjEuQ29udGFjdERldGFpbHM6AjgBIjgKBVN0YXRlEhUKEVNUQVRFX1VO", - "U1BFQ0lGSUVEEAASCgoGQUNUSVZFEAESDAoISU5BQ1RJVkUQAiJRCghTZXZl", - "cml0eRIYChRTRVZFUklUWV9VTlNQRUNJRklFRBAAEgwKCENSSVRJQ0FMEAES", - "CAoESElHSBACEgoKBk1FRElVTRADEgcKA0xPVxAEIkMKBE11dGUSFAoQTVVU", - "RV9VTlNQRUNJRklFRBAAEgkKBU1VVEVEEAESCwoHVU5NVVRFRBACEg0KCVVO", - "REVGSU5FRBAEIoIBCgxGaW5kaW5nQ2xhc3MSHQoZRklORElOR19DTEFTU19V", - "TlNQRUNJRklFRBAAEgoKBlRIUkVBVBABEhEKDVZVTE5FUkFCSUxJVFkQAhIU", - "ChBNSVNDT05GSU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wHq", + "QdcBCiVzZWN1cml0eWNlbnRlci5nb29nbGVhcGlzLmNvbS9GaW5kaW5nEkBv", + "cmdhbml6YXRpb25zL3tvcmdhbml6YXRpb259L3NvdXJjZXMve3NvdXJjZX0v", + "ZmluZGluZ3Mve2ZpbmRpbmd9EjRmb2xkZXJzL3tmb2xkZXJ9L3NvdXJjZXMv", + "e3NvdXJjZX0vZmluZGluZ3Mve2ZpbmRpbmd9EjZwcm9qZWN0cy97cHJvamVj", + "dH0vc291cmNlcy97c291cmNlfS9maW5kaW5ncy97ZmluZGluZ31C2gEKImNv", + "bS5nb29nbGUuY2xvdWQuc2VjdXJpdHljZW50ZXIudjFQAVpMZ29vZ2xlLmdv", + "bGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9jbG91ZC9zZWN1cml0eWNl", + "bnRlci92MTtzZWN1cml0eWNlbnRlcqoCHkdvb2dsZS5DbG91ZC5TZWN1cml0", + "eUNlbnRlci5WMcoCHkdvb2dsZVxDbG91ZFxTZWN1cml0eUNlbnRlclxWMeoC", + "IUdvb2dsZTo6Q2xvdWQ6OlNlY3VyaXR5Q2VudGVyOjpWMWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.AccessReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ComplianceReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ConnectionReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ContactDetailsReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ContainerReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.DatabaseReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ExfiltrationReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ExternalSystemReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.IamBindingReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.IndicatorReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.KubernetesReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.MitreAttackReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.ProcessReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.SecurityMarksReflection.Descriptor, global::Google.Cloud.SecurityCenter.V1.VulnerabilityReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.SecurityCenter.V1.Finding), global::Google.Cloud.SecurityCenter.V1.Finding.Parser, new[]{ "Name", "Parent", "ResourceName", "State", "Category", "ExternalUri", "SourceProperties", "SecurityMarks", "EventTime", "CreateTime", "Severity", "CanonicalName", "Mute", "FindingClass", "Indicator", "Vulnerability", "MuteUpdateTime", "ExternalSystems", "MitreAttack", "Access", "Connections", "MuteInitiator", "Processes", "Contacts", "Compliances", "Description", "Exfiltration", "IamBindings", "NextSteps", "Containers", "Kubernetes", "Database" }, null, new[]{ typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.State), typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.Severity), typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.Mute), typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.FindingClass) }, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, }) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.SecurityCenter.V1.Finding), global::Google.Cloud.SecurityCenter.V1.Finding.Parser, new[]{ "Name", "Parent", "ResourceName", "State", "Category", "ExternalUri", "SourceProperties", "SecurityMarks", "EventTime", "CreateTime", "Severity", "CanonicalName", "Mute", "FindingClass", "Indicator", "Vulnerability", "MuteUpdateTime", "ExternalSystems", "MitreAttack", "Access", "Connections", "MuteInitiator", "Processes", "Contacts", "Compliances", "ParentDisplayName", "Description", "Exfiltration", "IamBindings", "NextSteps", "Containers", "Kubernetes", "Database" }, null, new[]{ typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.State), typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.Severity), typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.Mute), typeof(global::Google.Cloud.SecurityCenter.V1.Finding.Types.FindingClass) }, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, }) })); } #endregion @@ -186,6 +186,7 @@ public sealed partial class Finding : pb::IMessage processes_ = other.processes_.Clone(); contacts_ = other.contacts_.Clone(); compliances_ = other.compliances_.Clone(); + parentDisplayName_ = other.parentDisplayName_; description_ = other.description_; exfiltration_ = other.exfiltration_ != null ? other.exfiltration_.Clone() : null; iamBindings_ = other.iamBindings_.Clone(); @@ -503,8 +504,8 @@ public sealed partial class Finding : pb::IMessage = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.SecurityCenter.V1.ExternalSystem.Parser), 178); private readonly pbc::MapField externalSystems_ = new pbc::MapField(); /// - /// Output only. Third party SIEM/SOAR fields within SCC, contains external - /// system information and external system finding fields. + /// Output only. Third party SIEM/SOAR fields within SCC, contains external system + /// information and external system finding fields. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -596,9 +597,9 @@ public sealed partial class Finding : pb::IMessage = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.SecurityCenter.V1.ContactDetails.Parser), 266); private readonly pbc::MapField contacts_ = new pbc::MapField(); /// - /// Output only. Map containing the point of contacts for the given finding. - /// The key represents the type of contact, while the value contains a list of - /// all the contacts that pertain. Please refer to: + /// Output only. Map containing the points of contact for the given finding. The key + /// represents the type of contact, while the value contains a list of all the + /// contacts that pertain. Please refer to: /// https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories /// /// { @@ -635,6 +636,22 @@ public sealed partial class Finding : pb::IMessage get { return compliances_; } } + /// Field number for the "parent_display_name" field. + public const int ParentDisplayNameFieldNumber = 36; + private string parentDisplayName_ = ""; + /// + /// Output only. The human readable display name of the finding source such as + /// "Event Threat Detection" or "Security Health Analytics". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParentDisplayName { + get { return parentDisplayName_; } + set { + parentDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Field number for the "description" field. public const int DescriptionFieldNumber = 37; private string description_ = ""; @@ -779,6 +796,7 @@ public sealed partial class Finding : pb::IMessage if(!processes_.Equals(other.processes_)) return false; if (!Contacts.Equals(other.Contacts)) return false; if(!compliances_.Equals(other.compliances_)) return false; + if (ParentDisplayName != other.ParentDisplayName) return false; if (Description != other.Description) return false; if (!object.Equals(Exfiltration, other.Exfiltration)) return false; if(!iamBindings_.Equals(other.iamBindings_)) return false; @@ -818,6 +836,7 @@ public sealed partial class Finding : pb::IMessage hash ^= processes_.GetHashCode(); hash ^= Contacts.GetHashCode(); hash ^= compliances_.GetHashCode(); + if (ParentDisplayName.Length != 0) hash ^= ParentDisplayName.GetHashCode(); if (Description.Length != 0) hash ^= Description.GetHashCode(); if (exfiltration_ != null) hash ^= Exfiltration.GetHashCode(); hash ^= iamBindings_.GetHashCode(); @@ -925,6 +944,10 @@ public sealed partial class Finding : pb::IMessage connections_.WriteTo(output, _repeated_connections_codec); contacts_.WriteTo(output, _map_contacts_codec); compliances_.WriteTo(output, _repeated_compliances_codec); + if (ParentDisplayName.Length != 0) { + output.WriteRawTag(162, 2); + output.WriteString(ParentDisplayName); + } if (Description.Length != 0) { output.WriteRawTag(170, 2); output.WriteString(Description); @@ -1039,6 +1062,10 @@ public sealed partial class Finding : pb::IMessage connections_.WriteTo(ref output, _repeated_connections_codec); contacts_.WriteTo(ref output, _map_contacts_codec); compliances_.WriteTo(ref output, _repeated_compliances_codec); + if (ParentDisplayName.Length != 0) { + output.WriteRawTag(162, 2); + output.WriteString(ParentDisplayName); + } if (Description.Length != 0) { output.WriteRawTag(170, 2); output.WriteString(Description); @@ -1134,6 +1161,9 @@ public sealed partial class Finding : pb::IMessage size += processes_.CalculateSize(_repeated_processes_codec); size += contacts_.CalculateSize(_map_contacts_codec); size += compliances_.CalculateSize(_repeated_compliances_codec); + if (ParentDisplayName.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentDisplayName); + } if (Description.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Description); } @@ -1250,6 +1280,9 @@ public sealed partial class Finding : pb::IMessage processes_.Add(other.processes_); contacts_.Add(other.contacts_); compliances_.Add(other.compliances_); + if (other.ParentDisplayName.Length != 0) { + ParentDisplayName = other.ParentDisplayName; + } if (other.Description.Length != 0) { Description = other.Description; } @@ -1415,6 +1448,10 @@ public sealed partial class Finding : pb::IMessage compliances_.AddEntriesFrom(input, _repeated_compliances_codec); break; } + case 290: { + ParentDisplayName = input.ReadString(); + break; + } case 298: { Description = input.ReadString(); break; @@ -1591,6 +1628,10 @@ public sealed partial class Finding : pb::IMessage compliances_.AddEntriesFrom(ref input, _repeated_compliances_codec); break; } + case 290: { + ParentDisplayName = input.ReadString(); + break; + } case 298: { Description = input.ReadString(); break;