azure_mgmt_security 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
  3. data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
  4. data/lib/2017-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
  5. data/lib/2018-06-01/generated/azure_mgmt_security/security_center.rb +1 -1
  6. data/lib/2019-01-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
  7. data/lib/2019-01-01/generated/azure_mgmt_security/security_center.rb +1 -1
  8. data/lib/2019-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
  9. data/lib/2020-01-01-preview/generated/azure_mgmt_security.rb +48 -0
  10. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
  11. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/azure_resource_link.rb +47 -0
  12. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/control_type.rb +16 -0
  13. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
  14. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/expand_controls_enum.rb +15 -0
  15. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
  16. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/location.rb +47 -0
  17. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
  18. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_item.rb +141 -0
  19. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_list.rb +101 -0
  20. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_source.rb +47 -0
  21. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb +153 -0
  22. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_list.rb +101 -0
  23. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_score.rb +69 -0
  24. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_item.rb +104 -0
  25. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_scores_list.rb +101 -0
  26. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
  27. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +126 -0
  28. data/lib/2020-01-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
  29. data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_score_control_definitions.rb +423 -0
  30. data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_score_controls.rb +444 -0
  31. data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_scores.rb +326 -0
  32. data/lib/2020-01-01-preview/generated/azure_mgmt_security/security_center.rb +139 -0
  33. data/lib/2020-01-01/generated/azure_mgmt_security.rb +121 -0
  34. data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_application_controls.rb +394 -0
  35. data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_network_hardenings.rb +539 -0
  36. data/lib/2020-01-01/generated/azure_mgmt_security/allowed_connections.rb +535 -0
  37. data/lib/2020-01-01/generated/azure_mgmt_security/assessments.rb +555 -0
  38. data/lib/2020-01-01/generated/azure_mgmt_security/assessments_metadata.rb +799 -0
  39. data/lib/2020-01-01/generated/azure_mgmt_security/discovered_security_solutions.rb +532 -0
  40. data/lib/2020-01-01/generated/azure_mgmt_security/external_security_solutions.rb +525 -0
  41. data/lib/2020-01-01/generated/azure_mgmt_security/jit_network_access_policies.rb +1295 -0
  42. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state.rb +17 -0
  43. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state1.rb +48 -0
  44. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_external_security_solution.rb +99 -0
  45. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_solution_properties.rb +83 -0
  46. data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening.rb +116 -0
  47. data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb +77 -0
  48. data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb +99 -0
  49. data/lib/2020-01-01/generated/azure_mgmt_security/models/allowed_connections_list.rb +100 -0
  50. data/lib/2020-01-01/generated/azure_mgmt_security/models/allowed_connections_resource.rb +118 -0
  51. data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_group.rb +207 -0
  52. data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_groups.rb +56 -0
  53. data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb +61 -0
  54. data/lib/2020-01-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
  55. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_links.rb +47 -0
  56. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status.rb +71 -0
  57. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status_code.rb +17 -0
  58. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_type.rb +18 -0
  59. data/lib/2020-01-01/generated/azure_mgmt_security/models/ata_external_security_solution.rb +98 -0
  60. data/lib/2020-01-01/generated/azure_mgmt_security/models/ata_solution_properties.rb +87 -0
  61. data/lib/2020-01-01/generated/azure_mgmt_security/models/azure_resource_details.rb +62 -0
  62. data/lib/2020-01-01/generated/azure_mgmt_security/models/category.rb +19 -0
  63. data/lib/2020-01-01/generated/azure_mgmt_security/models/cef_external_security_solution.rb +98 -0
  64. data/lib/2020-01-01/generated/azure_mgmt_security/models/cef_solution_properties.rb +109 -0
  65. data/lib/2020-01-01/generated/azure_mgmt_security/models/connectable_resource.rb +91 -0
  66. data/lib/2020-01-01/generated/azure_mgmt_security/models/connected_resource.rb +71 -0
  67. data/lib/2020-01-01/generated/azure_mgmt_security/models/connected_workspace.rb +47 -0
  68. data/lib/2020-01-01/generated/azure_mgmt_security/models/connection_type.rb +16 -0
  69. data/lib/2020-01-01/generated/azure_mgmt_security/models/direction.rb +16 -0
  70. data/lib/2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution.rb +129 -0
  71. data/lib/2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution_list.rb +99 -0
  72. data/lib/2020-01-01/generated/azure_mgmt_security/models/effective_network_security_groups.rb +66 -0
  73. data/lib/2020-01-01/generated/azure_mgmt_security/models/etag.rb +48 -0
  74. data/lib/2020-01-01/generated/azure_mgmt_security/models/expand_enum.rb +16 -0
  75. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb +98 -0
  76. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind.rb +17 -0
  77. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind1.rb +47 -0
  78. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_list.rb +101 -0
  79. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_properties.rb +88 -0
  80. data/lib/2020-01-01/generated/azure_mgmt_security/models/implementation_effort.rb +17 -0
  81. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb +99 -0
  82. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy.rb +149 -0
  83. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb +70 -0
  84. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb +68 -0
  85. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb +70 -0
  86. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb +81 -0
  87. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb +103 -0
  88. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request.rb +89 -0
  89. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb +128 -0
  90. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb +69 -0
  91. data/lib/2020-01-01/generated/azure_mgmt_security/models/kind.rb +46 -0
  92. data/lib/2020-01-01/generated/azure_mgmt_security/models/location.rb +47 -0
  93. data/lib/2020-01-01/generated/azure_mgmt_security/models/on_premise_resource_details.rb +95 -0
  94. data/lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb +156 -0
  95. data/lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb +80 -0
  96. data/lib/2020-01-01/generated/azure_mgmt_security/models/protocol.rb +17 -0
  97. data/lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb +84 -0
  98. data/lib/2020-01-01/generated/azure_mgmt_security/models/resource.rb +80 -0
  99. data/lib/2020-01-01/generated/azure_mgmt_security/models/resource_details.rb +47 -0
  100. data/lib/2020-01-01/generated/azure_mgmt_security/models/rule.rb +111 -0
  101. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment.rb +156 -0
  102. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_list.rb +101 -0
  103. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata.rb +221 -0
  104. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_list.rb +100 -0
  105. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_partner_data.rb +70 -0
  106. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_properties.rb +194 -0
  107. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_partner_data.rb +57 -0
  108. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_family.rb +18 -0
  109. data/lib/2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb +76 -0
  110. data/lib/2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb +55 -0
  111. data/lib/2020-01-01/generated/azure_mgmt_security/models/severity.rb +17 -0
  112. data/lib/2020-01-01/generated/azure_mgmt_security/models/status.rb +16 -0
  113. data/lib/2020-01-01/generated/azure_mgmt_security/models/status_reason.rb +17 -0
  114. data/lib/2020-01-01/generated/azure_mgmt_security/models/tags.rb +55 -0
  115. data/lib/2020-01-01/generated/azure_mgmt_security/models/threats.rb +22 -0
  116. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_list.rb +100 -0
  117. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_resource.rb +118 -0
  118. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb +154 -0
  119. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_child.rb +49 -0
  120. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_parent.rb +49 -0
  121. data/lib/2020-01-01/generated/azure_mgmt_security/models/tracked_resource.rb +126 -0
  122. data/lib/2020-01-01/generated/azure_mgmt_security/models/transport_protocol.rb +16 -0
  123. data/lib/2020-01-01/generated/azure_mgmt_security/models/user_impact.rb +17 -0
  124. data/lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb +58 -0
  125. data/lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb +81 -0
  126. data/lib/2020-01-01/generated/azure_mgmt_security/module_definition.rb +9 -0
  127. data/lib/2020-01-01/generated/azure_mgmt_security/security_center.rb +172 -0
  128. data/lib/2020-01-01/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb +462 -0
  129. data/lib/2020-01-01/generated/azure_mgmt_security/topology.rb +530 -0
  130. data/lib/azure_mgmt_security.rb +2 -0
  131. data/lib/profiles/latest/modules/security_profile_module.rb +366 -258
  132. data/lib/version.rb +1 -1
  133. metadata +123 -2
