azure_mgmt_security 0.17.2 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-01-preview/generated/azure_mgmt_security.rb +109 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/adaptive_application_controls.rb +313 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/adaptive_network_hardenings.rb +539 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/alerts.rb +1280 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/allowed_connections.rb +535 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/discovered_security_solutions.rb +532 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/external_security_solutions.rb +525 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/jit_network_access_policies.rb +1295 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/locations.rb +330 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_connectivity_state.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_connectivity_state1.rb +48 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_external_security_solution.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_solution_properties.rb +83 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardening.rb +116 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb +77 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert.rb +375 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert_confidence_reason.rb +59 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert_entity.rb +66 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_resource.rb +118 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_group.rb +191 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_groups.rb +56 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb +61 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb +86 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/asc_location_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/ata_external_security_solution.rb +98 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/ata_solution_properties.rb +87 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/cef_external_security_solution.rb +98 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/cef_solution_properties.rb +109 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connectable_resource.rb +91 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connected_resource.rb +71 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connected_workspace.rb +47 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connection_type.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/direction.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/discovered_security_solution.rb +129 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/discovered_security_solution_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/effective_network_security_groups.rb +66 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution.rb +98 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_kind.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_kind1.rb +47 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_list.rb +101 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_properties.rb +88 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb +149 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb +70 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb +57 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb +70 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb +81 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb +103 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request.rb +78 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request_port.rb +128 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb +69 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/location.rb +47 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation.rb +71 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation_display.rb +84 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/path_recommendation.rb +156 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/protocol.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/publisher_info.rb +84 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/rule.rb +111 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_family.rb +18 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_task.rb +123 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_task_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_task_parameters.rb +67 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/status.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/status_reason.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_resource.rb +118 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource.rb +154 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_child.rb +49 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_parent.rb +49 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/transport_protocol.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/user_recommendation.rb +58 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/vm_recommendation.rb +69 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/operations.rb +218 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/security_center.rb +175 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/tasks.rb +1055 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/topology.rb +530 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security.rb +72 -13
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/advanced_threat_protection.rb +222 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/auto_provisioning_settings.rb +12 -4
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/compliances.rb +9 -3
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/device_security_groups.rb +523 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/information_protection_policies.rb +447 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions.rb +230 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics.rb +227 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alert.rb +224 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alerts.rb +243 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendation.rb +133 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendations.rb +243 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_resource_group.rb +242 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/iot_security_solution.rb +459 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/advanced_threat_protection_setting.rb +74 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/allowlist_custom_alert_rule.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/custom_alert_rule.rb +81 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/data_export_setting.rb +81 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/data_source.rb +15 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/denylist_custom_alert_rule.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/device_security_group.rb +146 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/device_security_group_list.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/export_data.rb +15 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb +80 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb +116 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy_list.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_type.rb +114 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert.rb +238 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_list.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb +212 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation_list.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb +60 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_devices_list.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb +73 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alerts_list.rb +67 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb +73 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_recommendations_list.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model.rb +149 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_list.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_properties_devices_metrics_item.rb +61 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_model.rb +248 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solutions_list.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tseverity_metrics.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/list_custom_alert_rule.rb +82 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/recommendation_config_status.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/recommendation_configuration_properties.rb +79 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/recommendation_type.rb +30 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb +1 -1
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_solution_status.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/sensitivity_label.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/setting.rb +70 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/setting_kind.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/setting_resource.rb +75 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/settings_list.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/tags_resource.rb +55 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/threshold_custom_alert_rule.rb +92 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/time_window_custom_alert_rule.rb +115 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/update_iot_security_solution_data.rb +84 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/user_defined_resources_properties.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/value_type.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/pricings.rb +23 -7
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_center.rb +200 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_contacts.rb +18 -6
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/settings.rb +420 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/workspace_settings.rb +38 -16
- data/lib/2017-08-01/generated/azure_mgmt_security.rb +33 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/compliance_results.rb +329 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/compliance_result.rb +76 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/compliance_result_list.rb +99 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/resource_status.rb +18 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/security_center.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_security.rb +33 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing_list.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing_tier.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/pricings.rb +332 -0
- data/lib/{2017-08-01-preview/generated/azure_mgmt_security/security_management_client.rb → 2018-06-01/generated/azure_mgmt_security/security_center.rb} +5 -21
- data/lib/2019-01-01-preview/generated/azure_mgmt_security.rb +42 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_assessment.rb +166 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_assessment_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_control.rb +126 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_control_list.rb +100 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_standard.rb +127 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_standard_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb +76 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb +55 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/state.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/regulatory_compliance_assessments.rb +359 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/regulatory_compliance_controls.rb +343 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/regulatory_compliance_standards.rb +320 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/security_center.rb +145 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb +462 -0
- data/lib/2019-01-01/generated/azure_mgmt_security.rb +41 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/alerts.rb +1280 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert.rb +375 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert_confidence_reason.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert_entity.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/data_export_setting.rb +81 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting_kind.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting_resource.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/settings_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/security_center.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/settings.rb +420 -0
- data/lib/2019-08-01/generated/azure_mgmt_security.rb +63 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions.rb +230 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics.rb +227 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alert.rb +224 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alerts.rb +243 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendation.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendations.rb +243 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_resource_group.rb +242 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/iot_security_solution.rb +459 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/data_source.rb +15 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/export_data.rb +15 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert.rb +238 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb +212 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation_list.rb +101 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_devices_list.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alerts_list.rb +67 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendations_list.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model.rb +149 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_list.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_properties_devices_metrics_item.rb +61 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_model.rb +248 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solutions_list.rb +99 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tseverity_metrics.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_config_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_configuration_properties.rb +79 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_type.rb +30 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/security_solution_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/tags_resource.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/update_iot_security_solution_data.rb +84 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/user_defined_resources_properties.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/security_center.rb +164 -0
- data/lib/azure_mgmt_security.rb +6 -0
- data/lib/profiles/latest/modules/security_profile_module.rb +652 -40
- data/lib/version.rb +1 -1
- metadata +242 -6
@@ -0,0 +1,73 @@
|
|
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::Security::Mgmt::V2017_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The ASC location of the subscription is in the "name" field
|
10
|
+
#
|
11
|
+
class AscLocation < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return
|
16
|
+
attr_accessor :properties
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for AscLocation class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'AscLocation',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AscLocation',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'id',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
name: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
type: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'type',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
properties: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'properties',
|
63
|
+
type: {
|
64
|
+
name: 'Object'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,76 @@
|
|
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::Security::Mgmt::V2017_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# a compliance result
|
10
|
+
#
|
11
|
+
class ComplianceResult < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ResourceStatus] The status of the resource regarding a single
|
16
|
+
# assessment. Possible values include: 'Healthy', 'NotApplicable',
|
17
|
+
# 'OffByPolicy', 'NotHealthy'
|
18
|
+
attr_accessor :resource_status
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ComplianceResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ComplianceResult',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ComplianceResult',
|
33
|
+
model_properties: {
|
34
|
+
id: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
read_only: true,
|
38
|
+
serialized_name: 'id',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
type: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'type',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
resource_status: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'properties.resourceStatus',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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::Security::Mgmt::V2017_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of compliance results response
|
10
|
+
#
|
11
|
+
class ComplianceResultList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ComplianceResult>] List of compliance results
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URI to fetch the next page.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<ComplianceResult>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [ComplianceResultList] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for ComplianceResultList class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'ComplianceResultList',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ComplianceResultList',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: true,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'ComplianceResultElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'ComplianceResult'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
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::Security::Mgmt::V2017_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes an Azure resource.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Id
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] 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
|
@@ -0,0 +1,18 @@
|
|
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::Security::Mgmt::V2017_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ResourceStatus
|
10
|
+
#
|
11
|
+
module ResourceStatus
|
12
|
+
Healthy = "Healthy"
|
13
|
+
NotApplicable = "NotApplicable"
|
14
|
+
OffByPolicy = "OffByPolicy"
|
15
|
+
NotHealthy = "NotHealthy"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::Security end
|
8
|
+
module Azure::Security::Mgmt end
|
9
|
+
module Azure::Security::Mgmt::V2017_08_01 end
|
@@ -0,0 +1,128 @@
|
|
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::Security::Mgmt::V2017_08_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class SecurityCenter < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] API version for the operation
|
21
|
+
attr_reader :api_version
|
22
|
+
|
23
|
+
# @return [String] The preferred language for the response.
|
24
|
+
attr_accessor :accept_language
|
25
|
+
|
26
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
27
|
+
# Operations. Default value is 30.
|
28
|
+
attr_accessor :long_running_operation_retry_timeout
|
29
|
+
|
30
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
31
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
32
|
+
# generated and included in each request. Default is true.
|
33
|
+
attr_accessor :generate_client_request_id
|
34
|
+
|
35
|
+
# @return [ComplianceResults] compliance_results
|
36
|
+
attr_reader :compliance_results
|
37
|
+
|
38
|
+
#
|
39
|
+
# Creates initializes a new instance of the SecurityCenter class.
|
40
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
41
|
+
# @param base_url [String] the base URI of the service.
|
42
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
43
|
+
#
|
44
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
45
|
+
super(credentials, options)
|
46
|
+
@base_url = base_url || 'https://management.azure.com'
|
47
|
+
|
48
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
49
|
+
@credentials = credentials
|
50
|
+
|
51
|
+
@compliance_results = ComplianceResults.new(self)
|
52
|
+
@api_version = '2017-08-01'
|
53
|
+
@accept_language = 'en-US'
|
54
|
+
@long_running_operation_retry_timeout = 30
|
55
|
+
@generate_client_request_id = true
|
56
|
+
add_telemetry
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Makes a request and returns the body of the response.
|
61
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
62
|
+
# @param path [String] the path, relative to {base_url}.
|
63
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
64
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
65
|
+
# Example:
|
66
|
+
#
|
67
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
68
|
+
# path = "/path"
|
69
|
+
# options = {
|
70
|
+
# body: request_content,
|
71
|
+
# query_params: {'api-version' => '2016-02-01'}
|
72
|
+
# }
|
73
|
+
# result = @client.make_request(:put, path, options)
|
74
|
+
#
|
75
|
+
def make_request(method, path, options = {})
|
76
|
+
result = make_request_with_http_info(method, path, options)
|
77
|
+
result.body unless result.nil?
|
78
|
+
end
|
79
|
+
|
80
|
+
#
|
81
|
+
# Makes a request and returns the operation response.
|
82
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
83
|
+
# @param path [String] the path, relative to {base_url}.
|
84
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
85
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
86
|
+
#
|
87
|
+
def make_request_with_http_info(method, path, options = {})
|
88
|
+
result = make_request_async(method, path, options).value!
|
89
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
90
|
+
result
|
91
|
+
end
|
92
|
+
|
93
|
+
#
|
94
|
+
# Makes a request asynchronously.
|
95
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
96
|
+
# @param path [String] the path, relative to {base_url}.
|
97
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
98
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
99
|
+
#
|
100
|
+
def make_request_async(method, path, options = {})
|
101
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
102
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
103
|
+
|
104
|
+
request_url = options[:base_url] || @base_url
|
105
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
106
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
107
|
+
end
|
108
|
+
|
109
|
+
request_headers = @request_headers
|
110
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
111
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
112
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
113
|
+
|
114
|
+
super(request_url, method, path, options)
|
115
|
+
end
|
116
|
+
|
117
|
+
|
118
|
+
private
|
119
|
+
#
|
120
|
+
# Adds telemetry information.
|
121
|
+
#
|
122
|
+
def add_telemetry
|
123
|
+
sdk_information = 'azure_mgmt_security'
|
124
|
+
sdk_information = "#{sdk_information}/0.18.0"
|
125
|
+
add_user_agent_information(sdk_information)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|