1717from ._serialization import Deserializer , Serializer
1818from .operations import (
1919 ActionsOperations ,
20+ AlertRuleOperations ,
2021 AlertRuleTemplatesOperations ,
2122 AlertRulesOperations ,
2223 AutomationRulesOperations ,
2324 BookmarkOperations ,
2425 BookmarkRelationsOperations ,
2526 BookmarksOperations ,
27+ ContentPackageOperations ,
28+ ContentPackagesOperations ,
29+ ContentTemplateOperations ,
30+ ContentTemplatesOperations ,
2631 DataConnectorsCheckRequirementsOperations ,
2732 DataConnectorsOperations ,
2833 DomainWhoisOperations ,
3540 FileImportsOperations ,
3641 GetOperations ,
3742 GetRecommendationsOperations ,
43+ GetTriggeredAnalyticsRuleRunsOperations ,
44+ HuntCommentsOperations ,
45+ HuntRelationsOperations ,
46+ HuntsOperations ,
3847 IPGeodataOperations ,
3948 IncidentCommentsOperations ,
4049 IncidentRelationsOperations ,
4352 MetadataOperations ,
4453 OfficeConsentsOperations ,
4554 Operations ,
55+ ProductPackageOperations ,
56+ ProductPackagesOperations ,
4657 ProductSettingsOperations ,
58+ ProductTemplateOperations ,
59+ ProductTemplatesOperations ,
4760 SecurityMLAnalyticsSettingsOperations ,
4861 SentinelOnboardingStatesOperations ,
4962 SourceControlOperations ,
5063 SourceControlsOperations ,
5164 ThreatIntelligenceIndicatorMetricsOperations ,
5265 ThreatIntelligenceIndicatorOperations ,
5366 ThreatIntelligenceIndicatorsOperations ,
67+ TriggeredAnalyticsRuleRunOperations ,
5468 UpdateOperations ,
5569 WatchlistItemsOperations ,
5670 WatchlistsOperations ,
71+ WorkspaceManagerAssignmentJobsOperations ,
72+ WorkspaceManagerAssignmentsOperations ,
73+ WorkspaceManagerConfigurationsOperations ,
74+ WorkspaceManagerGroupsOperations ,
75+ WorkspaceManagerMembersOperations ,
5776)
5877
5978if TYPE_CHECKING :
@@ -73,6 +92,8 @@ class SecurityInsights: # pylint: disable=client-accepts-api-version-keyword,to
7392 azure.mgmt.securityinsight.operations.AlertRuleTemplatesOperations
7493 :ivar automation_rules: AutomationRulesOperations operations
7594 :vartype automation_rules: azure.mgmt.securityinsight.operations.AutomationRulesOperations
95+ :ivar entities: EntitiesOperations operations
96+ :vartype entities: azure.mgmt.securityinsight.operations.EntitiesOperations
7697 :ivar incidents: IncidentsOperations operations
7798 :vartype incidents: azure.mgmt.securityinsight.operations.IncidentsOperations
7899 :ivar bookmarks: BookmarksOperations operations
@@ -81,12 +102,26 @@ class SecurityInsights: # pylint: disable=client-accepts-api-version-keyword,to
81102 :vartype bookmark_relations: azure.mgmt.securityinsight.operations.BookmarkRelationsOperations
82103 :ivar bookmark: BookmarkOperations operations
83104 :vartype bookmark: azure.mgmt.securityinsight.operations.BookmarkOperations
105+ :ivar content_packages: ContentPackagesOperations operations
106+ :vartype content_packages: azure.mgmt.securityinsight.operations.ContentPackagesOperations
107+ :ivar content_package: ContentPackageOperations operations
108+ :vartype content_package: azure.mgmt.securityinsight.operations.ContentPackageOperations
109+ :ivar product_packages: ProductPackagesOperations operations
110+ :vartype product_packages: azure.mgmt.securityinsight.operations.ProductPackagesOperations
111+ :ivar product_package: ProductPackageOperations operations
112+ :vartype product_package: azure.mgmt.securityinsight.operations.ProductPackageOperations
113+ :ivar product_templates: ProductTemplatesOperations operations
114+ :vartype product_templates: azure.mgmt.securityinsight.operations.ProductTemplatesOperations
115+ :ivar product_template: ProductTemplateOperations operations
116+ :vartype product_template: azure.mgmt.securityinsight.operations.ProductTemplateOperations
117+ :ivar content_templates: ContentTemplatesOperations operations
118+ :vartype content_templates: azure.mgmt.securityinsight.operations.ContentTemplatesOperations
119+ :ivar content_template: ContentTemplateOperations operations
120+ :vartype content_template: azure.mgmt.securityinsight.operations.ContentTemplateOperations
84121 :ivar ip_geodata: IPGeodataOperations operations
85122 :vartype ip_geodata: azure.mgmt.securityinsight.operations.IPGeodataOperations
86123 :ivar domain_whois: DomainWhoisOperations operations
87124 :vartype domain_whois: azure.mgmt.securityinsight.operations.DomainWhoisOperations
88- :ivar entities: EntitiesOperations operations
89- :vartype entities: azure.mgmt.securityinsight.operations.EntitiesOperations
90125 :ivar entities_get_timeline: EntitiesGetTimelineOperations operations
91126 :vartype entities_get_timeline:
92127 azure.mgmt.securityinsight.operations.EntitiesGetTimelineOperations
@@ -101,6 +136,12 @@ class SecurityInsights: # pylint: disable=client-accepts-api-version-keyword,to
101136 azure.mgmt.securityinsight.operations.EntityQueryTemplatesOperations
102137 :ivar file_imports: FileImportsOperations operations
103138 :vartype file_imports: azure.mgmt.securityinsight.operations.FileImportsOperations
139+ :ivar hunts: HuntsOperations operations
140+ :vartype hunts: azure.mgmt.securityinsight.operations.HuntsOperations
141+ :ivar hunt_relations: HuntRelationsOperations operations
142+ :vartype hunt_relations: azure.mgmt.securityinsight.operations.HuntRelationsOperations
143+ :ivar hunt_comments: HuntCommentsOperations operations
144+ :vartype hunt_comments: azure.mgmt.securityinsight.operations.HuntCommentsOperations
104145 :ivar incident_comments: IncidentCommentsOperations operations
105146 :vartype incident_comments: azure.mgmt.securityinsight.operations.IncidentCommentsOperations
106147 :ivar incident_relations: IncidentRelationsOperations operations
@@ -140,10 +181,33 @@ class SecurityInsights: # pylint: disable=client-accepts-api-version-keyword,to
140181 operations
141182 :vartype threat_intelligence_indicator_metrics:
142183 azure.mgmt.securityinsight.operations.ThreatIntelligenceIndicatorMetricsOperations
184+ :ivar triggered_analytics_rule_run: TriggeredAnalyticsRuleRunOperations operations
185+ :vartype triggered_analytics_rule_run:
186+ azure.mgmt.securityinsight.operations.TriggeredAnalyticsRuleRunOperations
187+ :ivar get_triggered_analytics_rule_runs: GetTriggeredAnalyticsRuleRunsOperations operations
188+ :vartype get_triggered_analytics_rule_runs:
189+ azure.mgmt.securityinsight.operations.GetTriggeredAnalyticsRuleRunsOperations
190+ :ivar alert_rule: AlertRuleOperations operations
191+ :vartype alert_rule: azure.mgmt.securityinsight.operations.AlertRuleOperations
143192 :ivar watchlists: WatchlistsOperations operations
144193 :vartype watchlists: azure.mgmt.securityinsight.operations.WatchlistsOperations
145194 :ivar watchlist_items: WatchlistItemsOperations operations
146195 :vartype watchlist_items: azure.mgmt.securityinsight.operations.WatchlistItemsOperations
196+ :ivar workspace_manager_groups: WorkspaceManagerGroupsOperations operations
197+ :vartype workspace_manager_groups:
198+ azure.mgmt.securityinsight.operations.WorkspaceManagerGroupsOperations
199+ :ivar workspace_manager_assignments: WorkspaceManagerAssignmentsOperations operations
200+ :vartype workspace_manager_assignments:
201+ azure.mgmt.securityinsight.operations.WorkspaceManagerAssignmentsOperations
202+ :ivar workspace_manager_assignment_jobs: WorkspaceManagerAssignmentJobsOperations operations
203+ :vartype workspace_manager_assignment_jobs:
204+ azure.mgmt.securityinsight.operations.WorkspaceManagerAssignmentJobsOperations
205+ :ivar workspace_manager_configurations: WorkspaceManagerConfigurationsOperations operations
206+ :vartype workspace_manager_configurations:
207+ azure.mgmt.securityinsight.operations.WorkspaceManagerConfigurationsOperations
208+ :ivar workspace_manager_members: WorkspaceManagerMembersOperations operations
209+ :vartype workspace_manager_members:
210+ azure.mgmt.securityinsight.operations.WorkspaceManagerMembersOperations
147211 :ivar data_connectors: DataConnectorsOperations operations
148212 :vartype data_connectors: azure.mgmt.securityinsight.operations.DataConnectorsOperations
149213 :ivar data_connectors_check_requirements: DataConnectorsCheckRequirementsOperations operations
@@ -157,7 +221,7 @@ class SecurityInsights: # pylint: disable=client-accepts-api-version-keyword,to
157221 :type subscription_id: str
158222 :param base_url: Service URL. Default value is "https://management.azure.com".
159223 :type base_url: str
160- :keyword api_version: Api Version. Default value is "2022-12 -01-preview". Note that overriding
224+ :keyword api_version: Api Version. Default value is "2023-04 -01-preview". Note that overriding
161225 this default value may result in unsupported behavior.
162226 :paramtype api_version: str
163227 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -172,7 +236,7 @@ def __init__(
172236 ** kwargs : Any
173237 ) -> None :
174238 self ._config = SecurityInsightsConfiguration (credential = credential , subscription_id = subscription_id , ** kwargs )
175- self ._client = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
239+ self ._client : ARMPipelineClient = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
176240
177241 client_models = {k : v for k , v in _models .__dict__ .items () if isinstance (v , type )}
178242 self ._serialize = Serializer (client_models )
@@ -186,15 +250,35 @@ def __init__(
186250 self .automation_rules = AutomationRulesOperations (
187251 self ._client , self ._config , self ._serialize , self ._deserialize
188252 )
253+ self .entities = EntitiesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
189254 self .incidents = IncidentsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
190255 self .bookmarks = BookmarksOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
191256 self .bookmark_relations = BookmarkRelationsOperations (
192257 self ._client , self ._config , self ._serialize , self ._deserialize
193258 )
194259 self .bookmark = BookmarkOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
260+ self .content_packages = ContentPackagesOperations (
261+ self ._client , self ._config , self ._serialize , self ._deserialize
262+ )
263+ self .content_package = ContentPackageOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
264+ self .product_packages = ProductPackagesOperations (
265+ self ._client , self ._config , self ._serialize , self ._deserialize
266+ )
267+ self .product_package = ProductPackageOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
268+ self .product_templates = ProductTemplatesOperations (
269+ self ._client , self ._config , self ._serialize , self ._deserialize
270+ )
271+ self .product_template = ProductTemplateOperations (
272+ self ._client , self ._config , self ._serialize , self ._deserialize
273+ )
274+ self .content_templates = ContentTemplatesOperations (
275+ self ._client , self ._config , self ._serialize , self ._deserialize
276+ )
277+ self .content_template = ContentTemplateOperations (
278+ self ._client , self ._config , self ._serialize , self ._deserialize
279+ )
195280 self .ip_geodata = IPGeodataOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
196281 self .domain_whois = DomainWhoisOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
197- self .entities = EntitiesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
198282 self .entities_get_timeline = EntitiesGetTimelineOperations (
199283 self ._client , self ._config , self ._serialize , self ._deserialize
200284 )
@@ -209,6 +293,9 @@ def __init__(
209293 self ._client , self ._config , self ._serialize , self ._deserialize
210294 )
211295 self .file_imports = FileImportsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
296+ self .hunts = HuntsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
297+ self .hunt_relations = HuntRelationsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
298+ self .hunt_comments = HuntCommentsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
212299 self .incident_comments = IncidentCommentsOperations (
213300 self ._client , self ._config , self ._serialize , self ._deserialize
214301 )
@@ -243,8 +330,30 @@ def __init__(
243330 self .threat_intelligence_indicator_metrics = ThreatIntelligenceIndicatorMetricsOperations (
244331 self ._client , self ._config , self ._serialize , self ._deserialize
245332 )
333+ self .triggered_analytics_rule_run = TriggeredAnalyticsRuleRunOperations (
334+ self ._client , self ._config , self ._serialize , self ._deserialize
335+ )
336+ self .get_triggered_analytics_rule_runs = GetTriggeredAnalyticsRuleRunsOperations (
337+ self ._client , self ._config , self ._serialize , self ._deserialize
338+ )
339+ self .alert_rule = AlertRuleOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
246340 self .watchlists = WatchlistsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
247341 self .watchlist_items = WatchlistItemsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
342+ self .workspace_manager_groups = WorkspaceManagerGroupsOperations (
343+ self ._client , self ._config , self ._serialize , self ._deserialize
344+ )
345+ self .workspace_manager_assignments = WorkspaceManagerAssignmentsOperations (
346+ self ._client , self ._config , self ._serialize , self ._deserialize
347+ )
348+ self .workspace_manager_assignment_jobs = WorkspaceManagerAssignmentJobsOperations (
349+ self ._client , self ._config , self ._serialize , self ._deserialize
350+ )
351+ self .workspace_manager_configurations = WorkspaceManagerConfigurationsOperations (
352+ self ._client , self ._config , self ._serialize , self ._deserialize
353+ )
354+ self .workspace_manager_members = WorkspaceManagerMembersOperations (
355+ self ._client , self ._config , self ._serialize , self ._deserialize
356+ )
248357 self .data_connectors = DataConnectorsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
249358 self .data_connectors_check_requirements = DataConnectorsCheckRequirementsOperations (
250359 self ._client , self ._config , self ._serialize , self ._deserialize
@@ -280,5 +389,5 @@ def __enter__(self) -> "SecurityInsights":
280389 self ._client .__enter__ ()
281390 return self
282391
283- def __exit__ (self , * exc_details ) -> None :
392+ def __exit__ (self , * exc_details : Any ) -> None :
284393 self ._client .__exit__ (* exc_details )
0 commit comments