@@ -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::V2020_01_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class JitNetworkAccessRequestPort
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Integer]
17
+ attr_accessor :number
18
+
19
+ # @return [String] Mutually exclusive with the
20
+ # "allowedSourceAddressPrefixes" parameter. Should be an IP address or
21
+ # CIDR, for example "192.168.0.3" or "192.168.0.0/16".
22
+ attr_accessor :allowed_source_address_prefix
23
+
24
+ # @return [Array<String>] Mutually exclusive with the
25
+ # "allowedSourceAddressPrefix" parameter.
26
+ attr_accessor :allowed_source_address_prefixes
27
+
28
+ # @return [DateTime] The date & time at which the request ends in UTC
29
+ attr_accessor :end_time_utc
30
+
31
+ # @return [Status] The status of the port. Possible values include:
32
+ # 'Revoked', 'Initiated'
33
+ attr_accessor :status
34
+
35
+ # @return [StatusReason] A description of why the `status` has its value.
36
+ # Possible values include: 'Expired', 'UserRequested',
37
+ # 'NewerRequestInitiated'
38
+ attr_accessor :status_reason
39
+
40
+ # @return [Integer] The port which is mapped to this port's `number` in
41
+ # the Azure Firewall, if applicable
42
+ attr_accessor :mapped_port
43
+
44
+
45
+ #
46
+ # Mapper for JitNetworkAccessRequestPort class as Ruby Hash.
47
+ # This will be used for serialization/deserialization.
48
+ #
49
+ def self.mapper()
50
+ {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'JitNetworkAccessRequestPort',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'JitNetworkAccessRequestPort',
57
+ model_properties: {
58
+ number: {
59
+ client_side_validation: true,
60
+ required: true,
61
+ serialized_name: 'number',
62
+ type: {
63
+ name: 'Number'
64
+ }
65
+ },
66
+ allowed_source_address_prefix: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'allowedSourceAddressPrefix',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ allowed_source_address_prefixes: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'allowedSourceAddressPrefixes',
78
+ type: {
79
+ name: 'Sequence',
80
+ element: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'StringElementType',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ },
90
+ end_time_utc: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'endTimeUtc',
94
+ type: {
95
+ name: 'DateTime'
96
+ }
97
+ },
98
+ status: {
99
+ client_side_validation: true,
100
+ required: true,
101
+ serialized_name: 'status',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ status_reason: {
107
+ client_side_validation: true,
108
+ required: true,
109
+ serialized_name: 'statusReason',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ mapped_port: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'mappedPort',
118
+ type: {
119
+ name: 'Number'
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ end
126
+ end
127
+ end
128
+ end
@@ -0,0 +1,69 @@
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::V2020_01_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class JitNetworkAccessRequestVirtualMachine
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource ID of the virtual machine that is linked to
17
+ # this policy
18
+ attr_accessor :id
19
+
20
+ # @return [Array<JitNetworkAccessRequestPort>] The ports that were opened
21
+ # for the virtual machine
22
+ attr_accessor :ports
23
+
24
+
25
+ #
26
+ # Mapper for JitNetworkAccessRequestVirtualMachine class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'JitNetworkAccessRequestVirtualMachine',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'JitNetworkAccessRequestVirtualMachine',
37
+ model_properties: {
38
+ id: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'id',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ ports: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'ports',
50
+ type: {
51
+ name: 'Sequence',
52
+ element: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'JitNetworkAccessRequestPortElementType',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'JitNetworkAccessRequestPort'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,46 @@
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::V2020_01_01
7
+ module Models
8
+ #
9
+ # Describes an Azure resource with kind
10
+ #
11
+ class Kind
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Kind of the resource
16
+ attr_accessor :kind
17
+
18
+
19
+ #
20
+ # Mapper for Kind 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: 'Kind',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'Kind',
31
+ model_properties: {
32
+ kind: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'kind',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,47 @@
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::V2020_01_01
7
+ module Models
8
+ #
9
+ # Describes an Azure resource with location
10
+ #
11
+ class Location
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Location where the resource is stored
16
+ attr_accessor :location
17
+
18
+
19
+ #
20
+ # Mapper for Location 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: 'Location',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'Location',
31
+ model_properties: {
32
+ location: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'location',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,95 @@
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::V2020_01_01
7
+ module Models
8
+ #
9
+ # Details of the On Premise resource that was assessed
10
+ #
11
+ class OnPremiseResourceDetails < ResourceDetails
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @source = "OnPremise"
18
+ end
19
+
20
+ attr_accessor :source
21
+
22
+ # @return [String] Azure resource Id of the workspace the machine is
23
+ # attached to
24
+ attr_accessor :workspace_id
25
+
26
+ # @return [String] The unique Id of the machine
27
+ attr_accessor :vmuuid
28
+
29
+ # @return [String] The oms agent Id installed on the machine
30
+ attr_accessor :source_computer_id
31
+
32
+ # @return [String] The name of the machine
33
+ attr_accessor :machine_name
34
+
35
+
36
+ #
37
+ # Mapper for OnPremiseResourceDetails class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'OnPremise',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'OnPremiseResourceDetails',
48
+ model_properties: {
49
+ source: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'source',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ workspace_id: {
58
+ client_side_validation: true,
59
+ required: true,
60
+ serialized_name: 'workspaceId',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ vmuuid: {
66
+ client_side_validation: true,
67
+ required: true,
68
+ serialized_name: 'vmuuid',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ source_computer_id: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'sourceComputerId',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ machine_name: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'machineName',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,156 @@
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::V2020_01_01
7
+ module Models
8
+ #
9
+ # Represents a path that is recommended to be allowed and its properties
10
+ #
11
+ class PathRecommendation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The full path to whitelist
16
+ attr_accessor :path
17
+
18
+ # @return [Enum] Possible values include: 'Recommended', 'Add', 'Remove'
19
+ attr_accessor :action
20
+
21
+ # @return [Enum] Possible values include: 'File', 'FileHash',
22
+ # 'PublisherSignature', 'ProductSignature', 'BinarySignature',
23
+ # 'VersionAndAboveSignature'
24
+ attr_accessor :type
25
+
26
+ # @return [PublisherInfo]
27
+ attr_accessor :publisher_info
28
+
29
+ # @return [Boolean] Whether the path is commonly run on the machine
30
+ attr_accessor :common
31
+
32
+ # @return [Array<String>]
33
+ attr_accessor :user_sids
34
+
35
+ # @return [Array<UserRecommendation>]
36
+ attr_accessor :usernames
37
+
38
+ # @return [Enum] Possible values include: 'Exe', 'Dll', 'Msi', 'Script',
39
+ # 'Executable', 'Unknown'
40
+ attr_accessor :file_type
41
+
42
+ # @return [Enum] Possible values include: 'Configured', 'NotConfigured',
43
+ # 'InProgress', 'Failed', 'NoStatus'
44
+ attr_accessor :configuration_status
45
+
46
+
47
+ #
48
+ # Mapper for PathRecommendation class as Ruby Hash.
49
+ # This will be used for serialization/deserialization.
50
+ #
51
+ def self.mapper()
52
+ {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'PathRecommendation',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'PathRecommendation',
59
+ model_properties: {
60
+ path: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'path',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ action: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'action',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ type: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'type',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ publisher_info: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'publisherInfo',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'PublisherInfo'
91
+ }
92
+ },
93
+ common: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'common',
97
+ type: {
98
+ name: 'Boolean'
99
+ }
100
+ },
101
+ user_sids: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'userSids',
105
+ type: {
106
+ name: 'Sequence',
107
+ element: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'StringElementType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ }
115
+ }
116
+ },
117
+ usernames: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'usernames',
121
+ type: {
122
+ name: 'Sequence',
123
+ element: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'UserRecommendationElementType',
127
+ type: {
128
+ name: 'Composite',
129
+ class_name: 'UserRecommendation'
130
+ }
131
+ }
132
+ }
133
+ },
134
+ file_type: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'fileType',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ },
142
+ configuration_status: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'configurationStatus',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ end
154
+ end
155
+ end
156
+ end