Class: Falcon::DomainDiscoverAPIHost
- Inherits:
-
Object
- Object
- Falcon::DomainDiscoverAPIHost
- Defined in:
- lib/crimson-falcon/models/domain_discover_api_host.rb
Instance Attribute Summary collapse
-
#account_enabled ⇒ Object
Whether the asset is account-enabled in Active Directory (Yes or No).
-
#active_discovery ⇒ Object
Returns the value of attribute active_discovery.
-
#ad_user_account_control ⇒ Object
The user account control properties in Active Directory.
-
#ad_virtual_server ⇒ Object
Whether the asset is a virtual server or not (Yes, No).
-
#agent_version ⇒ Object
The version of the Falcon sensor that’s installed on the asset.
-
#aid ⇒ Object
The agent ID of the Falcon sensor installed on the asset.
-
#asset_roles ⇒ Object
The asset role or roles currently assigned to the asset either automatically or by a user (Jump host, Highly connected, Highly active, Server by behavior, DHCP server, DNS server, FTP server, SSH server, or Web server).
-
#assigned_to ⇒ Object
The first and last name of the person who is assigned to this asset.
-
#available_disk_space ⇒ Object
The available disk space in the last 15 minutes on the host.
-
#available_disk_space_pct ⇒ Object
The available disk space percent in the last 15 minutes on the host.
-
#average_memory_usage ⇒ Object
The average memory usage in the last 15 minutes on the host.
-
#average_memory_usage_pct ⇒ Object
The average memory usage percent in the last 15 minutes on the host.
-
#average_processor_usage ⇒ Object
The average processor usage in the last 15 minutes on the host.
-
#bios_hashes_data ⇒ Object
The list of found sha256 and their measurement types.
-
#bios_id ⇒ Object
The id of the bios on the host.
-
#bios_manufacturer ⇒ Object
The name of the asset’s BIOS manufacturer.
-
#bios_version ⇒ Object
The asset’s BIOS version.
-
#business_criticality ⇒ Object
The business criticality of the IoT asset.
-
#cid ⇒ Object
The asset’s customer ID.
-
#city ⇒ Object
The name of the city where the asset is located.
-
#claroty_id ⇒ Object
The external ID of the IoT Device in 3rd Party System(Claroty).
-
#classification ⇒ Object
How the server is classified, such as production, development, disaster recovery, or user acceptance testing.
-
#cloud_account_id ⇒ Object
The cloud provider assigned identifier of the cloud account the instance is located in.
-
#cloud_instance_id ⇒ Object
The id of the cloud instance.
-
#cloud_provider ⇒ Object
The cloud provider environment the instance is located in (AWS/Azure/GCP).
-
#cloud_region ⇒ Object
The cloud provider assigned identifier of the cloud region the instance is located in (e.g. “us-west-1”, “westeurope”, “asia-northeast1).
-
#cloud_registered ⇒ Object
Whether or not the instance is located in a cloud account registered with cloud security posture.
-
#cloud_resource_id ⇒ Object
The cloud provider assigned identifier of the instance.
-
#composite_internet_exposure ⇒ Object
The composite internet exposure of the asset.
-
#computed_asset_roles ⇒ Object
The asset role or roles assigned to the asset automatically (Jump host, Highly connected, Highly active, Server by behavior, DHCP server, DNS server, FTP server, SSH server, or Web server).
-
#computed_internet_exposure ⇒ Object
Whether the asset is exposed to the internet as determined automatically (Yes, No, or Pending).
-
#computed_internet_exposure_external_ip ⇒ Object
External IP exposed to the internet.
-
#computed_internet_exposure_last_seen ⇒ Object
When the asset was last seen as internet exposed.
-
#confidence ⇒ Object
The level of confidence that the asset is a corporate asset (25 = low confidence, 50 = medium confidence, 75 = high confidence).
-
#country ⇒ Object
The name of the country where the asset is located.
-
#cpu_manufacturer ⇒ Object
The manufacturer of the asset’s CPU.
-
#cpu_processor_name ⇒ Object
The name of the processor on the system.
-
#creation_timestamp ⇒ Object
The time the asset was created in Active Directory, according to LDAP info.
-
#criticality ⇒ Object
The criticality level of the asset (Critical, High, Noncritical, or Unassigned).
-
#criticality_description ⇒ Object
The description the user entered when manually assigning a criticality level.
-
#criticality_rule_id ⇒ Object
The ID of the criticality rule that has most recently applied to the asset.
-
#criticality_timestamp ⇒ Object
The date and time the criticality level was manually assigned.
-
#criticality_username ⇒ Object
The username of the account that manually assigned the criticality level.
-
#current_local_ip ⇒ Object
The last seen local IPv4 address of the asset.
-
#current_network_prefix ⇒ Object
The last seen network prefix of the asset.
-
#data_providers ⇒ Object
Where the data about the asset came from (such as CrowdStrike, ServiceNow, or Active Directory).
-
#data_providers_count ⇒ Object
How many services provided data about the asset.
-
#department ⇒ Object
The department where the asset is used.
-
#descriptions ⇒ Object
The descriptions of the asset in Active Directory (Cannot be used for filtering, sorting, or querying).
-
#device_class ⇒ Object
The Device Class of IoT Asset.
-
#device_family ⇒ Object
The Device Family of IoT Asset.
-
#device_mode ⇒ Object
The device mode of the host.
-
#device_slots ⇒ Object
The slots of IoT Asset.
-
#device_type ⇒ Object
The Device Type of IoT Asset.
-
#discoverer_aids ⇒ Object
The agent IDs of the Falcon sensors installed on the sources that discovered the asset.
-
#discoverer_count ⇒ Object
The number of sources that discovered the asset.
-
#discoverer_criticalities ⇒ Object
The criticalities of the sources that discovered the asset.
-
#discoverer_hostnames ⇒ Object
The hostnames of the sources that discovered the asset.
-
#discoverer_ics_collector_ids ⇒ Object
A list of agent IDs of the Falcon sensors installed on the source hosts that discovered the asset via ICS Asset discovery mechanism.
-
#discoverer_platform_names ⇒ Object
The platform names of the sources that discovered the asset.
-
#discoverer_product_type_descs ⇒ Object
The product type descriptions of the sources that discovered the asset.
-
#discoverer_tags ⇒ Object
The tags of the sources that discovered the asset.
-
#discovering_by ⇒ Object
Represents the status of a managed host (“Not Discovering“, “Passive“, “Active“ or both).
-
#disk_sizes ⇒ Object
The names and sizes of the disks on the asset.
-
#dragos_id ⇒ Object
The ID generated by dragos asset discovery mechanism.
-
#email ⇒ Object
The email of the asset as listed in Active Directory.
-
#encrypted_drives ⇒ Object
The list of encrypted drives on the host.
-
#encrypted_drives_count ⇒ Object
The count of encrypted drives on the host.
-
#encryption_status ⇒ Object
The encryption status of the host.
-
#entity_type ⇒ Object
The type of asset (managed, unmanaged, unsupported).
-
#external_ip ⇒ Object
The external IPv4 address of the asset.
-
#field_metadata ⇒ Object
Lists the data providers for each property in the response (Cannot be used for filtering, sorting, or querying).
-
#first_discoverer_aid ⇒ Object
The agent ID of the Falcon sensor on the source that first discovered the asset.
-
#first_seen_timestamp ⇒ Object
The first time the asset was seen in your environment.
-
#form_factor ⇒ Object
The form factor of the host.
-
#fqdn ⇒ Object
The fully qualified domain name of the asset.
-
#groups ⇒ Object
The host management groups the asset is part of.
-
#hostname ⇒ Object
The asset’s hostname.
-
#ics_id ⇒ Object
The ID generated by ICS collector asset discovery mechanism.
-
#id ⇒ Object
The unique ID of the asset.
-
#imported_host_id ⇒ Object
Returns the value of attribute imported_host_id.
-
#internet_exposure ⇒ Object
Whether the asset is exposed to the internet (Yes, No or Pending).
-
#internet_exposure_description ⇒ Object
The description the user entered when manually assigning a internet exposure level.
-
#internet_exposure_timestamp ⇒ Object
The date and time the internet exposure level was manually assigned.
-
#internet_exposure_username ⇒ Object
The username of the account that manually assigned the internet exposure level.
-
#iot_imported ⇒ Object
Returns the value of attribute iot_imported.
-
#iot_tags ⇒ Object
Returns the value of attribute iot_tags.
-
#kernel_version ⇒ Object
For Linux and Mac hosts: the major version, minor version, and patch version of the kernel for the asset.
-
#last_discoverer_aid ⇒ Object
The agent ID of the Falcon sensor installed on the source that most recently discovered the asset.
-
#last_discoverer_hostname ⇒ Object
The hostname of the last source that discovered the asset.
-
#last_discoverer_ics_collector_id ⇒ Object
The agent ID of the Falcon sensor installed on the source host that most recently discovered the asset via ICS Asset discovery mechanism.
-
#last_seen_timestamp ⇒ Object
The most recent time the asset was seen in your environment.
-
#local_ip_addresses ⇒ Object
Historical local IPv4 addresses associated with the asset.
-
#local_ips_count ⇒ Object
The number of historical local IPv4 addresses the asset has had.
-
#location ⇒ Object
The location of the asset.
-
#logical_core_count ⇒ Object
The number of logical cores available on the system.
-
#mac_addresses ⇒ Object
Historical MAC addresses associated with the asset.
-
#machine_domain ⇒ Object
The domain name the asset is currently joined to.
-
#managed_by ⇒ Object
The first and last name of the person who manages this asset.
-
#max_memory_usage ⇒ Object
The max memory usage in the last 15 minutes on the host.
-
#max_memory_usage_pct ⇒ Object
The max memory usage percent in the last 15 minutes on the host.
-
#max_processor_usage ⇒ Object
The max processor usage in the last 15 minutes on the host.
-
#memory_total ⇒ Object
The Total memory.
-
#mount_storage_info ⇒ Object
The path, used and available space on mounted disks.
-
#network_id ⇒ Object
The network ID to which device is connected.
-
#network_interfaces ⇒ Object
The asset’s network interfaces (Cannot be used for filtering, sorting, or querying).
-
#network_scanned_ids ⇒ Object
The set of unique identifiers for the asset scanned by the Falcon sensor.
-
#number_of_disk_drives ⇒ Object
The number of active physical drives available on the system.
-
#object_guid ⇒ Object
The globally unique identifier (GUID) of the asset in Active Directory.
-
#object_sid ⇒ Object
The security identifier (SID) of the asset in Active Directory.
-
#os_is_eol ⇒ Object
Whether the asset is at end of support (Yes, No, or Unknown).
-
#os_security ⇒ Object
Returns the value of attribute os_security.
-
#os_service_pack ⇒ Object
The OS service pack on the asset.
-
#os_version ⇒ Object
The OS version of the asset.
-
#ot_information_sources ⇒ Object
A list of sources through which host is discovered.
-
#ot_network_ids ⇒ Object
A list of network ids to which host belongs.
-
#ot_serial_numbers ⇒ Object
A list of ot serial numbers that discovered with host.
-
#ou ⇒ Object
The organizational unit of the asset.
-
#ous ⇒ Object
The organizational units of the asset.
-
#override_asset_roles ⇒ Object
Whether a user overrode automatically assigned asset roles to manually assign a role to the asset (true or false).
-
#override_criticality_rules ⇒ Object
Whether a user overrode a criticality rule to manually assign a criticality level on the asset (true or false).
-
#override_internet_exposure ⇒ Object
Whether a user overrode the automatically assigned internet exposure (True or False).
-
#owned_by ⇒ Object
The first and last name of the person who owns this asset.
-
#physical_core_count ⇒ Object
The number of physical CPU cores available on the system.
-
#platform_name ⇒ Object
The platform name of the asset (Windows, Mac, Linux).
-
#processor_package_count ⇒ Object
The number of physical processors available on the system.
-
#product_type ⇒ Object
The product type of the asset represented as a number (1 = Workstation, 2 = Domain Controller, 3 = Server).
-
#product_type_desc ⇒ Object
The product type of the asset (Workstation, Domain Controller, Server).
-
#protocols ⇒ Object
The list of protocols supported by the device.
-
#purdue_level ⇒ Object
The purdue level of IoT Asset.
-
#qualys_id ⇒ Object
Represents the unique identifier of an asset reported by Qualys.
-
#qualys_network_id ⇒ Object
Represents the network id of an asset reported by Qualys.
-
#reduced_functionality_mode ⇒ Object
Whether the asset is in reduced functionality mode (Yes or No).
-
#scan_details ⇒ Object
Represents information about the scans that this host has been a part of’.
-
#servicenow_id ⇒ Object
The unique identifier of the asset from ServiceNow, if any.
-
#site_name ⇒ Object
The site name of the domain the asset is joined to (applies only to Windows hosts).
-
#state ⇒ Object
The name of the U.S.
-
#subnet ⇒ Object
The subnet to which device is connected.
-
#system_manufacturer ⇒ Object
The asset’s system manufacturer.
-
#system_product_name ⇒ Object
The asset’s system product name.
-
#system_serial_number ⇒ Object
The asset’s system serial number.
-
#tags ⇒ Object
The sensor and cloud tags of the asset.
-
#tenableio_id ⇒ Object
Represents the unique identifier of an asset reported by Tenable.
-
#total_bios_files ⇒ Object
The count of bios files measured by the firmware image.
-
#total_disk_space ⇒ Object
Total amount of disk space available on the system.
-
#total_memory ⇒ Object
The total memory of the asset.
-
#triage ⇒ Object
Returns the value of attribute triage.
-
#unencrypted_drives ⇒ Object
The list of unencrypted drives on the host.
-
#unencrypted_drives_count ⇒ Object
The count of unencrypted drives on the host.
-
#used_disk_space ⇒ Object
The used disk space in the last 15 minutes on the host.
-
#used_disk_space_pct ⇒ Object
The used disk space percent in the last 15 minutes on the host.
-
#used_for ⇒ Object
What the asset is used for, such as production, staging, or QA.
-
#user_asset_roles ⇒ Object
The asset role or roles manually assigned to the asset.
-
#user_internet_exposure ⇒ Object
The internet exposure manually assigned to the asset.
-
#virtual_zone ⇒ Object
The Virtual Zone name in which device is installed.
-
#vlan ⇒ Object
The VLAN IDs to which device is connected.
-
#vulnerability_assessment_date ⇒ Object
Represents the date when this host has been assessed for vulnerabilities.
-
#xdome_id ⇒ Object
The external ID of the IoT Device in 3rd Party System(Claroty Xdome).
Class Method Summary collapse
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ DomainDiscoverAPIHost
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ DomainDiscoverAPIHost
Initializes the object
844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 844 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Falcon::DomainDiscoverAPIHost` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `Falcon::DomainDiscoverAPIHost`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'account_enabled') self.account_enabled = attributes[:'account_enabled'] end if attributes.key?(:'active_discovery') self.active_discovery = attributes[:'active_discovery'] end if attributes.key?(:'ad_user_account_control') self.ad_user_account_control = attributes[:'ad_user_account_control'] end if attributes.key?(:'ad_virtual_server') self.ad_virtual_server = attributes[:'ad_virtual_server'] end if attributes.key?(:'agent_version') self.agent_version = attributes[:'agent_version'] end if attributes.key?(:'aid') self.aid = attributes[:'aid'] end if attributes.key?(:'asset_roles') if (value = attributes[:'asset_roles']).is_a?(Array) self.asset_roles = value end end if attributes.key?(:'assigned_to') self.assigned_to = attributes[:'assigned_to'] end if attributes.key?(:'available_disk_space') self.available_disk_space = attributes[:'available_disk_space'] end if attributes.key?(:'available_disk_space_pct') self.available_disk_space_pct = attributes[:'available_disk_space_pct'] end if attributes.key?(:'average_memory_usage') self.average_memory_usage = attributes[:'average_memory_usage'] end if attributes.key?(:'average_memory_usage_pct') self.average_memory_usage_pct = attributes[:'average_memory_usage_pct'] end if attributes.key?(:'average_processor_usage') self.average_processor_usage = attributes[:'average_processor_usage'] end if attributes.key?(:'bios_hashes_data') if (value = attributes[:'bios_hashes_data']).is_a?(Array) self.bios_hashes_data = value end end if attributes.key?(:'bios_id') self.bios_id = attributes[:'bios_id'] end if attributes.key?(:'bios_manufacturer') self.bios_manufacturer = attributes[:'bios_manufacturer'] end if attributes.key?(:'bios_version') self.bios_version = attributes[:'bios_version'] end if attributes.key?(:'business_criticality') self.business_criticality = attributes[:'business_criticality'] end if attributes.key?(:'cid') self.cid = attributes[:'cid'] end if attributes.key?(:'city') self.city = attributes[:'city'] end if attributes.key?(:'claroty_id') self.claroty_id = attributes[:'claroty_id'] end if attributes.key?(:'classification') self.classification = attributes[:'classification'] end if attributes.key?(:'cloud_account_id') self.cloud_account_id = attributes[:'cloud_account_id'] end if attributes.key?(:'cloud_instance_id') self.cloud_instance_id = attributes[:'cloud_instance_id'] end if attributes.key?(:'cloud_provider') self.cloud_provider = attributes[:'cloud_provider'] end if attributes.key?(:'cloud_region') self.cloud_region = attributes[:'cloud_region'] end if attributes.key?(:'cloud_registered') self.cloud_registered = attributes[:'cloud_registered'] end if attributes.key?(:'cloud_resource_id') self.cloud_resource_id = attributes[:'cloud_resource_id'] end if attributes.key?(:'composite_internet_exposure') self.composite_internet_exposure = attributes[:'composite_internet_exposure'] end if attributes.key?(:'computed_asset_roles') if (value = attributes[:'computed_asset_roles']).is_a?(Array) self.computed_asset_roles = value end end if attributes.key?(:'computed_internet_exposure') self.computed_internet_exposure = attributes[:'computed_internet_exposure'] end if attributes.key?(:'computed_internet_exposure_external_ip') self.computed_internet_exposure_external_ip = attributes[:'computed_internet_exposure_external_ip'] end if attributes.key?(:'computed_internet_exposure_last_seen') self.computed_internet_exposure_last_seen = attributes[:'computed_internet_exposure_last_seen'] end if attributes.key?(:'confidence') self.confidence = attributes[:'confidence'] end if attributes.key?(:'country') self.country = attributes[:'country'] end if attributes.key?(:'cpu_manufacturer') self.cpu_manufacturer = attributes[:'cpu_manufacturer'] end if attributes.key?(:'cpu_processor_name') self.cpu_processor_name = attributes[:'cpu_processor_name'] end if attributes.key?(:'creation_timestamp') self. = attributes[:'creation_timestamp'] end if attributes.key?(:'criticality') self.criticality = attributes[:'criticality'] end if attributes.key?(:'criticality_description') self.criticality_description = attributes[:'criticality_description'] end if attributes.key?(:'criticality_rule_id') self.criticality_rule_id = attributes[:'criticality_rule_id'] end if attributes.key?(:'criticality_timestamp') self. = attributes[:'criticality_timestamp'] end if attributes.key?(:'criticality_username') self.criticality_username = attributes[:'criticality_username'] end if attributes.key?(:'current_local_ip') self.current_local_ip = attributes[:'current_local_ip'] end if attributes.key?(:'current_network_prefix') self.current_network_prefix = attributes[:'current_network_prefix'] end if attributes.key?(:'data_providers') if (value = attributes[:'data_providers']).is_a?(Array) self.data_providers = value end end if attributes.key?(:'data_providers_count') self.data_providers_count = attributes[:'data_providers_count'] end if attributes.key?(:'department') self.department = attributes[:'department'] end if attributes.key?(:'descriptions') if (value = attributes[:'descriptions']).is_a?(Array) self.descriptions = value end end if attributes.key?(:'device_class') self.device_class = attributes[:'device_class'] end if attributes.key?(:'device_family') self.device_family = attributes[:'device_family'] end if attributes.key?(:'device_mode') self.device_mode = attributes[:'device_mode'] end if attributes.key?(:'device_slots') if (value = attributes[:'device_slots']).is_a?(Array) self.device_slots = value end end if attributes.key?(:'device_type') self.device_type = attributes[:'device_type'] end if attributes.key?(:'discoverer_aids') if (value = attributes[:'discoverer_aids']).is_a?(Array) self.discoverer_aids = value end end if attributes.key?(:'discoverer_count') self.discoverer_count = attributes[:'discoverer_count'] end if attributes.key?(:'discoverer_criticalities') if (value = attributes[:'discoverer_criticalities']).is_a?(Array) self.discoverer_criticalities = value end end if attributes.key?(:'discoverer_hostnames') if (value = attributes[:'discoverer_hostnames']).is_a?(Array) self.discoverer_hostnames = value end end if attributes.key?(:'discoverer_ics_collector_ids') if (value = attributes[:'discoverer_ics_collector_ids']).is_a?(Array) self.discoverer_ics_collector_ids = value end end if attributes.key?(:'discoverer_platform_names') if (value = attributes[:'discoverer_platform_names']).is_a?(Array) self.discoverer_platform_names = value end end if attributes.key?(:'discoverer_product_type_descs') if (value = attributes[:'discoverer_product_type_descs']).is_a?(Array) self.discoverer_product_type_descs = value end end if attributes.key?(:'discoverer_tags') if (value = attributes[:'discoverer_tags']).is_a?(Array) self. = value end end if attributes.key?(:'discovering_by') if (value = attributes[:'discovering_by']).is_a?(Array) self.discovering_by = value end end if attributes.key?(:'disk_sizes') if (value = attributes[:'disk_sizes']).is_a?(Array) self.disk_sizes = value end end if attributes.key?(:'dragos_id') self.dragos_id = attributes[:'dragos_id'] end if attributes.key?(:'email') self.email = attributes[:'email'] end if attributes.key?(:'encrypted_drives') if (value = attributes[:'encrypted_drives']).is_a?(Array) self.encrypted_drives = value end end if attributes.key?(:'encrypted_drives_count') self.encrypted_drives_count = attributes[:'encrypted_drives_count'] end if attributes.key?(:'encryption_status') self.encryption_status = attributes[:'encryption_status'] end if attributes.key?(:'entity_type') self.entity_type = attributes[:'entity_type'] end if attributes.key?(:'external_ip') self.external_ip = attributes[:'external_ip'] end if attributes.key?(:'field_metadata') if (value = attributes[:'field_metadata']).is_a?(Hash) self. = value end end if attributes.key?(:'first_discoverer_aid') self.first_discoverer_aid = attributes[:'first_discoverer_aid'] end if attributes.key?(:'first_seen_timestamp') self. = attributes[:'first_seen_timestamp'] end if attributes.key?(:'form_factor') self.form_factor = attributes[:'form_factor'] end if attributes.key?(:'fqdn') self.fqdn = attributes[:'fqdn'] end if attributes.key?(:'groups') if (value = attributes[:'groups']).is_a?(Array) self.groups = value end end if attributes.key?(:'hostname') self.hostname = attributes[:'hostname'] end if attributes.key?(:'ics_id') self.ics_id = attributes[:'ics_id'] end if attributes.key?(:'id') self.id = attributes[:'id'] end if attributes.key?(:'imported_host_id') self.imported_host_id = attributes[:'imported_host_id'] end if attributes.key?(:'internet_exposure') self.internet_exposure = attributes[:'internet_exposure'] end if attributes.key?(:'internet_exposure_description') self.internet_exposure_description = attributes[:'internet_exposure_description'] end if attributes.key?(:'internet_exposure_timestamp') self. = attributes[:'internet_exposure_timestamp'] end if attributes.key?(:'internet_exposure_username') self.internet_exposure_username = attributes[:'internet_exposure_username'] end if attributes.key?(:'iot_imported') self.iot_imported = attributes[:'iot_imported'] end if attributes.key?(:'iot_tags') if (value = attributes[:'iot_tags']).is_a?(Array) self. = value end end if attributes.key?(:'kernel_version') self.kernel_version = attributes[:'kernel_version'] end if attributes.key?(:'last_discoverer_aid') self.last_discoverer_aid = attributes[:'last_discoverer_aid'] end if attributes.key?(:'last_discoverer_hostname') self.last_discoverer_hostname = attributes[:'last_discoverer_hostname'] end if attributes.key?(:'last_discoverer_ics_collector_id') self.last_discoverer_ics_collector_id = attributes[:'last_discoverer_ics_collector_id'] end if attributes.key?(:'last_seen_timestamp') self. = attributes[:'last_seen_timestamp'] end if attributes.key?(:'local_ip_addresses') if (value = attributes[:'local_ip_addresses']).is_a?(Array) self.local_ip_addresses = value end end if attributes.key?(:'local_ips_count') self.local_ips_count = attributes[:'local_ips_count'] end if attributes.key?(:'location') self.location = attributes[:'location'] end if attributes.key?(:'logical_core_count') self.logical_core_count = attributes[:'logical_core_count'] end if attributes.key?(:'mac_addresses') if (value = attributes[:'mac_addresses']).is_a?(Array) self.mac_addresses = value end end if attributes.key?(:'machine_domain') self.machine_domain = attributes[:'machine_domain'] end if attributes.key?(:'managed_by') self.managed_by = attributes[:'managed_by'] end if attributes.key?(:'max_memory_usage') self.max_memory_usage = attributes[:'max_memory_usage'] end if attributes.key?(:'max_memory_usage_pct') self.max_memory_usage_pct = attributes[:'max_memory_usage_pct'] end if attributes.key?(:'max_processor_usage') self.max_processor_usage = attributes[:'max_processor_usage'] end if attributes.key?(:'memory_total') self.memory_total = attributes[:'memory_total'] end if attributes.key?(:'mount_storage_info') if (value = attributes[:'mount_storage_info']).is_a?(Array) self.mount_storage_info = value end end if attributes.key?(:'network_id') self.network_id = attributes[:'network_id'] end if attributes.key?(:'network_interfaces') if (value = attributes[:'network_interfaces']).is_a?(Array) self.network_interfaces = value end end if attributes.key?(:'network_scanned_ids') if (value = attributes[:'network_scanned_ids']).is_a?(Array) self.network_scanned_ids = value end end if attributes.key?(:'number_of_disk_drives') self.number_of_disk_drives = attributes[:'number_of_disk_drives'] end if attributes.key?(:'object_guid') self.object_guid = attributes[:'object_guid'] end if attributes.key?(:'object_sid') self.object_sid = attributes[:'object_sid'] end if attributes.key?(:'os_is_eol') self.os_is_eol = attributes[:'os_is_eol'] end if attributes.key?(:'os_security') self.os_security = attributes[:'os_security'] end if attributes.key?(:'os_service_pack') self.os_service_pack = attributes[:'os_service_pack'] end if attributes.key?(:'os_version') self.os_version = attributes[:'os_version'] end if attributes.key?(:'ot_information_sources') if (value = attributes[:'ot_information_sources']).is_a?(Array) self.ot_information_sources = value end end if attributes.key?(:'ot_network_ids') if (value = attributes[:'ot_network_ids']).is_a?(Array) self.ot_network_ids = value end end if attributes.key?(:'ot_serial_numbers') if (value = attributes[:'ot_serial_numbers']).is_a?(Array) self.ot_serial_numbers = value end end if attributes.key?(:'ou') self.ou = attributes[:'ou'] end if attributes.key?(:'ous') if (value = attributes[:'ous']).is_a?(Array) self.ous = value end end if attributes.key?(:'override_asset_roles') self.override_asset_roles = attributes[:'override_asset_roles'] end if attributes.key?(:'override_criticality_rules') self.override_criticality_rules = attributes[:'override_criticality_rules'] end if attributes.key?(:'override_internet_exposure') self.override_internet_exposure = attributes[:'override_internet_exposure'] end if attributes.key?(:'owned_by') self.owned_by = attributes[:'owned_by'] end if attributes.key?(:'physical_core_count') self.physical_core_count = attributes[:'physical_core_count'] end if attributes.key?(:'platform_name') self.platform_name = attributes[:'platform_name'] end if attributes.key?(:'processor_package_count') self.processor_package_count = attributes[:'processor_package_count'] end if attributes.key?(:'product_type') self.product_type = attributes[:'product_type'] end if attributes.key?(:'product_type_desc') self.product_type_desc = attributes[:'product_type_desc'] end if attributes.key?(:'protocols') if (value = attributes[:'protocols']).is_a?(Array) self.protocols = value end end if attributes.key?(:'purdue_level') self.purdue_level = attributes[:'purdue_level'] end if attributes.key?(:'qualys_id') self.qualys_id = attributes[:'qualys_id'] end if attributes.key?(:'qualys_network_id') self.qualys_network_id = attributes[:'qualys_network_id'] end if attributes.key?(:'reduced_functionality_mode') self.reduced_functionality_mode = attributes[:'reduced_functionality_mode'] end if attributes.key?(:'scan_details') if (value = attributes[:'scan_details']).is_a?(Array) self.scan_details = value end end if attributes.key?(:'servicenow_id') self.servicenow_id = attributes[:'servicenow_id'] end if attributes.key?(:'site_name') self.site_name = attributes[:'site_name'] end if attributes.key?(:'state') self.state = attributes[:'state'] end if attributes.key?(:'subnet') self.subnet = attributes[:'subnet'] end if attributes.key?(:'system_manufacturer') self.system_manufacturer = attributes[:'system_manufacturer'] end if attributes.key?(:'system_product_name') self.system_product_name = attributes[:'system_product_name'] end if attributes.key?(:'system_serial_number') self.system_serial_number = attributes[:'system_serial_number'] end if attributes.key?(:'tags') if (value = attributes[:'tags']).is_a?(Array) self. = value end end if attributes.key?(:'tenableio_id') self.tenableio_id = attributes[:'tenableio_id'] end if attributes.key?(:'total_bios_files') self.total_bios_files = attributes[:'total_bios_files'] end if attributes.key?(:'total_disk_space') self.total_disk_space = attributes[:'total_disk_space'] end if attributes.key?(:'total_memory') self.total_memory = attributes[:'total_memory'] end if attributes.key?(:'triage') self.triage = attributes[:'triage'] end if attributes.key?(:'unencrypted_drives') if (value = attributes[:'unencrypted_drives']).is_a?(Array) self.unencrypted_drives = value end end if attributes.key?(:'unencrypted_drives_count') self.unencrypted_drives_count = attributes[:'unencrypted_drives_count'] end if attributes.key?(:'used_disk_space') self.used_disk_space = attributes[:'used_disk_space'] end if attributes.key?(:'used_disk_space_pct') self.used_disk_space_pct = attributes[:'used_disk_space_pct'] end if attributes.key?(:'used_for') self.used_for = attributes[:'used_for'] end if attributes.key?(:'user_asset_roles') if (value = attributes[:'user_asset_roles']).is_a?(Array) self.user_asset_roles = value end end if attributes.key?(:'user_internet_exposure') self.user_internet_exposure = attributes[:'user_internet_exposure'] end if attributes.key?(:'virtual_zone') self.virtual_zone = attributes[:'virtual_zone'] end if attributes.key?(:'vlan') if (value = attributes[:'vlan']).is_a?(Array) self.vlan = value end end if attributes.key?(:'vulnerability_assessment_date') self.vulnerability_assessment_date = attributes[:'vulnerability_assessment_date'] end if attributes.key?(:'xdome_id') self.xdome_id = attributes[:'xdome_id'] end end |
Instance Attribute Details
#account_enabled ⇒ Object
Whether the asset is account-enabled in Active Directory (Yes or No).
36 37 38 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 36 def account_enabled @account_enabled end |
#active_discovery ⇒ Object
Returns the value of attribute active_discovery.
38 39 40 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 38 def active_discovery @active_discovery end |
#ad_user_account_control ⇒ Object
The user account control properties in Active Directory.
41 42 43 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 41 def ad_user_account_control @ad_user_account_control end |
#ad_virtual_server ⇒ Object
Whether the asset is a virtual server or not (Yes, No)
44 45 46 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 44 def ad_virtual_server @ad_virtual_server end |
#agent_version ⇒ Object
The version of the Falcon sensor that’s installed on the asset.
47 48 49 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 47 def agent_version @agent_version end |
#aid ⇒ Object
The agent ID of the Falcon sensor installed on the asset.
50 51 52 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 50 def aid @aid end |
#asset_roles ⇒ Object
The asset role or roles currently assigned to the asset either automatically or by a user (Jump host, Highly connected, Highly active, Server by behavior, DHCP server, DNS server, FTP server, SSH server, or Web server).
53 54 55 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 53 def asset_roles @asset_roles end |
#assigned_to ⇒ Object
The first and last name of the person who is assigned to this asset.
56 57 58 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 56 def assigned_to @assigned_to end |
#available_disk_space ⇒ Object
The available disk space in the last 15 minutes on the host
59 60 61 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 59 def available_disk_space @available_disk_space end |
#available_disk_space_pct ⇒ Object
The available disk space percent in the last 15 minutes on the host
62 63 64 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 62 def available_disk_space_pct @available_disk_space_pct end |
#average_memory_usage ⇒ Object
The average memory usage in the last 15 minutes on the host
65 66 67 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 65 def average_memory_usage @average_memory_usage end |
#average_memory_usage_pct ⇒ Object
The average memory usage percent in the last 15 minutes on the host
68 69 70 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 68 def average_memory_usage_pct @average_memory_usage_pct end |
#average_processor_usage ⇒ Object
The average processor usage in the last 15 minutes on the host
71 72 73 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 71 def average_processor_usage @average_processor_usage end |
#bios_hashes_data ⇒ Object
The list of found sha256 and their measurement types
74 75 76 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 74 def bios_hashes_data @bios_hashes_data end |
#bios_id ⇒ Object
The id of the bios on the host
77 78 79 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 77 def bios_id @bios_id end |
#bios_manufacturer ⇒ Object
The name of the asset’s BIOS manufacturer.
80 81 82 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 80 def bios_manufacturer @bios_manufacturer end |
#bios_version ⇒ Object
The asset’s BIOS version.
83 84 85 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 83 def bios_version @bios_version end |
#business_criticality ⇒ Object
The business criticality of the IoT asset.
86 87 88 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 86 def business_criticality @business_criticality end |
#cid ⇒ Object
The asset’s customer ID.
89 90 91 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 89 def cid @cid end |
#city ⇒ Object
The name of the city where the asset is located.
92 93 94 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 92 def city @city end |
#claroty_id ⇒ Object
The external ID of the IoT Device in 3rd Party System(Claroty).
95 96 97 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 95 def claroty_id @claroty_id end |
#classification ⇒ Object
How the server is classified, such as production, development, disaster recovery, or user acceptance testing.
98 99 100 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 98 def classification @classification end |
#cloud_account_id ⇒ Object
The cloud provider assigned identifier of the cloud account the instance is located in.
101 102 103 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 101 def cloud_account_id @cloud_account_id end |
#cloud_instance_id ⇒ Object
The id of the cloud instance.
104 105 106 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 104 def cloud_instance_id @cloud_instance_id end |
#cloud_provider ⇒ Object
The cloud provider environment the instance is located in (AWS/Azure/GCP).
107 108 109 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 107 def cloud_provider @cloud_provider end |
#cloud_region ⇒ Object
The cloud provider assigned identifier of the cloud region the instance is located in (e.g. “us-west-1”, “westeurope”, “asia-northeast1)
110 111 112 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 110 def cloud_region @cloud_region end |
#cloud_registered ⇒ Object
Whether or not the instance is located in a cloud account registered with cloud security posture.
113 114 115 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 113 def cloud_registered @cloud_registered end |
#cloud_resource_id ⇒ Object
The cloud provider assigned identifier of the instance.
116 117 118 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 116 def cloud_resource_id @cloud_resource_id end |
#composite_internet_exposure ⇒ Object
The composite internet exposure of the asset
119 120 121 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 119 def composite_internet_exposure @composite_internet_exposure end |
#computed_asset_roles ⇒ Object
The asset role or roles assigned to the asset automatically (Jump host, Highly connected, Highly active, Server by behavior, DHCP server, DNS server, FTP server, SSH server, or Web server).
122 123 124 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 122 def computed_asset_roles @computed_asset_roles end |
#computed_internet_exposure ⇒ Object
Whether the asset is exposed to the internet as determined automatically (Yes, No, or Pending).
125 126 127 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 125 def computed_internet_exposure @computed_internet_exposure end |
#computed_internet_exposure_external_ip ⇒ Object
External IP exposed to the internet.
128 129 130 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 128 def computed_internet_exposure_external_ip @computed_internet_exposure_external_ip end |
#computed_internet_exposure_last_seen ⇒ Object
When the asset was last seen as internet exposed.
131 132 133 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 131 def computed_internet_exposure_last_seen @computed_internet_exposure_last_seen end |
#confidence ⇒ Object
The level of confidence that the asset is a corporate asset (25 = low confidence, 50 = medium confidence, 75 = high confidence).
134 135 136 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 134 def confidence @confidence end |
#country ⇒ Object
The name of the country where the asset is located.
137 138 139 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 137 def country @country end |
#cpu_manufacturer ⇒ Object
The manufacturer of the asset’s CPU.
140 141 142 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 140 def cpu_manufacturer @cpu_manufacturer end |
#cpu_processor_name ⇒ Object
The name of the processor on the system
143 144 145 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 143 def cpu_processor_name @cpu_processor_name end |
#creation_timestamp ⇒ Object
The time the asset was created in Active Directory, according to LDAP info.
146 147 148 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 146 def @creation_timestamp end |
#criticality ⇒ Object
The criticality level of the asset (Critical, High, Noncritical, or Unassigned)
149 150 151 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 149 def criticality @criticality end |
#criticality_description ⇒ Object
The description the user entered when manually assigning a criticality level
152 153 154 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 152 def criticality_description @criticality_description end |
#criticality_rule_id ⇒ Object
The ID of the criticality rule that has most recently applied to the asset.
155 156 157 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 155 def criticality_rule_id @criticality_rule_id end |
#criticality_timestamp ⇒ Object
The date and time the criticality level was manually assigned
158 159 160 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 158 def @criticality_timestamp end |
#criticality_username ⇒ Object
The username of the account that manually assigned the criticality level
161 162 163 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 161 def criticality_username @criticality_username end |
#current_local_ip ⇒ Object
The last seen local IPv4 address of the asset.
164 165 166 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 164 def current_local_ip @current_local_ip end |
#current_network_prefix ⇒ Object
The last seen network prefix of the asset.
167 168 169 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 167 def current_network_prefix @current_network_prefix end |
#data_providers ⇒ Object
Where the data about the asset came from (such as CrowdStrike, ServiceNow, or Active Directory).
170 171 172 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 170 def data_providers @data_providers end |
#data_providers_count ⇒ Object
How many services provided data about the asset.
173 174 175 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 173 def data_providers_count @data_providers_count end |
#department ⇒ Object
The department where the asset is used.
176 177 178 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 176 def department @department end |
#descriptions ⇒ Object
The descriptions of the asset in Active Directory (Cannot be used for filtering, sorting, or querying).
179 180 181 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 179 def descriptions @descriptions end |
#device_class ⇒ Object
The Device Class of IoT Asset
182 183 184 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 182 def device_class @device_class end |
#device_family ⇒ Object
The Device Family of IoT Asset
185 186 187 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 185 def device_family @device_family end |
#device_mode ⇒ Object
The device mode of the host
188 189 190 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 188 def device_mode @device_mode end |
#device_slots ⇒ Object
The slots of IoT Asset
191 192 193 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 191 def device_slots @device_slots end |
#device_type ⇒ Object
The Device Type of IoT Asset
194 195 196 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 194 def device_type @device_type end |
#discoverer_aids ⇒ Object
The agent IDs of the Falcon sensors installed on the sources that discovered the asset.
197 198 199 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 197 def discoverer_aids @discoverer_aids end |
#discoverer_count ⇒ Object
The number of sources that discovered the asset.
200 201 202 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 200 def discoverer_count @discoverer_count end |
#discoverer_criticalities ⇒ Object
The criticalities of the sources that discovered the asset
203 204 205 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 203 def discoverer_criticalities @discoverer_criticalities end |
#discoverer_hostnames ⇒ Object
The hostnames of the sources that discovered the asset.
206 207 208 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 206 def discoverer_hostnames @discoverer_hostnames end |
#discoverer_ics_collector_ids ⇒ Object
A list of agent IDs of the Falcon sensors installed on the source hosts that discovered the asset via ICS Asset discovery mechanism
209 210 211 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 209 def discoverer_ics_collector_ids @discoverer_ics_collector_ids end |
#discoverer_platform_names ⇒ Object
The platform names of the sources that discovered the asset.
212 213 214 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 212 def discoverer_platform_names @discoverer_platform_names end |
#discoverer_product_type_descs ⇒ Object
The product type descriptions of the sources that discovered the asset.
215 216 217 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 215 def discoverer_product_type_descs @discoverer_product_type_descs end |
#discoverer_tags ⇒ Object
The tags of the sources that discovered the asset.
218 219 220 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 218 def @discoverer_tags end |
#discovering_by ⇒ Object
Represents the status of a managed host (“Not Discovering“, “Passive“, “Active“ or both).
221 222 223 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 221 def discovering_by @discovering_by end |
#disk_sizes ⇒ Object
The names and sizes of the disks on the asset
224 225 226 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 224 def disk_sizes @disk_sizes end |
#dragos_id ⇒ Object
The ID generated by dragos asset discovery mechanism
227 228 229 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 227 def dragos_id @dragos_id end |
#email ⇒ Object
The email of the asset as listed in Active Directory.
230 231 232 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 230 def email @email end |
#encrypted_drives ⇒ Object
The list of encrypted drives on the host
233 234 235 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 233 def encrypted_drives @encrypted_drives end |
#encrypted_drives_count ⇒ Object
The count of encrypted drives on the host
236 237 238 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 236 def encrypted_drives_count @encrypted_drives_count end |
#encryption_status ⇒ Object
The encryption status of the host
239 240 241 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 239 def encryption_status @encryption_status end |
#entity_type ⇒ Object
The type of asset (managed, unmanaged, unsupported).
242 243 244 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 242 def entity_type @entity_type end |
#external_ip ⇒ Object
The external IPv4 address of the asset.
245 246 247 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 245 def external_ip @external_ip end |
#field_metadata ⇒ Object
Lists the data providers for each property in the response (Cannot be used for filtering, sorting, or querying).
248 249 250 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 248 def @field_metadata end |
#first_discoverer_aid ⇒ Object
The agent ID of the Falcon sensor on the source that first discovered the asset.
251 252 253 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 251 def first_discoverer_aid @first_discoverer_aid end |
#first_seen_timestamp ⇒ Object
The first time the asset was seen in your environment.
254 255 256 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 254 def @first_seen_timestamp end |
#form_factor ⇒ Object
The form factor of the host
257 258 259 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 257 def form_factor @form_factor end |
#fqdn ⇒ Object
The fully qualified domain name of the asset.
260 261 262 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 260 def fqdn @fqdn end |
#groups ⇒ Object
The host management groups the asset is part of.
263 264 265 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 263 def groups @groups end |
#hostname ⇒ Object
The asset’s hostname.
266 267 268 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 266 def hostname @hostname end |
#ics_id ⇒ Object
The ID generated by ICS collector asset discovery mechanism
269 270 271 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 269 def ics_id @ics_id end |
#id ⇒ Object
The unique ID of the asset.
272 273 274 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 272 def id @id end |
#imported_host_id ⇒ Object
Returns the value of attribute imported_host_id.
274 275 276 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 274 def imported_host_id @imported_host_id end |
#internet_exposure ⇒ Object
Whether the asset is exposed to the internet (Yes, No or Pending).
277 278 279 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 277 def internet_exposure @internet_exposure end |
#internet_exposure_description ⇒ Object
The description the user entered when manually assigning a internet exposure level
280 281 282 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 280 def internet_exposure_description @internet_exposure_description end |
#internet_exposure_timestamp ⇒ Object
The date and time the internet exposure level was manually assigned
283 284 285 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 283 def @internet_exposure_timestamp end |
#internet_exposure_username ⇒ Object
The username of the account that manually assigned the internet exposure level
286 287 288 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 286 def internet_exposure_username @internet_exposure_username end |
#iot_imported ⇒ Object
Returns the value of attribute iot_imported.
288 289 290 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 288 def iot_imported @iot_imported end |
#iot_tags ⇒ Object
Returns the value of attribute iot_tags.
290 291 292 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 290 def @iot_tags end |
#kernel_version ⇒ Object
For Linux and Mac hosts: the major version, minor version, and patch version of the kernel for the asset. For Windows hosts: the build number of the asset.
293 294 295 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 293 def kernel_version @kernel_version end |
#last_discoverer_aid ⇒ Object
The agent ID of the Falcon sensor installed on the source that most recently discovered the asset.
296 297 298 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 296 def last_discoverer_aid @last_discoverer_aid end |
#last_discoverer_hostname ⇒ Object
The hostname of the last source that discovered the asset.
299 300 301 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 299 def last_discoverer_hostname @last_discoverer_hostname end |
#last_discoverer_ics_collector_id ⇒ Object
The agent ID of the Falcon sensor installed on the source host that most recently discovered the asset via ICS Asset discovery mechanism
302 303 304 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 302 def last_discoverer_ics_collector_id @last_discoverer_ics_collector_id end |
#last_seen_timestamp ⇒ Object
The most recent time the asset was seen in your environment.
305 306 307 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 305 def @last_seen_timestamp end |
#local_ip_addresses ⇒ Object
Historical local IPv4 addresses associated with the asset.
308 309 310 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 308 def local_ip_addresses @local_ip_addresses end |
#local_ips_count ⇒ Object
The number of historical local IPv4 addresses the asset has had.
311 312 313 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 311 def local_ips_count @local_ips_count end |
#location ⇒ Object
The location of the asset.
314 315 316 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 314 def location @location end |
#logical_core_count ⇒ Object
The number of logical cores available on the system
317 318 319 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 317 def logical_core_count @logical_core_count end |
#mac_addresses ⇒ Object
Historical MAC addresses associated with the asset.
320 321 322 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 320 def mac_addresses @mac_addresses end |
#machine_domain ⇒ Object
The domain name the asset is currently joined to.
323 324 325 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 323 def machine_domain @machine_domain end |
#managed_by ⇒ Object
The first and last name of the person who manages this asset.
326 327 328 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 326 def managed_by @managed_by end |
#max_memory_usage ⇒ Object
The max memory usage in the last 15 minutes on the host
329 330 331 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 329 def max_memory_usage @max_memory_usage end |
#max_memory_usage_pct ⇒ Object
The max memory usage percent in the last 15 minutes on the host
332 333 334 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 332 def max_memory_usage_pct @max_memory_usage_pct end |
#max_processor_usage ⇒ Object
The max processor usage in the last 15 minutes on the host
335 336 337 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 335 def max_processor_usage @max_processor_usage end |
#memory_total ⇒ Object
The Total memory.
338 339 340 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 338 def memory_total @memory_total end |
#mount_storage_info ⇒ Object
The path, used and available space on mounted disks
341 342 343 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 341 def mount_storage_info @mount_storage_info end |
#network_id ⇒ Object
The network ID to which device is connected.
344 345 346 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 344 def network_id @network_id end |
#network_interfaces ⇒ Object
The asset’s network interfaces (Cannot be used for filtering, sorting, or querying).
347 348 349 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 347 def network_interfaces @network_interfaces end |
#network_scanned_ids ⇒ Object
The set of unique identifiers for the asset scanned by the Falcon sensor.
350 351 352 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 350 def network_scanned_ids @network_scanned_ids end |
#number_of_disk_drives ⇒ Object
The number of active physical drives available on the system.
353 354 355 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 353 def number_of_disk_drives @number_of_disk_drives end |
#object_guid ⇒ Object
The globally unique identifier (GUID) of the asset in Active Directory.
356 357 358 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 356 def object_guid @object_guid end |
#object_sid ⇒ Object
The security identifier (SID) of the asset in Active Directory.
359 360 361 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 359 def object_sid @object_sid end |
#os_is_eol ⇒ Object
Whether the asset is at end of support (Yes, No, or Unknown).
362 363 364 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 362 def os_is_eol @os_is_eol end |
#os_security ⇒ Object
Returns the value of attribute os_security.
364 365 366 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 364 def os_security @os_security end |
#os_service_pack ⇒ Object
The OS service pack on the asset.
367 368 369 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 367 def os_service_pack @os_service_pack end |
#os_version ⇒ Object
The OS version of the asset.
370 371 372 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 370 def os_version @os_version end |
#ot_information_sources ⇒ Object
A list of sources through which host is discovered
373 374 375 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 373 def ot_information_sources @ot_information_sources end |
#ot_network_ids ⇒ Object
A list of network ids to which host belongs
376 377 378 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 376 def ot_network_ids @ot_network_ids end |
#ot_serial_numbers ⇒ Object
A list of ot serial numbers that discovered with host
379 380 381 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 379 def ot_serial_numbers @ot_serial_numbers end |
#ou ⇒ Object
The organizational unit of the asset.
382 383 384 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 382 def ou @ou end |
#ous ⇒ Object
The organizational units of the asset.
385 386 387 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 385 def ous @ous end |
#override_asset_roles ⇒ Object
Whether a user overrode automatically assigned asset roles to manually assign a role to the asset (true or false).
388 389 390 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 388 def override_asset_roles @override_asset_roles end |
#override_criticality_rules ⇒ Object
Whether a user overrode a criticality rule to manually assign a criticality level on the asset (true or false).
391 392 393 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 391 def override_criticality_rules @override_criticality_rules end |
#override_internet_exposure ⇒ Object
Whether a user overrode the automatically assigned internet exposure (True or False).
394 395 396 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 394 def override_internet_exposure @override_internet_exposure end |
#owned_by ⇒ Object
The first and last name of the person who owns this asset.
397 398 399 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 397 def owned_by @owned_by end |
#physical_core_count ⇒ Object
The number of physical CPU cores available on the system.
400 401 402 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 400 def physical_core_count @physical_core_count end |
#platform_name ⇒ Object
The platform name of the asset (Windows, Mac, Linux).
403 404 405 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 403 def platform_name @platform_name end |
#processor_package_count ⇒ Object
The number of physical processors available on the system.
406 407 408 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 406 def processor_package_count @processor_package_count end |
#product_type ⇒ Object
The product type of the asset represented as a number (1 = Workstation, 2 = Domain Controller, 3 = Server).
409 410 411 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 409 def product_type @product_type end |
#product_type_desc ⇒ Object
The product type of the asset (Workstation, Domain Controller, Server).
412 413 414 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 412 def product_type_desc @product_type_desc end |
#protocols ⇒ Object
The list of protocols supported by the device
415 416 417 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 415 def protocols @protocols end |
#purdue_level ⇒ Object
The purdue level of IoT Asset
418 419 420 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 418 def purdue_level @purdue_level end |
#qualys_id ⇒ Object
Represents the unique identifier of an asset reported by Qualys
421 422 423 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 421 def qualys_id @qualys_id end |
#qualys_network_id ⇒ Object
Represents the network id of an asset reported by Qualys
424 425 426 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 424 def qualys_network_id @qualys_network_id end |
#reduced_functionality_mode ⇒ Object
Whether the asset is in reduced functionality mode (Yes or No).
427 428 429 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 427 def reduced_functionality_mode @reduced_functionality_mode end |
#scan_details ⇒ Object
Represents information about the scans that this host has been a part of’.
430 431 432 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 430 def scan_details @scan_details end |
#servicenow_id ⇒ Object
The unique identifier of the asset from ServiceNow, if any.
433 434 435 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 433 def servicenow_id @servicenow_id end |
#site_name ⇒ Object
The site name of the domain the asset is joined to (applies only to Windows hosts).
436 437 438 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 436 def site_name @site_name end |
#state ⇒ Object
The name of the U.S. state where the asset is located.
439 440 441 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 439 def state @state end |
#subnet ⇒ Object
The subnet to which device is connected.
442 443 444 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 442 def subnet @subnet end |
#system_manufacturer ⇒ Object
The asset’s system manufacturer.
445 446 447 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 445 def system_manufacturer @system_manufacturer end |
#system_product_name ⇒ Object
The asset’s system product name.
448 449 450 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 448 def system_product_name @system_product_name end |
#system_serial_number ⇒ Object
The asset’s system serial number.
451 452 453 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 451 def system_serial_number @system_serial_number end |
#tags ⇒ Object
The sensor and cloud tags of the asset.
454 455 456 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 454 def @tags end |
#tenableio_id ⇒ Object
Represents the unique identifier of an asset reported by Tenable
457 458 459 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 457 def tenableio_id @tenableio_id end |
#total_bios_files ⇒ Object
The count of bios files measured by the firmware image
460 461 462 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 460 def total_bios_files @total_bios_files end |
#total_disk_space ⇒ Object
Total amount of disk space available on the system
463 464 465 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 463 def total_disk_space @total_disk_space end |
#total_memory ⇒ Object
The total memory of the asset
466 467 468 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 466 def total_memory @total_memory end |
#triage ⇒ Object
Returns the value of attribute triage.
468 469 470 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 468 def triage @triage end |
#unencrypted_drives ⇒ Object
The list of unencrypted drives on the host
471 472 473 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 471 def unencrypted_drives @unencrypted_drives end |
#unencrypted_drives_count ⇒ Object
The count of unencrypted drives on the host
474 475 476 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 474 def unencrypted_drives_count @unencrypted_drives_count end |
#used_disk_space ⇒ Object
The used disk space in the last 15 minutes on the host
477 478 479 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 477 def used_disk_space @used_disk_space end |
#used_disk_space_pct ⇒ Object
The used disk space percent in the last 15 minutes on the host
480 481 482 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 480 def used_disk_space_pct @used_disk_space_pct end |
#used_for ⇒ Object
What the asset is used for, such as production, staging, or QA.
483 484 485 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 483 def used_for @used_for end |
#user_asset_roles ⇒ Object
The asset role or roles manually assigned to the asset.
486 487 488 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 486 def user_asset_roles @user_asset_roles end |
#user_internet_exposure ⇒ Object
The internet exposure manually assigned to the asset
489 490 491 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 489 def user_internet_exposure @user_internet_exposure end |
#virtual_zone ⇒ Object
The Virtual Zone name in which device is installed.
492 493 494 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 492 def virtual_zone @virtual_zone end |
#vlan ⇒ Object
The VLAN IDs to which device is connected.
495 496 497 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 495 def vlan @vlan end |
#vulnerability_assessment_date ⇒ Object
Represents the date when this host has been assessed for vulnerabilities
498 499 500 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 498 def vulnerability_assessment_date @vulnerability_assessment_date end |
#xdome_id ⇒ Object
The external ID of the IoT Device in 3rd Party System(Claroty Xdome)
501 502 503 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 501 def xdome_id @xdome_id end |
Class Method Details
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
668 669 670 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 668 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 504 def self.attribute_map { :'account_enabled' => :'account_enabled', :'active_discovery' => :'active_discovery', :'ad_user_account_control' => :'ad_user_account_control', :'ad_virtual_server' => :'ad_virtual_server', :'agent_version' => :'agent_version', :'aid' => :'aid', :'asset_roles' => :'asset_roles', :'assigned_to' => :'assigned_to', :'available_disk_space' => :'available_disk_space', :'available_disk_space_pct' => :'available_disk_space_pct', :'average_memory_usage' => :'average_memory_usage', :'average_memory_usage_pct' => :'average_memory_usage_pct', :'average_processor_usage' => :'average_processor_usage', :'bios_hashes_data' => :'bios_hashes_data', :'bios_id' => :'bios_id', :'bios_manufacturer' => :'bios_manufacturer', :'bios_version' => :'bios_version', :'business_criticality' => :'business_criticality', :'cid' => :'cid', :'city' => :'city', :'claroty_id' => :'claroty_id', :'classification' => :'classification', :'cloud_account_id' => :'cloud_account_id', :'cloud_instance_id' => :'cloud_instance_id', :'cloud_provider' => :'cloud_provider', :'cloud_region' => :'cloud_region', :'cloud_registered' => :'cloud_registered', :'cloud_resource_id' => :'cloud_resource_id', :'composite_internet_exposure' => :'composite_internet_exposure', :'computed_asset_roles' => :'computed_asset_roles', :'computed_internet_exposure' => :'computed_internet_exposure', :'computed_internet_exposure_external_ip' => :'computed_internet_exposure_external_ip', :'computed_internet_exposure_last_seen' => :'computed_internet_exposure_last_seen', :'confidence' => :'confidence', :'country' => :'country', :'cpu_manufacturer' => :'cpu_manufacturer', :'cpu_processor_name' => :'cpu_processor_name', :'creation_timestamp' => :'creation_timestamp', :'criticality' => :'criticality', :'criticality_description' => :'criticality_description', :'criticality_rule_id' => :'criticality_rule_id', :'criticality_timestamp' => :'criticality_timestamp', :'criticality_username' => :'criticality_username', :'current_local_ip' => :'current_local_ip', :'current_network_prefix' => :'current_network_prefix', :'data_providers' => :'data_providers', :'data_providers_count' => :'data_providers_count', :'department' => :'department', :'descriptions' => :'descriptions', :'device_class' => :'device_class', :'device_family' => :'device_family', :'device_mode' => :'device_mode', :'device_slots' => :'device_slots', :'device_type' => :'device_type', :'discoverer_aids' => :'discoverer_aids', :'discoverer_count' => :'discoverer_count', :'discoverer_criticalities' => :'discoverer_criticalities', :'discoverer_hostnames' => :'discoverer_hostnames', :'discoverer_ics_collector_ids' => :'discoverer_ics_collector_ids', :'discoverer_platform_names' => :'discoverer_platform_names', :'discoverer_product_type_descs' => :'discoverer_product_type_descs', :'discoverer_tags' => :'discoverer_tags', :'discovering_by' => :'discovering_by', :'disk_sizes' => :'disk_sizes', :'dragos_id' => :'dragos_id', :'email' => :'email', :'encrypted_drives' => :'encrypted_drives', :'encrypted_drives_count' => :'encrypted_drives_count', :'encryption_status' => :'encryption_status', :'entity_type' => :'entity_type', :'external_ip' => :'external_ip', :'field_metadata' => :'field_metadata', :'first_discoverer_aid' => :'first_discoverer_aid', :'first_seen_timestamp' => :'first_seen_timestamp', :'form_factor' => :'form_factor', :'fqdn' => :'fqdn', :'groups' => :'groups', :'hostname' => :'hostname', :'ics_id' => :'ics_id', :'id' => :'id', :'imported_host_id' => :'imported_host_id', :'internet_exposure' => :'internet_exposure', :'internet_exposure_description' => :'internet_exposure_description', :'internet_exposure_timestamp' => :'internet_exposure_timestamp', :'internet_exposure_username' => :'internet_exposure_username', :'iot_imported' => :'iot_imported', :'iot_tags' => :'iot_tags', :'kernel_version' => :'kernel_version', :'last_discoverer_aid' => :'last_discoverer_aid', :'last_discoverer_hostname' => :'last_discoverer_hostname', :'last_discoverer_ics_collector_id' => :'last_discoverer_ics_collector_id', :'last_seen_timestamp' => :'last_seen_timestamp', :'local_ip_addresses' => :'local_ip_addresses', :'local_ips_count' => :'local_ips_count', :'location' => :'location', :'logical_core_count' => :'logical_core_count', :'mac_addresses' => :'mac_addresses', :'machine_domain' => :'machine_domain', :'managed_by' => :'managed_by', :'max_memory_usage' => :'max_memory_usage', :'max_memory_usage_pct' => :'max_memory_usage_pct', :'max_processor_usage' => :'max_processor_usage', :'memory_total' => :'memory_total', :'mount_storage_info' => :'mount_storage_info', :'network_id' => :'network_id', :'network_interfaces' => :'network_interfaces', :'network_scanned_ids' => :'network_scanned_ids', :'number_of_disk_drives' => :'number_of_disk_drives', :'object_guid' => :'object_guid', :'object_sid' => :'object_sid', :'os_is_eol' => :'os_is_eol', :'os_security' => :'os_security', :'os_service_pack' => :'os_service_pack', :'os_version' => :'os_version', :'ot_information_sources' => :'ot_information_sources', :'ot_network_ids' => :'ot_network_ids', :'ot_serial_numbers' => :'ot_serial_numbers', :'ou' => :'ou', :'ous' => :'ous', :'override_asset_roles' => :'override_asset_roles', :'override_criticality_rules' => :'override_criticality_rules', :'override_internet_exposure' => :'override_internet_exposure', :'owned_by' => :'owned_by', :'physical_core_count' => :'physical_core_count', :'platform_name' => :'platform_name', :'processor_package_count' => :'processor_package_count', :'product_type' => :'product_type', :'product_type_desc' => :'product_type_desc', :'protocols' => :'protocols', :'purdue_level' => :'purdue_level', :'qualys_id' => :'qualys_id', :'qualys_network_id' => :'qualys_network_id', :'reduced_functionality_mode' => :'reduced_functionality_mode', :'scan_details' => :'scan_details', :'servicenow_id' => :'servicenow_id', :'site_name' => :'site_name', :'state' => :'state', :'subnet' => :'subnet', :'system_manufacturer' => :'system_manufacturer', :'system_product_name' => :'system_product_name', :'system_serial_number' => :'system_serial_number', :'tags' => :'tags', :'tenableio_id' => :'tenableio_id', :'total_bios_files' => :'total_bios_files', :'total_disk_space' => :'total_disk_space', :'total_memory' => :'total_memory', :'triage' => :'triage', :'unencrypted_drives' => :'unencrypted_drives', :'unencrypted_drives_count' => :'unencrypted_drives_count', :'used_disk_space' => :'used_disk_space', :'used_disk_space_pct' => :'used_disk_space_pct', :'used_for' => :'used_for', :'user_asset_roles' => :'user_asset_roles', :'user_internet_exposure' => :'user_internet_exposure', :'virtual_zone' => :'virtual_zone', :'vlan' => :'vlan', :'vulnerability_assessment_date' => :'vulnerability_assessment_date', :'xdome_id' => :'xdome_id' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
1761 1762 1763 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1761 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
837 838 839 840 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 837 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 673 def self.openapi_types { :'account_enabled' => :'String', :'active_discovery' => :'DomainDiscoverAPIActiveDiscoveryHost', :'ad_user_account_control' => :'Integer', :'ad_virtual_server' => :'String', :'agent_version' => :'String', :'aid' => :'String', :'asset_roles' => :'Array<String>', :'assigned_to' => :'String', :'available_disk_space' => :'Integer', :'available_disk_space_pct' => :'Integer', :'average_memory_usage' => :'Integer', :'average_memory_usage_pct' => :'Integer', :'average_processor_usage' => :'Integer', :'bios_hashes_data' => :'Array<DomainDiscoverAPIBiosHashesData>', :'bios_id' => :'String', :'bios_manufacturer' => :'String', :'bios_version' => :'String', :'business_criticality' => :'String', :'cid' => :'String', :'city' => :'String', :'claroty_id' => :'String', :'classification' => :'String', :'cloud_account_id' => :'String', :'cloud_instance_id' => :'String', :'cloud_provider' => :'String', :'cloud_region' => :'String', :'cloud_registered' => :'Boolean', :'cloud_resource_id' => :'String', :'composite_internet_exposure' => :'String', :'computed_asset_roles' => :'Array<String>', :'computed_internet_exposure' => :'String', :'computed_internet_exposure_external_ip' => :'String', :'computed_internet_exposure_last_seen' => :'String', :'confidence' => :'Integer', :'country' => :'String', :'cpu_manufacturer' => :'String', :'cpu_processor_name' => :'String', :'creation_timestamp' => :'String', :'criticality' => :'String', :'criticality_description' => :'String', :'criticality_rule_id' => :'String', :'criticality_timestamp' => :'String', :'criticality_username' => :'String', :'current_local_ip' => :'String', :'current_network_prefix' => :'String', :'data_providers' => :'Array<String>', :'data_providers_count' => :'Integer', :'department' => :'String', :'descriptions' => :'Array<String>', :'device_class' => :'String', :'device_family' => :'String', :'device_mode' => :'String', :'device_slots' => :'Array<DomainDiscoverAPIDeviceSlot>', :'device_type' => :'String', :'discoverer_aids' => :'Array<String>', :'discoverer_count' => :'Integer', :'discoverer_criticalities' => :'Array<String>', :'discoverer_hostnames' => :'Array<String>', :'discoverer_ics_collector_ids' => :'Array<String>', :'discoverer_platform_names' => :'Array<String>', :'discoverer_product_type_descs' => :'Array<String>', :'discoverer_tags' => :'Array<String>', :'discovering_by' => :'Array<String>', :'disk_sizes' => :'Array<DomainDiscoverAPIDiskSize>', :'dragos_id' => :'String', :'email' => :'String', :'encrypted_drives' => :'Array<String>', :'encrypted_drives_count' => :'Integer', :'encryption_status' => :'String', :'entity_type' => :'String', :'external_ip' => :'String', :'field_metadata' => :'Hash<String, DomainDiscoverAPIFieldMetadata>', :'first_discoverer_aid' => :'String', :'first_seen_timestamp' => :'String', :'form_factor' => :'String', :'fqdn' => :'String', :'groups' => :'Array<String>', :'hostname' => :'String', :'ics_id' => :'String', :'id' => :'String', :'imported_host_id' => :'String', :'internet_exposure' => :'String', :'internet_exposure_description' => :'String', :'internet_exposure_timestamp' => :'String', :'internet_exposure_username' => :'String', :'iot_imported' => :'DomainIotImportedHost', :'iot_tags' => :'Array<String>', :'kernel_version' => :'String', :'last_discoverer_aid' => :'String', :'last_discoverer_hostname' => :'String', :'last_discoverer_ics_collector_id' => :'String', :'last_seen_timestamp' => :'String', :'local_ip_addresses' => :'Array<String>', :'local_ips_count' => :'Integer', :'location' => :'String', :'logical_core_count' => :'Integer', :'mac_addresses' => :'Array<String>', :'machine_domain' => :'String', :'managed_by' => :'String', :'max_memory_usage' => :'Integer', :'max_memory_usage_pct' => :'Integer', :'max_processor_usage' => :'Integer', :'memory_total' => :'Integer', :'mount_storage_info' => :'Array<DomainDiscoverAPIMountStorageInfo>', :'network_id' => :'String', :'network_interfaces' => :'Array<DomainDiscoverAPINetworkInterface>', :'network_scanned_ids' => :'Array<String>', :'number_of_disk_drives' => :'Integer', :'object_guid' => :'String', :'object_sid' => :'String', :'os_is_eol' => :'String', :'os_security' => :'DomainDiscoverAPIOsSecurity', :'os_service_pack' => :'String', :'os_version' => :'String', :'ot_information_sources' => :'Array<String>', :'ot_network_ids' => :'Array<String>', :'ot_serial_numbers' => :'Array<String>', :'ou' => :'String', :'ous' => :'Array<String>', :'override_asset_roles' => :'Boolean', :'override_criticality_rules' => :'Boolean', :'override_internet_exposure' => :'Boolean', :'owned_by' => :'String', :'physical_core_count' => :'Integer', :'platform_name' => :'String', :'processor_package_count' => :'Integer', :'product_type' => :'String', :'product_type_desc' => :'String', :'protocols' => :'Array<String>', :'purdue_level' => :'String', :'qualys_id' => :'String', :'qualys_network_id' => :'String', :'reduced_functionality_mode' => :'String', :'scan_details' => :'Array<DomainDiscoverAPIScanDetailsHost>', :'servicenow_id' => :'String', :'site_name' => :'String', :'state' => :'String', :'subnet' => :'String', :'system_manufacturer' => :'String', :'system_product_name' => :'String', :'system_serial_number' => :'String', :'tags' => :'Array<String>', :'tenableio_id' => :'String', :'total_bios_files' => :'Integer', :'total_disk_space' => :'Integer', :'total_memory' => :'Integer', :'triage' => :'DomainDiscoverAPIHostTriage', :'unencrypted_drives' => :'Array<String>', :'unencrypted_drives_count' => :'Integer', :'used_disk_space' => :'Integer', :'used_disk_space_pct' => :'Integer', :'used_for' => :'String', :'user_asset_roles' => :'Array<String>', :'user_internet_exposure' => :'String', :'virtual_zone' => :'String', :'vlan' => :'Array<String>', :'vulnerability_assessment_date' => :'String', :'xdome_id' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1583 def ==(o) return true if self.equal?(o) self.class == o.class && account_enabled == o.account_enabled && active_discovery == o.active_discovery && ad_user_account_control == o.ad_user_account_control && ad_virtual_server == o.ad_virtual_server && agent_version == o.agent_version && aid == o.aid && asset_roles == o.asset_roles && assigned_to == o.assigned_to && available_disk_space == o.available_disk_space && available_disk_space_pct == o.available_disk_space_pct && average_memory_usage == o.average_memory_usage && average_memory_usage_pct == o.average_memory_usage_pct && average_processor_usage == o.average_processor_usage && bios_hashes_data == o.bios_hashes_data && bios_id == o.bios_id && bios_manufacturer == o.bios_manufacturer && bios_version == o.bios_version && business_criticality == o.business_criticality && cid == o.cid && city == o.city && claroty_id == o.claroty_id && classification == o.classification && cloud_account_id == o.cloud_account_id && cloud_instance_id == o.cloud_instance_id && cloud_provider == o.cloud_provider && cloud_region == o.cloud_region && cloud_registered == o.cloud_registered && cloud_resource_id == o.cloud_resource_id && composite_internet_exposure == o.composite_internet_exposure && computed_asset_roles == o.computed_asset_roles && computed_internet_exposure == o.computed_internet_exposure && computed_internet_exposure_external_ip == o.computed_internet_exposure_external_ip && computed_internet_exposure_last_seen == o.computed_internet_exposure_last_seen && confidence == o.confidence && country == o.country && cpu_manufacturer == o.cpu_manufacturer && cpu_processor_name == o.cpu_processor_name && == o. && criticality == o.criticality && criticality_description == o.criticality_description && criticality_rule_id == o.criticality_rule_id && == o. && criticality_username == o.criticality_username && current_local_ip == o.current_local_ip && current_network_prefix == o.current_network_prefix && data_providers == o.data_providers && data_providers_count == o.data_providers_count && department == o.department && descriptions == o.descriptions && device_class == o.device_class && device_family == o.device_family && device_mode == o.device_mode && device_slots == o.device_slots && device_type == o.device_type && discoverer_aids == o.discoverer_aids && discoverer_count == o.discoverer_count && discoverer_criticalities == o.discoverer_criticalities && discoverer_hostnames == o.discoverer_hostnames && discoverer_ics_collector_ids == o.discoverer_ics_collector_ids && discoverer_platform_names == o.discoverer_platform_names && discoverer_product_type_descs == o.discoverer_product_type_descs && == o. && discovering_by == o.discovering_by && disk_sizes == o.disk_sizes && dragos_id == o.dragos_id && email == o.email && encrypted_drives == o.encrypted_drives && encrypted_drives_count == o.encrypted_drives_count && encryption_status == o.encryption_status && entity_type == o.entity_type && external_ip == o.external_ip && == o. && first_discoverer_aid == o.first_discoverer_aid && == o. && form_factor == o.form_factor && fqdn == o.fqdn && groups == o.groups && hostname == o.hostname && ics_id == o.ics_id && id == o.id && imported_host_id == o.imported_host_id && internet_exposure == o.internet_exposure && internet_exposure_description == o.internet_exposure_description && == o. && internet_exposure_username == o.internet_exposure_username && iot_imported == o.iot_imported && == o. && kernel_version == o.kernel_version && last_discoverer_aid == o.last_discoverer_aid && last_discoverer_hostname == o.last_discoverer_hostname && last_discoverer_ics_collector_id == o.last_discoverer_ics_collector_id && == o. && local_ip_addresses == o.local_ip_addresses && local_ips_count == o.local_ips_count && location == o.location && logical_core_count == o.logical_core_count && mac_addresses == o.mac_addresses && machine_domain == o.machine_domain && managed_by == o.managed_by && max_memory_usage == o.max_memory_usage && max_memory_usage_pct == o.max_memory_usage_pct && max_processor_usage == o.max_processor_usage && memory_total == o.memory_total && mount_storage_info == o.mount_storage_info && network_id == o.network_id && network_interfaces == o.network_interfaces && network_scanned_ids == o.network_scanned_ids && number_of_disk_drives == o.number_of_disk_drives && object_guid == o.object_guid && object_sid == o.object_sid && os_is_eol == o.os_is_eol && os_security == o.os_security && os_service_pack == o.os_service_pack && os_version == o.os_version && ot_information_sources == o.ot_information_sources && ot_network_ids == o.ot_network_ids && ot_serial_numbers == o.ot_serial_numbers && ou == o.ou && ous == o.ous && override_asset_roles == o.override_asset_roles && override_criticality_rules == o.override_criticality_rules && override_internet_exposure == o.override_internet_exposure && owned_by == o.owned_by && physical_core_count == o.physical_core_count && platform_name == o.platform_name && processor_package_count == o.processor_package_count && product_type == o.product_type && product_type_desc == o.product_type_desc && protocols == o.protocols && purdue_level == o.purdue_level && qualys_id == o.qualys_id && qualys_network_id == o.qualys_network_id && reduced_functionality_mode == o.reduced_functionality_mode && scan_details == o.scan_details && servicenow_id == o.servicenow_id && site_name == o.site_name && state == o.state && subnet == o.subnet && system_manufacturer == o.system_manufacturer && system_product_name == o.system_product_name && system_serial_number == o.system_serial_number && == o. && tenableio_id == o.tenableio_id && total_bios_files == o.total_bios_files && total_disk_space == o.total_disk_space && total_memory == o.total_memory && triage == o.triage && unencrypted_drives == o.unencrypted_drives && unencrypted_drives_count == o.unencrypted_drives_count && used_disk_space == o.used_disk_space && used_disk_space_pct == o.used_disk_space_pct && used_for == o.used_for && user_asset_roles == o.user_asset_roles && user_internet_exposure == o.user_internet_exposure && virtual_zone == o.virtual_zone && vlan == o.vlan && vulnerability_assessment_date == o.vulnerability_assessment_date && xdome_id == o.xdome_id end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1792 def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = Falcon.const_get(type) klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1863 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1768 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end |
#eql?(o) ⇒ Boolean
1748 1749 1750 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1748 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1754 1755 1756 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1754 def hash [account_enabled, active_discovery, ad_user_account_control, ad_virtual_server, agent_version, aid, asset_roles, assigned_to, available_disk_space, available_disk_space_pct, average_memory_usage, average_memory_usage_pct, average_processor_usage, bios_hashes_data, bios_id, bios_manufacturer, bios_version, business_criticality, cid, city, claroty_id, classification, cloud_account_id, cloud_instance_id, cloud_provider, cloud_region, cloud_registered, cloud_resource_id, composite_internet_exposure, computed_asset_roles, computed_internet_exposure, computed_internet_exposure_external_ip, computed_internet_exposure_last_seen, confidence, country, cpu_manufacturer, cpu_processor_name, , criticality, criticality_description, criticality_rule_id, , criticality_username, current_local_ip, current_network_prefix, data_providers, data_providers_count, department, descriptions, device_class, device_family, device_mode, device_slots, device_type, discoverer_aids, discoverer_count, discoverer_criticalities, discoverer_hostnames, discoverer_ics_collector_ids, discoverer_platform_names, discoverer_product_type_descs, , discovering_by, disk_sizes, dragos_id, email, encrypted_drives, encrypted_drives_count, encryption_status, entity_type, external_ip, , first_discoverer_aid, , form_factor, fqdn, groups, hostname, ics_id, id, imported_host_id, internet_exposure, internet_exposure_description, , internet_exposure_username, iot_imported, , kernel_version, last_discoverer_aid, last_discoverer_hostname, last_discoverer_ics_collector_id, , local_ip_addresses, local_ips_count, location, logical_core_count, mac_addresses, machine_domain, managed_by, max_memory_usage, max_memory_usage_pct, max_processor_usage, memory_total, mount_storage_info, network_id, network_interfaces, network_scanned_ids, number_of_disk_drives, object_guid, object_sid, os_is_eol, os_security, os_service_pack, os_version, ot_information_sources, ot_network_ids, ot_serial_numbers, ou, ous, override_asset_roles, override_criticality_rules, override_internet_exposure, owned_by, physical_core_count, platform_name, processor_package_count, product_type, product_type_desc, protocols, purdue_level, qualys_id, qualys_network_id, reduced_functionality_mode, scan_details, servicenow_id, site_name, state, subnet, system_manufacturer, system_product_name, system_serial_number, , tenableio_id, total_bios_files, total_disk_space, total_memory, triage, unencrypted_drives, unencrypted_drives_count, used_disk_space, used_disk_space_pct, used_for, user_asset_roles, user_internet_exposure, virtual_zone, vlan, vulnerability_assessment_date, xdome_id].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1560 def list_invalid_properties invalid_properties = Array.new if @cid.nil? invalid_properties.push('invalid value for "cid", cid cannot be nil.') end if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1839 1840 1841 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1839 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1845 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
1833 1834 1835 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1833 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
1575 1576 1577 1578 1579 |
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1575 def valid? return false if @cid.nil? return false if @id.nil? true end |