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

Commit

Permalink
feat: Add Security Health Analytics (SHA) custom modules with Create,…
Browse files Browse the repository at this point in the history
… Get, List, Update, Delete (#447)

* 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: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWI2NzllYzAyYTdlMTZkZjlmMGU3ZjY2ZTA3N2UzNzllZmQyNWFkNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 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
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Apr 12, 2023
1 parent d981d2b commit ff0ec29
Show file tree
Hide file tree
Showing 44 changed files with 20,429 additions and 6,531 deletions.
34 changes: 34 additions & 0 deletions google/cloud/securitycenter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
from google.cloud.securitycenter_v1.types.contact_details import Contact, ContactDetails
from google.cloud.securitycenter_v1.types.container import Container
from google.cloud.securitycenter_v1.types.database import Database
from google.cloud.securitycenter_v1.types.effective_security_health_analytics_custom_module import (
EffectiveSecurityHealthAnalyticsCustomModule,
)
from google.cloud.securitycenter_v1.types.exfiltration import (
ExfilResource,
Exfiltration,
Expand Down Expand Up @@ -63,6 +66,12 @@
from google.cloud.securitycenter_v1.types.run_asset_discovery_response import (
RunAssetDiscoveryResponse,
)
from google.cloud.securitycenter_v1.types.security_health_analytics_custom_config import (
CustomConfig,
)
from google.cloud.securitycenter_v1.types.security_health_analytics_custom_module import (
SecurityHealthAnalyticsCustomModule,
)
from google.cloud.securitycenter_v1.types.security_marks import SecurityMarks
from google.cloud.securitycenter_v1.types.securitycenter_service import (
BulkMuteFindingsRequest,
Expand All @@ -71,14 +80,18 @@
CreateFindingRequest,
CreateMuteConfigRequest,
CreateNotificationConfigRequest,
CreateSecurityHealthAnalyticsCustomModuleRequest,
CreateSourceRequest,
DeleteBigQueryExportRequest,
DeleteMuteConfigRequest,
DeleteNotificationConfigRequest,
DeleteSecurityHealthAnalyticsCustomModuleRequest,
GetBigQueryExportRequest,
GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,
GetMuteConfigRequest,
GetNotificationConfigRequest,
GetOrganizationSettingsRequest,
GetSecurityHealthAnalyticsCustomModuleRequest,
GetSourceRequest,
GroupAssetsRequest,
GroupAssetsResponse,
Expand All @@ -89,12 +102,18 @@
ListAssetsResponse,
ListBigQueryExportsRequest,
ListBigQueryExportsResponse,
ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
ListFindingsRequest,
ListFindingsResponse,
ListMuteConfigsRequest,
ListMuteConfigsResponse,
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
ListSecurityHealthAnalyticsCustomModulesRequest,
ListSecurityHealthAnalyticsCustomModulesResponse,
ListSourcesRequest,
ListSourcesResponse,
RunAssetDiscoveryRequest,
Expand All @@ -106,6 +125,7 @@
UpdateMuteConfigRequest,
UpdateNotificationConfigRequest,
UpdateOrganizationSettingsRequest,
UpdateSecurityHealthAnalyticsCustomModuleRequest,
UpdateSecurityMarksRequest,
UpdateSourceRequest,
)
Expand All @@ -131,6 +151,7 @@
"ContactDetails",
"Container",
"Database",
"EffectiveSecurityHealthAnalyticsCustomModule",
"ExfilResource",
"Exfiltration",
"ExternalSystem",
Expand All @@ -151,21 +172,27 @@
"Process",
"Resource",
"RunAssetDiscoveryResponse",
"CustomConfig",
"SecurityHealthAnalyticsCustomModule",
"SecurityMarks",
"BulkMuteFindingsRequest",
"BulkMuteFindingsResponse",
"CreateBigQueryExportRequest",
"CreateFindingRequest",
"CreateMuteConfigRequest",
"CreateNotificationConfigRequest",
"CreateSecurityHealthAnalyticsCustomModuleRequest",
"CreateSourceRequest",
"DeleteBigQueryExportRequest",
"DeleteMuteConfigRequest",
"DeleteNotificationConfigRequest",
"DeleteSecurityHealthAnalyticsCustomModuleRequest",
"GetBigQueryExportRequest",
"GetEffectiveSecurityHealthAnalyticsCustomModuleRequest",
"GetMuteConfigRequest",
"GetNotificationConfigRequest",
"GetOrganizationSettingsRequest",
"GetSecurityHealthAnalyticsCustomModuleRequest",
"GetSourceRequest",
"GroupAssetsRequest",
"GroupAssetsResponse",
Expand All @@ -176,12 +203,18 @@
"ListAssetsResponse",
"ListBigQueryExportsRequest",
"ListBigQueryExportsResponse",
"ListDescendantSecurityHealthAnalyticsCustomModulesRequest",
"ListDescendantSecurityHealthAnalyticsCustomModulesResponse",
"ListEffectiveSecurityHealthAnalyticsCustomModulesRequest",
"ListEffectiveSecurityHealthAnalyticsCustomModulesResponse",
"ListFindingsRequest",
"ListFindingsResponse",
"ListMuteConfigsRequest",
"ListMuteConfigsResponse",
"ListNotificationConfigsRequest",
"ListNotificationConfigsResponse",
"ListSecurityHealthAnalyticsCustomModulesRequest",
"ListSecurityHealthAnalyticsCustomModulesResponse",
"ListSourcesRequest",
"ListSourcesResponse",
"RunAssetDiscoveryRequest",
Expand All @@ -193,6 +226,7 @@
"UpdateMuteConfigRequest",
"UpdateNotificationConfigRequest",
"UpdateOrganizationSettingsRequest",
"UpdateSecurityHealthAnalyticsCustomModuleRequest",
"UpdateSecurityMarksRequest",
"UpdateSourceRequest",
"Source",
Expand Down
32 changes: 32 additions & 0 deletions google/cloud/securitycenter_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
from .types.contact_details import Contact, ContactDetails
from .types.container import Container
from .types.database import Database
from .types.effective_security_health_analytics_custom_module import (
EffectiveSecurityHealthAnalyticsCustomModule,
)
from .types.exfiltration import ExfilResource, Exfiltration
from .types.external_system import ExternalSystem
from .types.file import File
Expand All @@ -45,6 +48,10 @@
from .types.process import EnvironmentVariable, Process
from .types.resource import Resource
from .types.run_asset_discovery_response import RunAssetDiscoveryResponse
from .types.security_health_analytics_custom_config import CustomConfig
from .types.security_health_analytics_custom_module import (
SecurityHealthAnalyticsCustomModule,
)
from .types.security_marks import SecurityMarks
from .types.securitycenter_service import (
BulkMuteFindingsRequest,
Expand All @@ -53,14 +60,18 @@
CreateFindingRequest,
CreateMuteConfigRequest,
CreateNotificationConfigRequest,
CreateSecurityHealthAnalyticsCustomModuleRequest,
CreateSourceRequest,
DeleteBigQueryExportRequest,
DeleteMuteConfigRequest,
DeleteNotificationConfigRequest,
DeleteSecurityHealthAnalyticsCustomModuleRequest,
GetBigQueryExportRequest,
GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,
GetMuteConfigRequest,
GetNotificationConfigRequest,
GetOrganizationSettingsRequest,
GetSecurityHealthAnalyticsCustomModuleRequest,
GetSourceRequest,
GroupAssetsRequest,
GroupAssetsResponse,
Expand All @@ -71,12 +82,18 @@
ListAssetsResponse,
ListBigQueryExportsRequest,
ListBigQueryExportsResponse,
ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
ListFindingsRequest,
ListFindingsResponse,
ListMuteConfigsRequest,
ListMuteConfigsResponse,
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
ListSecurityHealthAnalyticsCustomModulesRequest,
ListSecurityHealthAnalyticsCustomModulesResponse,
ListSourcesRequest,
ListSourcesResponse,
RunAssetDiscoveryRequest,
Expand All @@ -88,6 +105,7 @@
UpdateMuteConfigRequest,
UpdateNotificationConfigRequest,
UpdateOrganizationSettingsRequest,
UpdateSecurityHealthAnalyticsCustomModuleRequest,
UpdateSecurityMarksRequest,
UpdateSourceRequest,
)
Expand All @@ -110,13 +128,17 @@
"CreateFindingRequest",
"CreateMuteConfigRequest",
"CreateNotificationConfigRequest",
"CreateSecurityHealthAnalyticsCustomModuleRequest",
"CreateSourceRequest",
"CustomConfig",
"Cve",
"Cvssv3",
"Database",
"DeleteBigQueryExportRequest",
"DeleteMuteConfigRequest",
"DeleteNotificationConfigRequest",
"DeleteSecurityHealthAnalyticsCustomModuleRequest",
"EffectiveSecurityHealthAnalyticsCustomModule",
"EnvironmentVariable",
"ExfilResource",
"Exfiltration",
Expand All @@ -126,9 +148,11 @@
"Folder",
"Geolocation",
"GetBigQueryExportRequest",
"GetEffectiveSecurityHealthAnalyticsCustomModuleRequest",
"GetMuteConfigRequest",
"GetNotificationConfigRequest",
"GetOrganizationSettingsRequest",
"GetSecurityHealthAnalyticsCustomModuleRequest",
"GetSourceRequest",
"GroupAssetsRequest",
"GroupAssetsResponse",
Expand All @@ -144,12 +168,18 @@
"ListAssetsResponse",
"ListBigQueryExportsRequest",
"ListBigQueryExportsResponse",
"ListDescendantSecurityHealthAnalyticsCustomModulesRequest",
"ListDescendantSecurityHealthAnalyticsCustomModulesResponse",
"ListEffectiveSecurityHealthAnalyticsCustomModulesRequest",
"ListEffectiveSecurityHealthAnalyticsCustomModulesResponse",
"ListFindingsRequest",
"ListFindingsResponse",
"ListMuteConfigsRequest",
"ListMuteConfigsResponse",
"ListNotificationConfigsRequest",
"ListNotificationConfigsResponse",
"ListSecurityHealthAnalyticsCustomModulesRequest",
"ListSecurityHealthAnalyticsCustomModulesResponse",
"ListSourcesRequest",
"ListSourcesResponse",
"MitreAttack",
Expand All @@ -163,6 +193,7 @@
"RunAssetDiscoveryRequest",
"RunAssetDiscoveryResponse",
"SecurityCenterClient",
"SecurityHealthAnalyticsCustomModule",
"SecurityMarks",
"ServiceAccountDelegationInfo",
"SetFindingStateRequest",
Expand All @@ -174,6 +205,7 @@
"UpdateMuteConfigRequest",
"UpdateNotificationConfigRequest",
"UpdateOrganizationSettingsRequest",
"UpdateSecurityHealthAnalyticsCustomModuleRequest",
"UpdateSecurityMarksRequest",
"UpdateSourceRequest",
"Vulnerability",
Expand Down
Loading

0 comments on commit ff0ec29

Please sign in to comment.