azure_mgmt_security_insights 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (331) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights.rb +254 -0
  4. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/actions.rb +255 -0
  5. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/alert_rule_templates.rb +365 -0
  6. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/alert_rules.rb +966 -0
  7. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/bookmark_operations.rb +154 -0
  8. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/bookmark_relations.rb +651 -0
  9. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/bookmarks.rb +602 -0
  10. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/case_comments.rb +155 -0
  11. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/case_relations.rb +652 -0
  12. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/cases.rb +752 -0
  13. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/cases_aggregations.rb +140 -0
  14. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/comments.rb +287 -0
  15. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/data_connectors.rb +603 -0
  16. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/data_connectors_check_requirements_operations.rb +150 -0
  17. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entities.rb +492 -0
  18. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entities_relations.rb +287 -0
  19. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entity_queries.rb +364 -0
  20. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/entity_relations.rb +144 -0
  21. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/incident_comments.rb +652 -0
  22. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/incident_relations.rb +651 -0
  23. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/incidents.rb +976 -0
  24. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aadcheck_requirements.rb +61 -0
  25. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aaddata_connector.rb +109 -0
  26. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aatpcheck_requirements.rb +62 -0
  27. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aatpdata_connector.rb +109 -0
  28. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb +261 -0
  29. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/action_properties_base.rb +47 -0
  30. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/action_request.rb +93 -0
  31. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/action_response.rb +96 -0
  32. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/actions_list.rb +99 -0
  33. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations.rb +82 -0
  34. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aggregations_kind.rb +49 -0
  35. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule.rb +95 -0
  36. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_kind.rb +17 -0
  37. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_kind1.rb +47 -0
  38. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_template.rb +84 -0
  39. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_template_data_source.rb +66 -0
  40. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_template_properties_base.rb +115 -0
  41. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rule_templates_list.rb +101 -0
  42. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_rules_list.rb +101 -0
  43. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_severity.rb +18 -0
  44. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alert_status.rb +19 -0
  45. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alerts_data_type_of_data_connector.rb +48 -0
  46. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/alerts_data_type_of_data_connector_alerts.rb +43 -0
  47. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/asccheck_requirements.rb +62 -0
  48. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ascdata_connector.rb +110 -0
  49. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/attack_tactic.rb +27 -0
  50. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_check_requirements.rb +50 -0
  51. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector.rb +110 -0
  52. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types.rb +48 -0
  53. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types_logs.rb +43 -0
  54. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/azure_resource_entity.rb +136 -0
  55. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb +191 -0
  56. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_expand_parameters.rb +71 -0
  57. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_expand_response.rb +60 -0
  58. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_expand_response_value.rb +57 -0
  59. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark_list.rb +99 -0
  60. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_comment.rb +98 -0
  61. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_comment_list.rb +99 -0
  62. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_list.rb +99 -0
  63. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_model.rb +293 -0
  64. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_relation.rb +123 -0
  65. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_relation_list.rb +99 -0
  66. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_severity.rb +19 -0
  67. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/case_status.rb +18 -0
  68. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb +103 -0
  69. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation_by_severity_properties.rb +96 -0
  70. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation_by_status_properties.rb +83 -0
  71. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/client_info.rb +79 -0
  72. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/close_reason.rb +19 -0
  73. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb +150 -0
  74. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/confidence_level.rb +17 -0
  75. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/confidence_score_status.rb +18 -0
  76. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector.rb +102 -0
  77. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_authorization_state.rb +16 -0
  78. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_data_type_common.rb +47 -0
  79. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_kind.rb +24 -0
  80. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_kind1.rb +51 -0
  81. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_license_state.rb +17 -0
  82. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_list.rb +101 -0
  83. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_requirements_state.rb +59 -0
  84. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_tenant_id.rb +46 -0
  85. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connector_with_alerts_properties.rb +48 -0
  86. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_connectors_check_requirements.rb +54 -0
  87. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/data_type_state.rb +16 -0
  88. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/dns_entity.rb +170 -0
  89. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/elevation_token.rb +17 -0
  90. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entities_matching_method.rb +17 -0
  91. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity.rb +98 -0
  92. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_analytics.rb +97 -0
  93. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_common_properties.rb +70 -0
  94. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_expand_parameters.rb +71 -0
  95. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_expand_response.rb +60 -0
  96. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_expand_response_value.rb +57 -0
  97. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_kind.rb +31 -0
  98. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_kind1.rb +50 -0
  99. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_list.rb +101 -0
  100. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_query.rb +159 -0
  101. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_query_list.rb +99 -0
  102. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_type.rb +31 -0
  103. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/event_grouping_aggregation_kind.rb +16 -0
  104. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/event_grouping_settings.rb +47 -0
  105. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/expansion_result_aggregation.rb +85 -0
  106. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/expansion_results_metadata.rb +56 -0
  107. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/eyes_on.rb +97 -0
  108. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/file_entity.rb +170 -0
  109. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/file_hash_algorithm.rb +19 -0
  110. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/file_hash_entity.rb +137 -0
  111. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/fusion_alert_rule.rb +179 -0
  112. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb +188 -0
  113. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/geo_location.rb +126 -0
  114. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb +101 -0
  115. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_entity_type.rb +18 -0
  116. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/host_entity.rb +224 -0
  117. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb +244 -0
  118. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb +291 -0
  119. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb +111 -0
  120. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_alert_list.rb +55 -0
  121. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_bookmark_list.rb +55 -0
  122. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_classification.rb +18 -0
  123. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_classification_reason.rb +18 -0
  124. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_comment.rb +118 -0
  125. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_comment_list.rb +99 -0
  126. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_configuration.rb +60 -0
  127. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_entities_response.rb +78 -0
  128. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_entities_results_metadata.rb +63 -0
  129. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_info.rb +80 -0
  130. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label.rb +59 -0
  131. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_label_type.rb +16 -0
  132. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_list.rb +99 -0
  133. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_owner_info.rb +80 -0
  134. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_severity.rb +18 -0
  135. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_status.rb +17 -0
  136. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb +218 -0
  137. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ip_entity.rb +160 -0
  138. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/kill_chain_intent.rb +28 -0
  139. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/malware_entity.rb +178 -0
  140. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcascheck_requirements.rb +62 -0
  141. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector.rb +109 -0
  142. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector_data_types.rb +58 -0
  143. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector_data_types_discovery_logs.rb +43 -0
  144. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mdatpcheck_requirements.rb +62 -0
  145. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mdatpdata_connector.rb +110 -0
  146. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb +221 -0
  147. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_common_properties.rb +112 -0
  148. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_template.rb +234 -0
  149. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_product_name.rb +21 -0
  150. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_atpcheck_requirements.rb +62 -0
  151. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_atpdata_connector.rb +110 -0
  152. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_consent.rb +85 -0
  153. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_consent_list.rb +99 -0
  154. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector.rb +109 -0
  155. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types.rb +73 -0
  156. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_exchange.rb +43 -0
  157. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_share_point.rb +43 -0
  158. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_teams.rb +43 -0
  159. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/operation.rb +58 -0
  160. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/operation_display.rb +79 -0
  161. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/operations_list.rb +98 -0
  162. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/osfamily.rb +18 -0
  163. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/process_entity.rb +221 -0
  164. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_hive.rb +24 -0
  165. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_key_entity.rb +141 -0
  166. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_value_entity.rb +163 -0
  167. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/registry_value_kind.rb +22 -0
  168. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation.rb +117 -0
  169. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_base.rb +86 -0
  170. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_list.rb +99 -0
  171. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_node.rb +89 -0
  172. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_node_kind.rb +16 -0
  173. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relation_types.rb +15 -0
  174. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/relations_model_input.rb +114 -0
  175. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/resource.rb +80 -0
  176. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/resource_with_etag.rb +82 -0
  177. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule.rb +285 -0
  178. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_common_properties.rb +119 -0
  179. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_template.rb +260 -0
  180. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert.rb +462 -0
  181. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_alert_properties_confidence_reasons_item.rb +60 -0
  182. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_group_entity.rb +150 -0
  183. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/setting_kind.rb +17 -0
  184. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/setting_list.rb +57 -0
  185. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/settings.rb +95 -0
  186. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/settings_kind.rb +47 -0
  187. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/source.rb +16 -0
  188. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/template_status.rb +17 -0
  189. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb +108 -0
  190. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_append_tags_request_body.rb +54 -0
  191. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_arm_stix_query.rb +227 -0
  192. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_arm_stix_sort_by.rb +17 -0
  193. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_arm_stix_sort_by1.rb +58 -0
  194. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_granular_marking_model.rb +76 -0
  195. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_indicator_model.rb +410 -0
  196. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_indicator_without_read_only_fields.rb +382 -0
  197. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_kill_chain_phase.rb +57 -0
  198. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric.rb +106 -0
  199. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_entity.rb +57 -0
  200. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_resource.rb +47 -0
  201. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_metric_resource_list.rb +56 -0
  202. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource.rb +93 -0
  203. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource_kind.rb +15 -0
  204. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource_kind1.rb +48 -0
  205. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence_resource_list.rb +102 -0
  206. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_check_requirements.rb +61 -0
  207. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb +175 -0
  208. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector_data_types.rb +48 -0
  209. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector_data_types_taxii_client.rb +43 -0
  210. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ticheck_requirements.rb +61 -0
  211. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/tidata_connector.rb +109 -0
  212. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/tidata_connector_data_types.rb +49 -0
  213. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/tidata_connector_data_types_indicators.rb +43 -0
  214. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/trigger_operator.rb +18 -0
  215. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ueba.rb +105 -0
  216. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ueba_data_sources.rb +18 -0
  217. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/url_entity.rb +124 -0
  218. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/user_info.rb +70 -0
  219. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb +256 -0
  220. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb +185 -0
  221. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_list.rb +99 -0
  222. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/module_definition.rb +9 -0
  223. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/office_consents.rb +468 -0
  224. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/operations.rb +219 -0
  225. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/product_settings.rb +487 -0
  226. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/security_insights.rb +384 -0
  227. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicator.rb +494 -0
  228. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicator_metrics.rb +139 -0
  229. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicator_upsert.rb +167 -0
  230. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicators.rb +283 -0
  231. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/threat_intelligence_indicators_list.rb +267 -0
  232. data/lib/2019-01-01-preview/generated/azure_mgmt_security_insights/watchlists.rb +814 -0
  233. data/lib/2020-01-01/generated/azure_mgmt_security_insights.rb +116 -0
  234. data/lib/2020-01-01/generated/azure_mgmt_security_insights/actions.rb +246 -0
  235. data/lib/2020-01-01/generated/azure_mgmt_security_insights/alert_rule_templates.rb +349 -0
  236. data/lib/2020-01-01/generated/azure_mgmt_security_insights/alert_rules.rb +915 -0
  237. data/lib/2020-01-01/generated/azure_mgmt_security_insights/bookmarks.rb +572 -0
  238. data/lib/2020-01-01/generated/azure_mgmt_security_insights/data_connectors.rb +573 -0
  239. data/lib/2020-01-01/generated/azure_mgmt_security_insights/incident_comments.rb +512 -0
  240. data/lib/2020-01-01/generated/azure_mgmt_security_insights/incidents.rb +604 -0
  241. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aaddata_connector.rb +109 -0
  242. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aatpdata_connector.rb +109 -0
  243. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/action_properties_base.rb +47 -0
  244. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/action_request.rb +93 -0
  245. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/action_response.rb +96 -0
  246. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/actions_list.rb +99 -0
  247. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule.rb +79 -0
  248. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_kind.rb +17 -0
  249. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_template.rb +71 -0
  250. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_template_data_source.rb +66 -0
  251. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_templates_list.rb +101 -0
  252. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rules_list.rb +101 -0
  253. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_severity.rb +18 -0
  254. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/alerts_data_type_of_data_connector.rb +47 -0
  255. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/ascdata_connector.rb +110 -0
  256. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/attack_tactic.rb +26 -0
  257. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector.rb +110 -0
  258. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types.rb +48 -0
  259. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/aws_cloud_trail_data_connector_data_types_logs.rb +43 -0
  260. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/bookmark.rb +191 -0
  261. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/bookmark_list.rb +99 -0
  262. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/case_severity.rb +19 -0
  263. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/client_info.rb +79 -0
  264. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector.rb +79 -0
  265. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_data_type_common.rb +47 -0
  266. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_kind.rb +22 -0
  267. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_list.rb +101 -0
  268. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_tenant_id.rb +46 -0
  269. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_connector_with_alerts_properties.rb +48 -0
  270. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/data_type_state.rb +16 -0
  271. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/error_additional_info.rb +59 -0
  272. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/error_response.rb +117 -0
  273. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule.rb +179 -0
  274. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb +188 -0
  275. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident.rb +291 -0
  276. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_additional_data.rb +111 -0
  277. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_classification.rb +18 -0
  278. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_classification_reason.rb +18 -0
  279. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_comment.rb +98 -0
  280. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_comment_list.rb +99 -0
  281. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_info.rb +80 -0
  282. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_label.rb +59 -0
  283. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_label_type.rb +16 -0
  284. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_list.rb +99 -0
  285. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_owner_info.rb +80 -0
  286. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_severity.rb +18 -0
  287. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/incident_status.rb +17 -0
  288. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/license_status.rb +16 -0
  289. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/mcasdata_connector.rb +109 -0
  290. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/mcasdata_connector_data_types.rb +58 -0
  291. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/mdatpdata_connector.rb +110 -0
  292. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb +220 -0
  293. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_common_properties.rb +111 -0
  294. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule_template.rb +233 -0
  295. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/microsoft_security_product_name.rb +19 -0
  296. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_consent.rb +85 -0
  297. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_consent_list.rb +67 -0
  298. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector.rb +109 -0
  299. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector_data_types.rb +61 -0
  300. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_exchange.rb +43 -0
  301. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_data_connector_data_types_share_point.rb +43 -0
  302. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/operation.rb +58 -0
  303. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/operation_display.rb +79 -0
  304. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/operations_list.rb +98 -0
  305. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/resource.rb +80 -0
  306. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/resource_with_etag.rb +82 -0
  307. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/scheduled_alert_rule.rb +260 -0
  308. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_common_properties.rb +107 -0
  309. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/scheduled_alert_rule_template.rb +248 -0
  310. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/setting_kind.rb +16 -0
  311. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/settings.rb +79 -0
  312. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/status_in_mcas.rb +16 -0
  313. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/template_status.rb +17 -0
  314. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/threat_intelligence.rb +108 -0
  315. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/tidata_connector.rb +109 -0
  316. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/tidata_connector_data_types.rb +48 -0
  317. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/tidata_connector_data_types_indicators.rb +43 -0
  318. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/toggle_settings.rb +96 -0
  319. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/trigger_operator.rb +18 -0
  320. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/ueba_settings.rb +125 -0
  321. data/lib/2020-01-01/generated/azure_mgmt_security_insights/models/user_info.rb +70 -0
  322. data/lib/2020-01-01/generated/azure_mgmt_security_insights/module_definition.rb +9 -0
  323. data/lib/2020-01-01/generated/azure_mgmt_security_insights/operations.rb +219 -0
  324. data/lib/2020-01-01/generated/azure_mgmt_security_insights/security_insights.rb +159 -0
  325. data/lib/azure_mgmt_security_insights.rb +7 -0
  326. data/lib/module_definition.rb +7 -0
  327. data/lib/profiles/latest/modules/securityinsights_profile_module.rb +399 -0
  328. data/lib/profiles/latest/securityinsights_latest_profile_client.rb +40 -0
  329. data/lib/profiles/latest/securityinsights_module_definition.rb +8 -0
  330. data/lib/version.rb +7 -0
  331. metadata +446 -0
