azure_mgmt_security_insights 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights.rb +254 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/actions.rb +255 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/alert_rule_templates.rb +365 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/alert_rules.rb +966 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/bookmark_operations.rb +154 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/bookmark_relations.rb +651 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/bookmarks.rb +602 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/case_comments.rb +155 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/case_relations.rb +652 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/cases.rb +752 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/cases_aggregations.rb +140 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/comments.rb +287 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/data_connectors.rb +603 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/data_connectors_check_requirements_operations.rb +150 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entities.rb +492 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entities_relations.rb +287 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entity_queries.rb +364 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entity_relations.rb +144 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/incident_comments.rb +652 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/incident_relations.rb +651 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/incidents.rb +976 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aadcheck_requirements.rb +61 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aaddata_connector.rb +109 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aatpcheck_requirements.rb +62 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aatpdata_connector.rb +109 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb +261 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/action_properties_base.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/action_request.rb +93 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/action_response.rb +96 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/actions_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb +82 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations_kind.rb +49 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule.rb +95 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_kind.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_kind1.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_template.rb +84 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_template_data_source.rb +66 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_template_properties_base.rb +115 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_templates_list.rb +101 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rules_list.rb +101 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_severity.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_status.rb +19 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alerts_data_type_of_data_connector.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alerts_data_type_of_data_connector_alerts.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/asccheck_requirements.rb +62 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ascdata_connector.rb +110 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/attack_tactic.rb +27 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_check_requirements.rb +50 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector.rb +110 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types_logs.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/azure_resource_entity.rb +136 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb +191 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_expand_parameters.rb +71 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_expand_response.rb +60 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_expand_response_value.rb +57 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_comment.rb +98 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_comment_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_model.rb +293 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_relation.rb +123 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_relation_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_severity.rb +19 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_status.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb +103 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation_by_severity_properties.rb +96 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation_by_status_properties.rb +83 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/client_info.rb +79 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/close_reason.rb +19 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb +150 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/confidence_level.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/confidence_score_status.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb +102 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_authorization_state.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_data_type_common.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_kind.rb +24 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_kind1.rb +51 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_license_state.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_list.rb +101 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_requirements_state.rb +59 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_tenant_id.rb +46 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_with_alerts_properties.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connectors_check_requirements.rb +54 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_type_state.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb +170 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/elevation_token.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entities_matching_method.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb +98 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_analytics.rb +97 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_common_properties.rb +70 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_expand_parameters.rb +71 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_expand_response.rb +60 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_expand_response_value.rb +57 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_kind.rb +31 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_kind1.rb +50 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_list.rb +101 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_query.rb +159 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_query_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_type.rb +31 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/event_grouping_aggregation_kind.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/event_grouping_settings.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/expansion_result_aggregation.rb +85 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/expansion_results_metadata.rb +56 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/eyes_on.rb +97 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/file_entity.rb +170 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/file_hash_algorithm.rb +19 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/file_hash_entity.rb +137 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/fusion_alert_rule.rb +179 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb +188 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/geo_location.rb +126 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb +101 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_entity_type.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/host_entity.rb +224 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb +244 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb +291 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb +111 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_alert_list.rb +55 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_bookmark_list.rb +55 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_classification.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_classification_reason.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_comment.rb +118 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_comment_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_configuration.rb +60 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_entities_response.rb +78 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_entities_results_metadata.rb +63 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_info.rb +80 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label.rb +59 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label_type.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb +80 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_severity.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_status.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb +218 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ip_entity.rb +160 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/kill_chain_intent.rb +28 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/malware_entity.rb +178 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcascheck_requirements.rb +62 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector.rb +109 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector_data_types.rb +58 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector_data_types_discovery_logs.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mdatpcheck_requirements.rb +62 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mdatpdata_connector.rb +110 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb +221 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_common_properties.rb +112 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_template.rb +234 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_product_name.rb +21 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_atpcheck_requirements.rb +62 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_atpdata_connector.rb +110 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_consent.rb +85 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_consent_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector.rb +109 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types.rb +73 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_exchange.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_share_point.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_teams.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/operation.rb +58 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/operation_display.rb +79 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/operations_list.rb +98 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/osfamily.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/process_entity.rb +221 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_hive.rb +24 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_key_entity.rb +141 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_value_entity.rb +163 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_value_kind.rb +22 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation.rb +117 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_base.rb +86 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_node.rb +89 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_node_kind.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_types.rb +15 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relations_model_input.rb +114 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/resource.rb +80 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/resource_with_etag.rb +82 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule.rb +285 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_common_properties.rb +119 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_template.rb +260 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert.rb +462 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert_properties_confidence_reasons_item.rb +60 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_group_entity.rb +150 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/setting_kind.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/setting_list.rb +57 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/settings.rb +95 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/settings_kind.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/source.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/template_status.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb +108 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_append_tags_request_body.rb +54 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_arm_stix_query.rb +227 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_arm_stix_sort_by.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_arm_stix_sort_by1.rb +58 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_granular_marking_model.rb +76 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_indicator_model.rb +410 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_indicator_without_read_only_fields.rb +382 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_kill_chain_phase.rb +57 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric.rb +106 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_entity.rb +57 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_resource.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_resource_list.rb +56 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource.rb +93 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource_kind.rb +15 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource_kind1.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource_list.rb +102 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_check_requirements.rb +61 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb +175 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector_data_types.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector_data_types_taxii_client.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ticheck_requirements.rb +61 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/tidata_connector.rb +109 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/tidata_connector_data_types.rb +49 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/tidata_connector_data_types_indicators.rb +43 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/trigger_operator.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ueba.rb +105 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ueba_data_sources.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/url_entity.rb +124 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/user_info.rb +70 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb +256 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb +185 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/module_definition.rb +9 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/office_consents.rb +468 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/operations.rb +219 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/product_settings.rb +487 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/security_insights.rb +384 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicator.rb +494 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicator_metrics.rb +139 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicator_upsert.rb +167 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicators.rb +283 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicators_list.rb +267 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/watchlists.rb +814 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights.rb +116 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/actions.rb +246 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/alert_rule_templates.rb +349 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/alert_rules.rb +915 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/bookmarks.rb +572 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/data_connectors.rb +573 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/incident_comments.rb +512 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/incidents.rb +604 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aaddata_connector.rb +109 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aatpdata_connector.rb +109 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/action_properties_base.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/action_request.rb +93 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/action_response.rb +96 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/actions_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule.rb +79 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_kind.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_template.rb +71 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_template_data_source.rb +66 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_templates_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rules_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_severity.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alerts_data_type_of_data_connector.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/ascdata_connector.rb +110 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/attack_tactic.rb +26 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector.rb +110 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types.rb +48 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types_logs.rb +43 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/bookmark.rb +191 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/bookmark_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/case_severity.rb +19 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/client_info.rb +79 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector.rb +79 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_data_type_common.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_kind.rb +22 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_tenant_id.rb +46 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_with_alerts_properties.rb +48 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_type_state.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/error_additional_info.rb +59 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/error_response.rb +117 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule.rb +179 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb +188 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident.rb +291 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_additional_data.rb +111 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_classification.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_classification_reason.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_comment.rb +98 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_comment_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_info.rb +80 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_label.rb +59 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_label_type.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_owner_info.rb +80 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_severity.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_status.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/license_status.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/mcasdata_connector.rb +109 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/mcasdata_connector_data_types.rb +58 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/mdatpdata_connector.rb +110 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb +220 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_common_properties.rb +111 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_template.rb +233 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_product_name.rb +19 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_consent.rb +85 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_consent_list.rb +67 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector.rb +109 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector_data_types.rb +61 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_exchange.rb +43 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_share_point.rb +43 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/operation.rb +58 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/operation_display.rb +79 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/operations_list.rb +98 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/resource.rb +80 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/resource_with_etag.rb +82 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/scheduled_alert_rule.rb +260 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_common_properties.rb +107 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_template.rb +248 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/setting_kind.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/settings.rb +79 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/status_in_mcas.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/template_status.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/threat_intelligence.rb +108 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/tidata_connector.rb +109 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/tidata_connector_data_types.rb +48 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/tidata_connector_data_types_indicators.rb +43 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/toggle_settings.rb +96 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/trigger_operator.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/ueba_settings.rb +125 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/user_info.rb +70 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/module_definition.rb +9 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/operations.rb +219 -0
- data/lib/2020-01-01/generated/azure_mgmt_security_insights/security_insights.rb +159 -0
- data/lib/azure_mgmt_security_insights.rb +7 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/securityinsights_profile_module.rb +399 -0
- data/lib/profiles/latest/securityinsights_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/securityinsights_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +446 -0
@@ -0,0 +1,89 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Relation node
|
10
|
+
#
|
11
|
+
class RelationNode
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Relation Node Id
|
16
|
+
attr_accessor :relation_node_id
|
17
|
+
|
18
|
+
# @return [RelationNodeKind] The type of relation node. Possible values
|
19
|
+
# include: 'Case', 'Bookmark'
|
20
|
+
attr_accessor :relation_node_kind
|
21
|
+
|
22
|
+
# @return [String] Etag for relation node
|
23
|
+
attr_accessor :etag
|
24
|
+
|
25
|
+
# @return [Hash{String => String}] Additional set of properties
|
26
|
+
attr_accessor :relation_additional_properties
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for RelationNode class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'RelationNode',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'RelationNode',
|
41
|
+
model_properties: {
|
42
|
+
relation_node_id: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'relationNodeId',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
relation_node_kind: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'relationNodeKind',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
etag: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'etag',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
relation_additional_properties: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'relationAdditionalProperties',
|
71
|
+
type: {
|
72
|
+
name: 'Dictionary',
|
73
|
+
value: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'StringElementType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_node_kind.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RelationNodeKind
|
10
|
+
#
|
11
|
+
module RelationNodeKind
|
12
|
+
Case = "Case"
|
13
|
+
Bookmark = "Bookmark"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RelationTypes
|
10
|
+
#
|
11
|
+
module RelationTypes
|
12
|
+
CasesToBookmarks = "CasesToBookmarks"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relations_model_input.rb
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Relation input model
|
10
|
+
#
|
11
|
+
class RelationsModelInput < RelationBase
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of relation
|
16
|
+
attr_accessor :relation_name
|
17
|
+
|
18
|
+
# @return [RelationNode] Relation source node
|
19
|
+
attr_accessor :source_relation_node
|
20
|
+
|
21
|
+
# @return [RelationNode] Relation target node
|
22
|
+
attr_accessor :target_relation_node
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for RelationsModelInput class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'RelationsModelInput',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'RelationsModelInput',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'id',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
name: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'name',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'type',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
kind: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'kind',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
etag: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'etag',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
relation_name: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'properties.relationName',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
source_relation_node: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'properties.sourceRelationNode',
|
94
|
+
type: {
|
95
|
+
name: 'Composite',
|
96
|
+
class_name: 'RelationNode'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
target_relation_node: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'properties.targetRelationNode',
|
103
|
+
type: {
|
104
|
+
name: 'Composite',
|
105
|
+
class_name: 'RelationNode'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An azure resource object
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Azure resource Id
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Azure resource name
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Azure resource type
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
# @return [String] the name of the resource group of the resource.
|
26
|
+
def resource_group
|
27
|
+
unless self.id.nil?
|
28
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
29
|
+
groups.captures[0].strip if groups
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for Resource class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'Resource',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Resource',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
name: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'name',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
type: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'type',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/resource_with_etag.rb
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An azure resource object with an Etag property
|
10
|
+
#
|
11
|
+
class ResourceWithEtag
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Azure resource Id
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Azure resource name
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Azure resource type
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] Etag of the azure resource
|
25
|
+
attr_accessor :etag
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for ResourceWithEtag class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'ResourceWithEtag',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ResourceWithEtag',
|
40
|
+
model_properties: {
|
41
|
+
id: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'name',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
type: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'type',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
etag: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'etag',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule.rb
ADDED
@@ -0,0 +1,285 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SecurityInsights::Mgmt::V2019_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents scheduled alert rule.
|
10
|
+
#
|
11
|
+
class ScheduledAlertRule < AlertRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "Scheduled"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [String] The query that creates alerts for this rule.
|
23
|
+
attr_accessor :query
|
24
|
+
|
25
|
+
# @return [Duration] The frequency (in ISO 8601 duration format) for this
|
26
|
+
# alert rule to run.
|
27
|
+
attr_accessor :query_frequency
|
28
|
+
|
29
|
+
# @return [Duration] The period (in ISO 8601 duration format) that this
|
30
|
+
# alert rule looks at.
|
31
|
+
attr_accessor :query_period
|
32
|
+
|
33
|
+
# @return [AlertSeverity] The severity for alerts created by this alert
|
34
|
+
# rule. Possible values include: 'High', 'Medium', 'Low', 'Informational'
|
35
|
+
attr_accessor :severity
|
36
|
+
|
37
|
+
# @return [TriggerOperator] The operation against the threshold that
|
38
|
+
# triggers alert rule. Possible values include: 'GreaterThan',
|
39
|
+
# 'LessThan', 'Equal', 'NotEqual'
|
40
|
+
attr_accessor :trigger_operator
|
41
|
+
|
42
|
+
# @return [Integer] The threshold triggers this alert rule.
|
43
|
+
attr_accessor :trigger_threshold
|
44
|
+
|
45
|
+
# @return [EventGroupingSettings] The event grouping settings.
|
46
|
+
attr_accessor :event_grouping_settings
|
47
|
+
|
48
|
+
# @return [String] The Name of the alert rule template used to create
|
49
|
+
# this rule.
|
50
|
+
attr_accessor :alert_rule_template_name
|
51
|
+
|
52
|
+
# @return [String] The description of the alert rule.
|
53
|
+
attr_accessor :description
|
54
|
+
|
55
|
+
# @return [String] The display name for alerts created by this alert
|
56
|
+
# rule.
|
57
|
+
attr_accessor :display_name
|
58
|
+
|
59
|
+
# @return [Boolean] Determines whether this alert rule is enabled or
|
60
|
+
# disabled.
|
61
|
+
attr_accessor :enabled
|
62
|
+
|
63
|
+
# @return [DateTime] The last time that this alert rule has been
|
64
|
+
# modified.
|
65
|
+
attr_accessor :last_modified_utc
|
66
|
+
|
67
|
+
# @return [Duration] The suppression (in ISO 8601 duration format) to
|
68
|
+
# wait since last time this alert rule been triggered.
|
69
|
+
attr_accessor :suppression_duration
|
70
|
+
|
71
|
+
# @return [Boolean] Determines whether the suppression for this alert
|
72
|
+
# rule is enabled or disabled.
|
73
|
+
attr_accessor :suppression_enabled
|
74
|
+
|
75
|
+
# @return [Array<AttackTactic>] The tactics of the alert rule
|
76
|
+
attr_accessor :tactics
|
77
|
+
|
78
|
+
# @return [IncidentConfiguration] The settings of the incidents that
|
79
|
+
# created from alerts triggered by this analytics rule
|
80
|
+
attr_accessor :incident_configuration
|
81
|
+
|
82
|
+
|
83
|
+
#
|
84
|
+
# Mapper for ScheduledAlertRule class as Ruby Hash.
|
85
|
+
# This will be used for serialization/deserialization.
|
86
|
+
#
|
87
|
+
def self.mapper()
|
88
|
+
{
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'Scheduled',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'ScheduledAlertRule',
|
95
|
+
model_properties: {
|
96
|
+
id: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
read_only: true,
|
100
|
+
serialized_name: 'id',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
name: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
read_only: true,
|
109
|
+
serialized_name: 'name',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
type: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'type',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
etag: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'etag',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
kind: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: true,
|
134
|
+
serialized_name: 'kind',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
query: {
|
140
|
+
client_side_validation: true,
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'properties.query',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
query_frequency: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'properties.queryFrequency',
|
151
|
+
type: {
|
152
|
+
name: 'TimeSpan'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
query_period: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'properties.queryPeriod',
|
159
|
+
type: {
|
160
|
+
name: 'TimeSpan'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
severity: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.severity',
|
167
|
+
type: {
|
168
|
+
name: 'String'
|
169
|
+
}
|
170
|
+
},
|
171
|
+
trigger_operator: {
|
172
|
+
client_side_validation: true,
|
173
|
+
required: false,
|
174
|
+
serialized_name: 'properties.triggerOperator',
|
175
|
+
type: {
|
176
|
+
name: 'Enum',
|
177
|
+
module: 'TriggerOperator'
|
178
|
+
}
|
179
|
+
},
|
180
|
+
trigger_threshold: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
serialized_name: 'properties.triggerThreshold',
|
184
|
+
type: {
|
185
|
+
name: 'Number'
|
186
|
+
}
|
187
|
+
},
|
188
|
+
event_grouping_settings: {
|
189
|
+
client_side_validation: true,
|
190
|
+
required: false,
|
191
|
+
serialized_name: 'properties.eventGroupingSettings',
|
192
|
+
type: {
|
193
|
+
name: 'Composite',
|
194
|
+
class_name: 'EventGroupingSettings'
|
195
|
+
}
|
196
|
+
},
|
197
|
+
alert_rule_template_name: {
|
198
|
+
client_side_validation: true,
|
199
|
+
required: false,
|
200
|
+
serialized_name: 'properties.alertRuleTemplateName',
|
201
|
+
type: {
|
202
|
+
name: 'String'
|
203
|
+
}
|
204
|
+
},
|
205
|
+
description: {
|
206
|
+
client_side_validation: true,
|
207
|
+
required: false,
|
208
|
+
serialized_name: 'properties.description',
|
209
|
+
type: {
|
210
|
+
name: 'String'
|
211
|
+
}
|
212
|
+
},
|
213
|
+
display_name: {
|
214
|
+
client_side_validation: true,
|
215
|
+
required: true,
|
216
|
+
serialized_name: 'properties.displayName',
|
217
|
+
type: {
|
218
|
+
name: 'String'
|
219
|
+
}
|
220
|
+
},
|
221
|
+
enabled: {
|
222
|
+
client_side_validation: true,
|
223
|
+
required: true,
|
224
|
+
serialized_name: 'properties.enabled',
|
225
|
+
type: {
|
226
|
+
name: 'Boolean'
|
227
|
+
}
|
228
|
+
},
|
229
|
+
last_modified_utc: {
|
230
|
+
client_side_validation: true,
|
231
|
+
required: false,
|
232
|
+
read_only: true,
|
233
|
+
serialized_name: 'properties.lastModifiedUtc',
|
234
|
+
type: {
|
235
|
+
name: 'DateTime'
|
236
|
+
}
|
237
|
+
},
|
238
|
+
suppression_duration: {
|
239
|
+
client_side_validation: true,
|
240
|
+
required: true,
|
241
|
+
serialized_name: 'properties.suppressionDuration',
|
242
|
+
type: {
|
243
|
+
name: 'TimeSpan'
|
244
|
+
}
|
245
|
+
},
|
246
|
+
suppression_enabled: {
|
247
|
+
client_side_validation: true,
|
248
|
+
required: true,
|
249
|
+
serialized_name: 'properties.suppressionEnabled',
|
250
|
+
type: {
|
251
|
+
name: 'Boolean'
|
252
|
+
}
|
253
|
+
},
|
254
|
+
tactics: {
|
255
|
+
client_side_validation: true,
|
256
|
+
required: false,
|
257
|
+
serialized_name: 'properties.tactics',
|
258
|
+
type: {
|
259
|
+
name: 'Sequence',
|
260
|
+
element: {
|
261
|
+
client_side_validation: true,
|
262
|
+
required: false,
|
263
|
+
serialized_name: 'AttackTacticElementType',
|
264
|
+
type: {
|
265
|
+
name: 'String'
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
},
|
270
|
+
incident_configuration: {
|
271
|
+
client_side_validation: true,
|
272
|
+
required: false,
|
273
|
+
serialized_name: 'properties.incidentConfiguration',
|
274
|
+
type: {
|
275
|
+
name: 'Composite',
|
276
|
+
class_name: 'IncidentConfiguration'
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
end
|
283
|
+
end
|
284
|
+
end
|
285
|
+
end
|