Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: added field severity to findings (#216)
Browse files Browse the repository at this point in the history
Clients will now see a new field, severity, on findings. They will also be able to filter and group by severity on ListFinding and GroupFinding API calls.

PiperOrigin-RevId: 326514554

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Aug 13 13:43:22 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 5ad09e867a8f1faa19fbd674e51fa9c3f5fe2770
Source-Link: googleapis/googleapis@5ad09e8
  • Loading branch information
yoshi-automation committed Aug 14, 2020
1 parent 46fa555 commit 03213c8
Show file tree
Hide file tree
Showing 31 changed files with 981 additions and 693 deletions.
Expand Up @@ -301,9 +301,7 @@ public final UnaryCallable<CreateSourceRequest, Source> createSourceCallable() {
*
* @param parent Required. Resource name of the new finding's parent. Its format should be
* "organizations/[organization_id]/sources/[source_id]".
* @param findingId Required. Unique identifier provided by the client within the parent scope. It
* must be alphanumeric and less than or equal to 32 characters and greater than 0 characters
* in length.
* @param findingId Required. Unique identifier provided by the client within the parent scope.
* @param finding Required. The Finding being created. The name and security_marks will be ignored
* as they are both output only fields on this resource.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -335,9 +333,7 @@ public final Finding createFinding(SourceName parent, String findingId, Finding
*
* @param parent Required. Resource name of the new finding's parent. Its format should be
* "organizations/[organization_id]/sources/[source_id]".
* @param findingId Required. Unique identifier provided by the client within the parent scope. It
* must be alphanumeric and less than or equal to 32 characters and greater than 0 characters
* in length.
* @param findingId Required. Unique identifier provided by the client within the parent scope.
* @param finding Required. The Finding being created. The name and security_marks will be ignored
* as they are both output only fields on this resource.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down
Expand Up @@ -198,8 +198,6 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -223,8 +221,6 @@ public java.lang.String getFindingId() {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -250,8 +246,8 @@ public com.google.protobuf.ByteString getFindingIdBytes() {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -268,8 +264,8 @@ public boolean hasFinding() {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -288,8 +284,8 @@ public com.google.cloud.securitycenter.v1p1beta1.Finding getFinding() {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand Down Expand Up @@ -794,8 +790,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -818,8 +812,6 @@ public java.lang.String getFindingId() {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -842,8 +834,6 @@ public com.google.protobuf.ByteString getFindingIdBytes() {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -865,8 +855,6 @@ public Builder setFindingId(java.lang.String value) {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -884,8 +872,6 @@ public Builder clearFindingId() {
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand Down Expand Up @@ -914,8 +900,8 @@ public Builder setFindingIdBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -931,8 +917,8 @@ public boolean hasFinding() {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -954,8 +940,8 @@ public com.google.cloud.securitycenter.v1p1beta1.Finding getFinding() {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -979,8 +965,8 @@ public Builder setFinding(com.google.cloud.securitycenter.v1p1beta1.Finding valu
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -1002,8 +988,8 @@ public Builder setFinding(
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand Down Expand Up @@ -1031,8 +1017,8 @@ public Builder mergeFinding(com.google.cloud.securitycenter.v1p1beta1.Finding va
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -1054,8 +1040,8 @@ public Builder clearFinding() {
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -1071,8 +1057,8 @@ public com.google.cloud.securitycenter.v1p1beta1.Finding.Builder getFindingBuild
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -1092,8 +1078,8 @@ public com.google.cloud.securitycenter.v1p1beta1.FindingOrBuilder getFindingOrBu
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand Down
Expand Up @@ -59,8 +59,6 @@ public interface CreateFindingRequestOrBuilder
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -73,8 +71,6 @@ public interface CreateFindingRequestOrBuilder
*
* <pre>
* Required. Unique identifier provided by the client within the parent scope.
* It must be alphanumeric and less than or equal to 32 characters and
* greater than 0 characters in length.
* </pre>
*
* <code>string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -87,8 +83,8 @@ public interface CreateFindingRequestOrBuilder
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -102,8 +98,8 @@ public interface CreateFindingRequestOrBuilder
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand All @@ -117,8 +113,8 @@ public interface CreateFindingRequestOrBuilder
*
*
* <pre>
* Required. The Finding being created. The name and security_marks will be
* ignored as they are both output only fields on this resource.
* Required. The Finding being created. The name and security_marks will be ignored as
* they are both output only fields on this resource.
* </pre>
*
* <code>
Expand Down

0 comments on commit 03213c8

Please sign in to comment.