@@ -0,0 +1,119 @@
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
+ # Schedule alert rule template property bag.
10
+ #
11
+ class ScheduledAlertRuleCommonProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The query that creates alerts for this rule.
16
+ attr_accessor :query
17
+
18
+ # @return [Duration] The frequency (in ISO 8601 duration format) for this
19
+ # alert rule to run.
20
+ attr_accessor :query_frequency
21
+
22
+ # @return [Duration] The period (in ISO 8601 duration format) that this
23
+ # alert rule looks at.
24
+ attr_accessor :query_period
25
+
26
+ # @return [AlertSeverity] The severity for alerts created by this alert
27
+ # rule. Possible values include: 'High', 'Medium', 'Low', 'Informational'
28
+ attr_accessor :severity
29
+
30
+ # @return [TriggerOperator] The operation against the threshold that
31
+ # triggers alert rule. Possible values include: 'GreaterThan',
32
+ # 'LessThan', 'Equal', 'NotEqual'
33
+ attr_accessor :trigger_operator
34
+
35
+ # @return [Integer] The threshold triggers this alert rule.
36
+ attr_accessor :trigger_threshold
37
+
38
+ # @return [EventGroupingSettings] The event grouping settings.
39
+ attr_accessor :event_grouping_settings
40
+
41
+
42
+ #
43
+ # Mapper for ScheduledAlertRuleCommonProperties class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'ScheduledAlertRuleCommonProperties',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'ScheduledAlertRuleCommonProperties',
54
+ model_properties: {
55
+ query: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'query',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ query_frequency: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'queryFrequency',
67
+ type: {
68
+ name: 'TimeSpan'
69
+ }
70
+ },
71
+ query_period: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'queryPeriod',
75
+ type: {
76
+ name: 'TimeSpan'
77
+ }
78
+ },
79
+ severity: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'severity',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ trigger_operator: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'triggerOperator',
91
+ type: {
92
+ name: 'Enum',
93
+ module: 'TriggerOperator'
94
+ }
95
+ },
96
+ trigger_threshold: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'triggerThreshold',
100
+ type: {
101
+ name: 'Number'
102
+ }
103
+ },
104
+ event_grouping_settings: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'eventGroupingSettings',
108
+ type: {
109
+ name: 'Composite',
110
+ class_name: 'EventGroupingSettings'
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,260 @@
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 template.
10
+ #
11
+ class ScheduledAlertRuleTemplate < AlertRuleTemplate
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "Scheduled"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return [Integer] the number of alert rules that were created by this
23
+ # template
24
+ attr_accessor :alert_rules_created_by_template_count
25
+
26
+ # @return [DateTime] The time that this alert rule template has been
27
+ # added.
28
+ attr_accessor :created_date_utc
29
+
30
+ # @return [String] The description of the alert rule template.
31
+ attr_accessor :description
32
+
33
+ # @return [String] The display name for alert rule template.
34
+ attr_accessor :display_name
35
+
36
+ # @return [Array<AlertRuleTemplateDataSource>] The required data sources
37
+ # for this template
38
+ attr_accessor :required_data_connectors
39
+
40
+ # @return [TemplateStatus] The alert rule template status. Possible
41
+ # values include: 'Installed', 'Available', 'NotAvailable'
42
+ attr_accessor :status
43
+
44
+ # @return [String] The query that creates alerts for this rule.
45
+ attr_accessor :query
46
+
47
+ # @return [Duration] The frequency (in ISO 8601 duration format) for this
48
+ # alert rule to run.
49
+ attr_accessor :query_frequency
50
+
51
+ # @return [Duration] The period (in ISO 8601 duration format) that this
52
+ # alert rule looks at.
53
+ attr_accessor :query_period
54
+
55
+ # @return [AlertSeverity] The severity for alerts created by this alert
56
+ # rule. Possible values include: 'High', 'Medium', 'Low', 'Informational'
57
+ attr_accessor :severity
58
+
59
+ # @return [TriggerOperator] The operation against the threshold that
60
+ # triggers alert rule. Possible values include: 'GreaterThan',
61
+ # 'LessThan', 'Equal', 'NotEqual'
62
+ attr_accessor :trigger_operator
63
+
64
+ # @return [Integer] The threshold triggers this alert rule.
65
+ attr_accessor :trigger_threshold
66
+
67
+ # @return [EventGroupingSettings] The event grouping settings.
68
+ attr_accessor :event_grouping_settings
69
+
70
+ # @return [Array<AttackTactic>] The tactics of the alert rule template
71
+ attr_accessor :tactics
72
+
73
+
74
+ #
75
+ # Mapper for ScheduledAlertRuleTemplate class as Ruby Hash.
76
+ # This will be used for serialization/deserialization.
77
+ #
78
+ def self.mapper()
79
+ {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'Scheduled',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'ScheduledAlertRuleTemplate',
86
+ model_properties: {
87
+ id: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'id',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ name: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ read_only: true,
100
+ serialized_name: 'name',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ type: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'type',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ kind: {
115
+ client_side_validation: true,
116
+ required: true,
117
+ serialized_name: 'kind',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ alert_rules_created_by_template_count: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'properties.alertRulesCreatedByTemplateCount',
126
+ type: {
127
+ name: 'Number'
128
+ }
129
+ },
130
+ created_date_utc: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ read_only: true,
134
+ serialized_name: 'properties.createdDateUTC',
135
+ type: {
136
+ name: 'DateTime'
137
+ }
138
+ },
139
+ description: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ serialized_name: 'properties.description',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ display_name: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'properties.displayName',
151
+ type: {
152
+ name: 'String'
153
+ }
154
+ },
155
+ required_data_connectors: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'properties.requiredDataConnectors',
159
+ type: {
160
+ name: 'Sequence',
161
+ element: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'AlertRuleTemplateDataSourceElementType',
165
+ type: {
166
+ name: 'Composite',
167
+ class_name: 'AlertRuleTemplateDataSource'
168
+ }
169
+ }
170
+ }
171
+ },
172
+ status: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'properties.status',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ },
180
+ query: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ serialized_name: 'properties.query',
184
+ type: {
185
+ name: 'String'
186
+ }
187
+ },
188
+ query_frequency: {
189
+ client_side_validation: true,
190
+ required: false,
191
+ serialized_name: 'properties.queryFrequency',
192
+ type: {
193
+ name: 'TimeSpan'
194
+ }
195
+ },
196
+ query_period: {
197
+ client_side_validation: true,
198
+ required: false,
199
+ serialized_name: 'properties.queryPeriod',
200
+ type: {
201
+ name: 'TimeSpan'
202
+ }
203
+ },
204
+ severity: {
205
+ client_side_validation: true,
206
+ required: false,
207
+ serialized_name: 'properties.severity',
208
+ type: {
209
+ name: 'String'
210
+ }
211
+ },
212
+ trigger_operator: {
213
+ client_side_validation: true,
214
+ required: false,
215
+ serialized_name: 'properties.triggerOperator',
216
+ type: {
217
+ name: 'Enum',
218
+ module: 'TriggerOperator'
219
+ }
220
+ },
221
+ trigger_threshold: {
222
+ client_side_validation: true,
223
+ required: false,
224
+ serialized_name: 'properties.triggerThreshold',
225
+ type: {
226
+ name: 'Number'
227
+ }
228
+ },
229
+ event_grouping_settings: {
230
+ client_side_validation: true,
231
+ required: false,
232
+ serialized_name: 'properties.eventGroupingSettings',
233
+ type: {
234
+ name: 'Composite',
235
+ class_name: 'EventGroupingSettings'
236
+ }
237
+ },
238
+ tactics: {
239
+ client_side_validation: true,
240
+ required: false,
241
+ serialized_name: 'properties.tactics',
242
+ type: {
243
+ name: 'Sequence',
244
+ element: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ serialized_name: 'AttackTacticElementType',
248
+ type: {
249
+ name: 'String'
250
+ }
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+ end
258
+ end
259
+ end
260
+ end
@@ -0,0 +1,462 @@
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 a security alert entity.
10
+ #
11
+ class SecurityAlert < Entity
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "SecurityAlert"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return A bag of custom fields that should be part of the entity and
23
+ # will be presented to the user.
24
+ attr_accessor :additional_data
25
+
26
+ # @return [String] The graph item display name which is a short humanly
27
+ # readable description of the graph item instance. This property is
28
+ # optional and might be system generated.
29
+ attr_accessor :friendly_name
30
+
31
+ # @return [String] The display name of the alert.
32
+ attr_accessor :alert_display_name
33
+
34
+ # @return [String] The type name of the alert.
35
+ attr_accessor :alert_type
36
+
37
+ # @return [String] Display name of the main entity being reported on.
38
+ attr_accessor :compromised_entity
39
+
40
+ # @return [ConfidenceLevel] The confidence level of this alert. Possible
41
+ # values include: 'Unknown', 'Low', 'High'
42
+ attr_accessor :confidence_level
43
+
44
+ # @return [Array<SecurityAlertPropertiesConfidenceReasonsItem>] The
45
+ # confidence reasons
46
+ attr_accessor :confidence_reasons
47
+
48
+ # @return [Float] The confidence score of the alert.
49
+ attr_accessor :confidence_score
50
+
51
+ # @return [ConfidenceScoreStatus] The confidence score calculation
52
+ # status, i.e. indicating if score calculation is pending for this alert,
53
+ # not applicable or final. Possible values include: 'NotApplicable',
54
+ # 'InProcess', 'NotFinal', 'Final'
55
+ attr_accessor :confidence_score_status
56
+
57
+ # @return [String] Alert description.
58
+ attr_accessor :description
59
+
60
+ # @return [DateTime] The impact end time of the alert (the time of the
61
+ # last event contributing to the alert).
62
+ attr_accessor :end_time_utc
63
+
64
+ # @return [KillChainIntent] Holds the alert intent stage(s) mapping for
65
+ # this alert. Possible values include: 'Unknown', 'Probing',
66
+ # 'Exploitation', 'Persistence', 'PrivilegeEscalation', 'DefenseEvasion',
67
+ # 'CredentialAccess', 'Discovery', 'LateralMovement', 'Execution',
68
+ # 'Collection', 'Exfiltration', 'CommandAndControl', 'Impact'
69
+ attr_accessor :intent
70
+
71
+ # @return [String] The identifier of the alert inside the product which
72
+ # generated the alert.
73
+ attr_accessor :provider_alert_id
74
+
75
+ # @return [DateTime] The time the alert was made available for
76
+ # consumption.
77
+ attr_accessor :processing_end_time
78
+
79
+ # @return [String] The name of a component inside the product which
80
+ # generated the alert.
81
+ attr_accessor :product_component_name
82
+
83
+ # @return [String] The name of the product which published this alert.
84
+ attr_accessor :product_name
85
+
86
+ # @return [String] The version of the product generating the alert.
87
+ attr_accessor :product_version
88
+
89
+ # @return [Array<String>] Manual action items to take to remediate the
90
+ # alert.
91
+ attr_accessor :remediation_steps
92
+
93
+ # @return [AlertSeverity] The severity of the alert. Possible values
94
+ # include: 'High', 'Medium', 'Low', 'Informational'
95
+ attr_accessor :severity
96
+
97
+ # @return [DateTime] The impact start time of the alert (the time of the
98
+ # first event contributing to the alert).
99
+ attr_accessor :start_time_utc
100
+
101
+ # @return [AlertStatus] The lifecycle status of the alert. Possible
102
+ # values include: 'Unknown', 'New', 'Resolved', 'Dismissed', 'InProgress'
103
+ attr_accessor :status
104
+
105
+ # @return [String] Holds the product identifier of the alert for the
106
+ # product.
107
+ attr_accessor :system_alert_id
108
+
109
+ # @return [Array<AttackTactic>] The tactics of the alert
110
+ attr_accessor :tactics
111
+
112
+ # @return [DateTime] The time the alert was generated.
113
+ attr_accessor :time_generated
114
+
115
+ # @return [String] The name of the vendor that raise the alert.
116
+ attr_accessor :vendor_name
117
+
118
+ # @return [String] The uri link of the alert.
119
+ attr_accessor :alert_link
120
+
121
+ # @return The list of resource identifiers of the alert.
122
+ attr_accessor :resource_identifiers
123
+
124
+
125
+ #
126
+ # Mapper for SecurityAlert class as Ruby Hash.
127
+ # This will be used for serialization/deserialization.
128
+ #
129
+ def self.mapper()
130
+ {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'SecurityAlert',
134
+ type: {
135
+ name: 'Composite',
136
+ class_name: 'SecurityAlert',
137
+ model_properties: {
138
+ id: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ read_only: true,
142
+ serialized_name: 'id',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ name: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ read_only: true,
151
+ serialized_name: 'name',
152
+ type: {
153
+ name: 'String'
154
+ }
155
+ },
156
+ type: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ read_only: true,
160
+ serialized_name: 'type',
161
+ type: {
162
+ name: 'String'
163
+ }
164
+ },
165
+ kind: {
166
+ client_side_validation: true,
167
+ required: true,
168
+ serialized_name: 'kind',
169
+ type: {
170
+ name: 'String'
171
+ }
172
+ },
173
+ additional_data: {
174
+ client_side_validation: true,
175
+ required: false,
176
+ read_only: true,
177
+ serialized_name: 'properties.additionalData',
178
+ type: {
179
+ name: 'Dictionary',
180
+ value: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ serialized_name: 'ObjectElementType',
184
+ type: {
185
+ name: 'Object'
186
+ }
187
+ }
188
+ }
189
+ },
190
+ friendly_name: {
191
+ client_side_validation: true,
192
+ required: false,
193
+ read_only: true,
194
+ serialized_name: 'properties.friendlyName',
195
+ type: {
196
+ name: 'String'
197
+ }
198
+ },
199
+ alert_display_name: {
200
+ client_side_validation: true,
201
+ required: false,
202
+ read_only: true,
203
+ serialized_name: 'properties.alertDisplayName',
204
+ type: {
205
+ name: 'String'
206
+ }
207
+ },
208
+ alert_type: {
209
+ client_side_validation: true,
210
+ required: false,
211
+ read_only: true,
212
+ serialized_name: 'properties.alertType',
213
+ type: {
214
+ name: 'String'
215
+ }
216
+ },
217
+ compromised_entity: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ read_only: true,
221
+ serialized_name: 'properties.compromisedEntity',
222
+ type: {
223
+ name: 'String'
224
+ }
225
+ },
226
+ confidence_level: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ read_only: true,
230
+ serialized_name: 'properties.confidenceLevel',
231
+ type: {
232
+ name: 'String'
233
+ }
234
+ },
235
+ confidence_reasons: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ read_only: true,
239
+ serialized_name: 'properties.confidenceReasons',
240
+ type: {
241
+ name: 'Sequence',
242
+ element: {
243
+ client_side_validation: true,
244
+ required: false,
245
+ serialized_name: 'SecurityAlertPropertiesConfidenceReasonsItemElementType',
246
+ type: {
247
+ name: 'Composite',
248
+ class_name: 'SecurityAlertPropertiesConfidenceReasonsItem'
249
+ }
250
+ }
251
+ }
252
+ },
253
+ confidence_score: {
254
+ client_side_validation: true,
255
+ required: false,
256
+ read_only: true,
257
+ serialized_name: 'properties.confidenceScore',
258
+ type: {
259
+ name: 'Double'
260
+ }
261
+ },
262
+ confidence_score_status: {
263
+ client_side_validation: true,
264
+ required: false,
265
+ read_only: true,
266
+ serialized_name: 'properties.confidenceScoreStatus',
267
+ type: {
268
+ name: 'String'
269
+ }
270
+ },
271
+ description: {
272
+ client_side_validation: true,
273
+ required: false,
274
+ read_only: true,
275
+ serialized_name: 'properties.description',
276
+ type: {
277
+ name: 'String'
278
+ }
279
+ },
280
+ end_time_utc: {
281
+ client_side_validation: true,
282
+ required: false,
283
+ read_only: true,
284
+ serialized_name: 'properties.endTimeUtc',
285
+ type: {
286
+ name: 'DateTime'
287
+ }
288
+ },
289
+ intent: {
290
+ client_side_validation: true,
291
+ required: false,
292
+ read_only: true,
293
+ serialized_name: 'properties.intent',
294
+ type: {
295
+ name: 'String'
296
+ }
297
+ },
298
+ provider_alert_id: {
299
+ client_side_validation: true,
300
+ required: false,
301
+ read_only: true,
302
+ serialized_name: 'properties.providerAlertId',
303
+ type: {
304
+ name: 'String'
305
+ }
306
+ },
307
+ processing_end_time: {
308
+ client_side_validation: true,
309
+ required: false,
310
+ read_only: true,
311
+ serialized_name: 'properties.processingEndTime',
312
+ type: {
313
+ name: 'DateTime'
314
+ }
315
+ },
316
+ product_component_name: {
317
+ client_side_validation: true,
318
+ required: false,
319
+ read_only: true,
320
+ serialized_name: 'properties.productComponentName',
321
+ type: {
322
+ name: 'String'
323
+ }
324
+ },
325
+ product_name: {
326
+ client_side_validation: true,
327
+ required: false,
328
+ read_only: true,
329
+ serialized_name: 'properties.productName',
330
+ type: {
331
+ name: 'String'
332
+ }
333
+ },
334
+ product_version: {
335
+ client_side_validation: true,
336
+ required: false,
337
+ read_only: true,
338
+ serialized_name: 'properties.productVersion',
339
+ type: {
340
+ name: 'String'
341
+ }
342
+ },
343
+ remediation_steps: {
344
+ client_side_validation: true,
345
+ required: false,
346
+ read_only: true,
347
+ serialized_name: 'properties.remediationSteps',
348
+ type: {
349
+ name: 'Sequence',
350
+ element: {
351
+ client_side_validation: true,
352
+ required: false,
353
+ serialized_name: 'StringElementType',
354
+ type: {
355
+ name: 'String'
356
+ }
357
+ }
358
+ }
359
+ },
360
+ severity: {
361
+ client_side_validation: true,
362
+ required: false,
363
+ serialized_name: 'properties.severity',
364
+ type: {
365
+ name: 'String'
366
+ }
367
+ },
368
+ start_time_utc: {
369
+ client_side_validation: true,
370
+ required: false,
371
+ read_only: true,
372
+ serialized_name: 'properties.startTimeUtc',
373
+ type: {
374
+ name: 'DateTime'
375
+ }
376
+ },
377
+ status: {
378
+ client_side_validation: true,
379
+ required: false,
380
+ read_only: true,
381
+ serialized_name: 'properties.status',
382
+ type: {
383
+ name: 'String'
384
+ }
385
+ },
386
+ system_alert_id: {
387
+ client_side_validation: true,
388
+ required: false,
389
+ read_only: true,
390
+ serialized_name: 'properties.systemAlertId',
391
+ type: {
392
+ name: 'String'
393
+ }
394
+ },
395
+ tactics: {
396
+ client_side_validation: true,
397
+ required: false,
398
+ read_only: true,
399
+ serialized_name: 'properties.tactics',
400
+ type: {
401
+ name: 'Sequence',
402
+ element: {
403
+ client_side_validation: true,
404
+ required: false,
405
+ serialized_name: 'AttackTacticElementType',
406
+ type: {
407
+ name: 'String'
408
+ }
409
+ }
410
+ }
411
+ },
412
+ time_generated: {
413
+ client_side_validation: true,
414
+ required: false,
415
+ read_only: true,
416
+ serialized_name: 'properties.timeGenerated',
417
+ type: {
418
+ name: 'DateTime'
419
+ }
420
+ },
421
+ vendor_name: {
422
+ client_side_validation: true,
423
+ required: false,
424
+ read_only: true,
425
+ serialized_name: 'properties.vendorName',
426
+ type: {
427
+ name: 'String'
428
+ }
429
+ },
430
+ alert_link: {
431
+ client_side_validation: true,
432
+ required: false,
433
+ read_only: true,
434
+ serialized_name: 'properties.alertLink',
435
+ type: {
436
+ name: 'String'
437
+ }
438
+ },
439
+ resource_identifiers: {
440
+ client_side_validation: true,
441
+ required: false,
442
+ read_only: true,
443
+ serialized_name: 'properties.resourceIdentifiers',
444
+ type: {
445
+ name: 'Sequence',
446
+ element: {
447
+ client_side_validation: true,
448
+ required: false,
449
+ serialized_name: 'ObjectElementType',
450
+ type: {
451
+ name: 'Object'
452
+ }
453
+ }
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }
459
+ end
460
+ end
461
+ end
462
+ end