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.
- checksums.yaml +4 -4
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2017-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2019-01-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2020-01-01-preview/generated/azure_mgmt_security.rb +48 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/azure_resource_link.rb +47 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/control_type.rb +16 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/expand_controls_enum.rb +15 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/location.rb +47 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_item.rb +141 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_list.rb +101 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_source.rb +47 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb +153 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_list.rb +101 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_score.rb +69 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_item.rb +104 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_scores_list.rb +101 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +126 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_score_control_definitions.rb +423 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_score_controls.rb +444 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_scores.rb +326 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/security_center.rb +139 -0
- data/lib/2020-01-01/generated/azure_mgmt_security.rb +121 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_application_controls.rb +394 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_network_hardenings.rb +539 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/allowed_connections.rb +535 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/assessments.rb +555 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/assessments_metadata.rb +799 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/discovered_security_solutions.rb +532 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/external_security_solutions.rb +525 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/jit_network_access_policies.rb +1295 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state1.rb +48 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_external_security_solution.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_solution_properties.rb +83 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening.rb +116 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb +77 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/allowed_connections_list.rb +100 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/allowed_connections_resource.rb +118 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_group.rb +207 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_groups.rb +56 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb +61 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_links.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status.rb +71 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status_code.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_type.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/ata_external_security_solution.rb +98 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/ata_solution_properties.rb +87 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/azure_resource_details.rb +62 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/category.rb +19 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/cef_external_security_solution.rb +98 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/cef_solution_properties.rb +109 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/connectable_resource.rb +91 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/connected_resource.rb +71 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/connected_workspace.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/connection_type.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/direction.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution.rb +129 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/effective_network_security_groups.rb +66 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/expand_enum.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb +98 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind1.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_properties.rb +88 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/implementation_effort.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy.rb +149 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb +70 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb +68 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb +70 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb +81 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb +103 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request.rb +89 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb +128 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb +69 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/location.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/on_premise_resource_details.rb +95 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb +156 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb +80 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/protocol.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb +84 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/resource_details.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/rule.rb +111 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment.rb +156 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata.rb +221 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_list.rb +100 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_partner_data.rb +70 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_properties.rb +194 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_partner_data.rb +57 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_family.rb +18 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb +76 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb +55 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/severity.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/status.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/status_reason.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/threats.rb +22 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_list.rb +100 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_resource.rb +118 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb +154 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_child.rb +49 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_parent.rb +49 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/tracked_resource.rb +126 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/transport_protocol.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/user_impact.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb +58 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb +81 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/security_center.rb +172 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb +462 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/topology.rb +530 -0
- data/lib/azure_mgmt_security.rb +2 -0
- data/lib/profiles/latest/modules/security_profile_module.rb +366 -258
- data/lib/version.rb +1 -1
- 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
|