diff --git a/protos/google/cloud/securitycenter/v1/finding.proto b/protos/google/cloud/securitycenter/v1/finding.proto index c3154ae1..787c35ca 100644 --- a/protos/google/cloud/securitycenter/v1/finding.proto +++ b/protos/google/cloud/securitycenter/v1/finding.proto @@ -272,4 +272,7 @@ message Finding { // Represents IAM bindings associated with the Finding. repeated IamBinding iam_bindings = 39; + + // Next steps associate to the finding. + string next_steps = 40; } diff --git a/protos/google/cloud/securitycenter/v1/mitre_attack.proto b/protos/google/cloud/securitycenter/v1/mitre_attack.proto index 547f6f69..bb315d5f 100644 --- a/protos/google/cloud/securitycenter/v1/mitre_attack.proto +++ b/protos/google/cloud/securitycenter/v1/mitre_attack.proto @@ -78,7 +78,7 @@ message MitreAttack { // MITRE ATT&CK techniques that can be referenced by SCC findings. // See: https://attack.mitre.org/techniques/enterprise/ - // Next ID: 30 + // Next ID: 31 enum Technique { // Unspecified value. TECHNIQUE_UNSPECIFIED = 0; @@ -169,6 +169,9 @@ message MitreAttack { // T1485 DATA_DESTRUCTION = 29; + + // T1484 + DOMAIN_POLICY_MODIFICATION = 30; } // The MITRE ATT&CK tactic most closely represented by this finding, if any. diff --git a/protos/protos.d.ts b/protos/protos.d.ts index 47725c3e..21f54e5a 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -1111,6 +1111,9 @@ export namespace google { /** Finding iamBindings */ iamBindings?: (google.cloud.securitycenter.v1.IIamBinding[]|null); + + /** Finding nextSteps */ + nextSteps?: (string|null); } /** Represents a Finding. */ @@ -1188,6 +1191,9 @@ export namespace google { /** Finding iamBindings. */ public iamBindings: google.cloud.securitycenter.v1.IIamBinding[]; + /** Finding nextSteps. */ + public nextSteps: string; + /** * Creates a new Finding instance using the specified properties. * @param [properties] Properties to set @@ -1670,7 +1676,8 @@ export namespace google { MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE = 26, EXPLOIT_PUBLIC_FACING_APPLICATION = 27, MODIFY_AUTHENTICATION_PROCESS = 28, - DATA_DESTRUCTION = 29 + DATA_DESTRUCTION = 29, + DOMAIN_POLICY_MODIFICATION = 30 } } diff --git a/protos/protos.js b/protos/protos.js index 93a50762..3beedb24 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -2712,6 +2712,7 @@ * @property {google.cloud.securitycenter.v1.IAccess|null} [access] Finding access * @property {string|null} [muteInitiator] Finding muteInitiator * @property {Array.|null} [iamBindings] Finding iamBindings + * @property {string|null} [nextSteps] Finding nextSteps */ /** @@ -2908,6 +2909,14 @@ */ Finding.prototype.iamBindings = $util.emptyArray; + /** + * Finding nextSteps. + * @member {string} nextSteps + * @memberof google.cloud.securitycenter.v1.Finding + * @instance + */ + Finding.prototype.nextSteps = ""; + /** * Creates a new Finding instance using the specified properties. * @function create @@ -2983,6 +2992,8 @@ if (message.iamBindings != null && message.iamBindings.length) for (var i = 0; i < message.iamBindings.length; ++i) $root.google.cloud.securitycenter.v1.IamBinding.encode(message.iamBindings[i], writer.uint32(/* id 39, wireType 2 =*/314).fork()).ldelim(); + if (message.nextSteps != null && Object.hasOwnProperty.call(message, "nextSteps")) + writer.uint32(/* id 40, wireType 2 =*/322).string(message.nextSteps); return writer; }; @@ -3123,6 +3134,9 @@ message.iamBindings = []; message.iamBindings.push($root.google.cloud.securitycenter.v1.IamBinding.decode(reader, reader.uint32())); break; + case 40: + message.nextSteps = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -3290,6 +3304,9 @@ return "iamBindings." + error; } } + if (message.nextSteps != null && message.hasOwnProperty("nextSteps")) + if (!$util.isString(message.nextSteps)) + return "nextSteps: string expected"; return null; }; @@ -3469,6 +3486,8 @@ message.iamBindings[i] = $root.google.cloud.securitycenter.v1.IamBinding.fromObject(object.iamBindings[i]); } } + if (object.nextSteps != null) + message.nextSteps = String(object.nextSteps); return message; }; @@ -3511,6 +3530,7 @@ object.mitreAttack = null; object.access = null; object.muteInitiator = ""; + object.nextSteps = ""; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -3566,6 +3586,8 @@ for (var j = 0; j < message.iamBindings.length; ++j) object.iamBindings[j] = $root.google.cloud.securitycenter.v1.IamBinding.toObject(message.iamBindings[j], options); } + if (message.nextSteps != null && message.hasOwnProperty("nextSteps")) + object.nextSteps = message.nextSteps; return object; }; @@ -4447,6 +4469,7 @@ case 27: case 28: case 29: + case 30: break; } } @@ -4512,6 +4535,7 @@ case 27: case 28: case 29: + case 30: break; } } @@ -4722,6 +4746,10 @@ case 29: message.primaryTechniques[i] = 29; break; + case "DOMAIN_POLICY_MODIFICATION": + case 30: + message.primaryTechniques[i] = 30; + break; } } if (object.additionalTactics) { @@ -4920,6 +4948,10 @@ case 29: message.additionalTechniques[i] = 29; break; + case "DOMAIN_POLICY_MODIFICATION": + case 30: + message.additionalTechniques[i] = 30; + break; } } if (object.version != null) @@ -5056,6 +5088,7 @@ * @property {number} EXPLOIT_PUBLIC_FACING_APPLICATION=27 EXPLOIT_PUBLIC_FACING_APPLICATION value * @property {number} MODIFY_AUTHENTICATION_PROCESS=28 MODIFY_AUTHENTICATION_PROCESS value * @property {number} DATA_DESTRUCTION=29 DATA_DESTRUCTION value + * @property {number} DOMAIN_POLICY_MODIFICATION=30 DOMAIN_POLICY_MODIFICATION value */ MitreAttack.Technique = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -5089,6 +5122,7 @@ values[valuesById[27] = "EXPLOIT_PUBLIC_FACING_APPLICATION"] = 27; values[valuesById[28] = "MODIFY_AUTHENTICATION_PROCESS"] = 28; values[valuesById[29] = "DATA_DESTRUCTION"] = 29; + values[valuesById[30] = "DOMAIN_POLICY_MODIFICATION"] = 30; return values; })(); diff --git a/protos/protos.json b/protos/protos.json index 0f008793..6d78c35d 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -367,6 +367,10 @@ "rule": "repeated", "type": "IamBinding", "id": 39 + }, + "nextSteps": { + "type": "string", + "id": 40 } }, "nested": { @@ -522,7 +526,8 @@ "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE": 26, "EXPLOIT_PUBLIC_FACING_APPLICATION": 27, "MODIFY_AUTHENTICATION_PROCESS": 28, - "DATA_DESTRUCTION": 29 + "DATA_DESTRUCTION": 29, + "DOMAIN_POLICY_MODIFICATION": 30 } } }