-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [securitycenter] released securitycenter/v1 SHA custom modules …
…cloud libraries: Create, Get, List, Update, Delete (#4164) * feat: released securitycenter/v1 SHA custom modules cloud libraries: Create, Get, List, Update, Delete The Security Health Analytics (SHA) custom modules API is now released for general availability track. Create, Get, GetEffective, List, ListEffective, ListDescendant, Update, and Delete are available in the cloud client library. PiperOrigin-RevId: 523462834 Source-Link: googleapis/googleapis@b7b3dfd Source-Link: googleapis/googleapis-gen@9b679ec Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5Y2VudGVyLy5Pd2xCb3QueWFtbCIsImgiOiI5YjY3OWVjMDJhN2UxNmRmOWYwZTdmNjZlMDc3ZTM3OWVmZDI1YWQ0In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c56a74d
commit d79385f
Showing
54 changed files
with
21,820 additions
and
8,888 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/asset.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/compliance.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/connection.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/container.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
...os/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.securitycenter.v1; | ||
|
||
import "google/api/field_behavior.proto"; | ||
import "google/api/resource.proto"; | ||
import "google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto"; | ||
|
||
option csharp_namespace = "Google.Cloud.SecurityCenter.V1"; | ||
option go_package = "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "EffectiveSecurityHealthAnalyticsCustomModuleProto"; | ||
option java_package = "com.google.cloud.securitycenter.v1"; | ||
option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; | ||
option ruby_package = "Google::Cloud::SecurityCenter::V1"; | ||
|
||
// An EffectiveSecurityHealthAnalyticsCustomModule is the representation of | ||
// a Security Health Analytics custom module at a specified level of the | ||
// resource hierarchy: organization, folder, or project. If a custom module is | ||
// inherited from a parent organization or folder, the value of the | ||
// `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is | ||
// set to the value that is effective in the parent, instead of `INHERITED`. | ||
// For example, if the module is enabled in a parent organization or folder, the | ||
// effective enablement_state for the module in all child folders or projects is | ||
// also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only. | ||
message EffectiveSecurityHealthAnalyticsCustomModule { | ||
option (google.api.resource) = { | ||
type: "securitycenter.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule" | ||
pattern: "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{effective_custom_module}" | ||
pattern: "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{effective_custom_module}" | ||
pattern: "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{effective_custom_module}" | ||
}; | ||
|
||
// The enablement state of the module. | ||
enum EnablementState { | ||
// Unspecified enablement state. | ||
ENABLEMENT_STATE_UNSPECIFIED = 0; | ||
|
||
// The module is enabled at the given level. | ||
ENABLED = 1; | ||
|
||
// The module is disabled at the given level. | ||
DISABLED = 2; | ||
} | ||
|
||
// Output only. The resource name of the custom module. | ||
// Its format is | ||
// "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", | ||
// or | ||
// "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", | ||
// or | ||
// "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" | ||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Output only. The user-specified configuration for the module. | ||
CustomConfig custom_config = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Output only. The effective state of enablement for the module at the given | ||
// level of the hierarchy. | ||
EnablementState enablement_state = 3 | ||
[(google.api.field_behavior) = OUTPUT_ONLY]; | ||
|
||
// Output only. The display name for the custom module. The name must be | ||
// between 1 and 128 characters, start with a lowercase letter, and contain | ||
// alphanumeric characters or underscores only. | ||
string display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/external_system.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/file.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/folder.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/iam_binding.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.