Skip to content

Commit

Permalink
CodeGen from PR 15657 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f50c643b5f0a961c489a76e5e11b9380c3a12253 into f207d70f06834898e161fe36c9d4dfc34bc3b4d3
  • Loading branch information
SDKAuto committed Aug 17, 2021
1 parent 2955a12 commit 9fabaf0
Show file tree
Hide file tree
Showing 48 changed files with 19,345 additions and 5,056 deletions.
3 changes: 2 additions & 1 deletion src/securityinsight/azext_sentinel/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"azext.minCliCoreVersion": "2.11.0"
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.15.0"
}
46 changes: 31 additions & 15 deletions src/securityinsight/azext_sentinel/generated/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,50 @@

def cf_sentinel_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.securityinsight import SecurityInsights
from azext_sentinel.vendored_sdks.securityinsight import SecurityInsights
return get_mgmt_service_client(cli_ctx,
SecurityInsights)


def cf_alert_rule(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).alert_rule
def cf_incident(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).incidents


def cf_action(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).action
def cf_incident_comment(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).incident_comments


def cf_alert_rule_template(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).alert_rule_template
def cf_incident_relation(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).incident_relations


def cf_bookmark(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).bookmark
def cf_threat_intelligence_indicator(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).threat_intelligence_indicator


def cf_data_connector(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).data_connector
def cf_threat_intelligence_indicator(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).threat_intelligence_indicators


def cf_incident(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).incident
def cf_threat_intelligence_indicator_metric(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).threat_intelligence_indicator_metrics


def cf_incident_comment(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).incident_comment
def cf_watchlist(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).watchlists


def cf_watchlist_item(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).watchlist_items


def cf_alert_rule(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).alert_rules


def cf_action(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).actions


def cf_alert_rule_template(cli_ctx, *_):
return cf_sentinel_cl(cli_ctx).alert_rule_templates
Loading

0 comments on commit 9fabaf0

Please sign in to comment.