Class: Falcon::DomainDiscoverAPIIoTHost
- Inherits:
-
Object
- Object
- Falcon::DomainDiscoverAPIIoTHost
- Defined in:
- lib/crimson-falcon/models/domain_discover_apiio_t_host.rb
Overview
Represents information about a managed, an unmanaged or an unsupported asset.
Instance Attribute Summary collapse
-
#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.
-
#available_disk_space ⇒ Object
The Amount of available disk space on the asset in GB.
-
#average_memory_usage ⇒ Object
The average memory usage in the last 15 minutes on the asset.
-
#average_processor_usage ⇒ Object
The average processor usage in the last 15 minutes on the asset.
-
#bios_id ⇒ Object
The id of the bios on the asset.
-
#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).
-
#computed_internet_exposure ⇒ Object
Whether the asset is exposed to the internet (Yes or Unknown).
-
#computed_internet_exposure_external_ip ⇒ Object
External IP that is exposed to the Internet.
-
#computed_internet_exposure_last_seen ⇒ Object
Timestamp when the asset was last seen as exposed to the Internet.
-
#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_processor_name ⇒ Object
The Detailed processor name.
-
#credential_guard_status ⇒ Object
The credential guard status of the asset.
-
#current_local_ip ⇒ Object
The last seen local IPv4 address of the asset.
-
#data_providers ⇒ Object
The asset’s data providers.
-
#data_providers_count ⇒ Object
The number of data providers for the asset.
-
#device_class ⇒ Object
The Device Class of IoT Asset.
-
#device_family ⇒ Object
The Device Family of IoT Asset.
-
#device_guard_status ⇒ Object
The device guard status of the asset.
-
#device_slots ⇒ Object
The slots of IoT Asset.
-
#device_type ⇒ Object
The Device Type of IoT Asset.
-
#discoverer_count ⇒ Object
The number of 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_product_type_descs ⇒ Object
The product type descriptions of the sources that discovered the asset.
-
#disk_sizes ⇒ Object
The names and sizes of the disks on the asset.
-
#dragos_id ⇒ Object
The ID generated by dragos asset discovery mechanism.
-
#encrypted_drives ⇒ Object
The list of encrypted drives on the asset.
-
#encrypted_drives_count ⇒ Object
The count of encrypted drives on the asset.
-
#encryption_status ⇒ Object
The encryption status of the asset.
-
#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_seen_timestamp ⇒ Object
The first time the asset was seen in your environment.
-
#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.
-
#internet_exposure ⇒ Object
Whether the asset is exposed to the internet (Yes or Unknown).
-
#iommu_protection_status ⇒ Object
The iommu protection status of the host.
-
#kernel_dma_protection_status ⇒ Object
The kernel dma protection status of the asset.
-
#kernel_version ⇒ Object
For Linux and Mac hosts: the major version, minor version, and patch version of the kernel for 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
The IoT asset’s IP address list.
-
#local_ips_count ⇒ Object
The number of historical local IPv4 addresses the asset has had.
-
#logical_core_count ⇒ Object
The Number of Logical Cores on the asset.
-
#mac_addresses ⇒ Object
The IoT asset’s MAC address list.
-
#machine_domain ⇒ Object
The domain name the asset is currently joined to (applies only to Windows hosts).
-
#max_memory_usage ⇒ Object
The max memory usage in the last 15 minutes on the asset.
-
#max_processor_usage ⇒ Object
The max processor usage in the last 15 minutes on the asset.
-
#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.
-
#number_of_disk_drives ⇒ Object
The number of active physical drives available on the system.
-
#os_is_eol ⇒ Object
Whether the asset is at end of support (Yes, No, or Unknown).
-
#os_version ⇒ Object
The OS version of the asset.
-
#ot_information_sources ⇒ Object
A list of sources through which host is discovered.
-
#ot_serial_numbers ⇒ Object
A list of ot serial numbers that discovered with host.
-
#ou ⇒ Object
The organizational unit of the asset (applies only to Windows hosts).
-
#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.
-
#reduced_functionality_mode ⇒ Object
Whether the asset is in reduced functionality mode (Yes or No).
-
#secure_boot_enabled_status ⇒ Object
The secure boot enabled status of the asset.
-
#secure_boot_requested_status ⇒ Object
The secure boot requested status of the asset.
-
#secure_memory_overwrite_requested_status ⇒ Object
The secure memory overwrite requested status of the asset.
-
#site_name ⇒ Object
The site name of the domain the asset is joined to (applies only to Windows hosts).
-
#subnet ⇒ Object
The subnet to which device is connected.
-
#system_guard_status ⇒ Object
The system guard status of the asset.
-
#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.
-
#total_bios_files ⇒ Object
The count of bios files measured by the firmware image.
-
#total_disk_space ⇒ Object
The Total amount of disk space available on the asset in GB.
-
#uefi_memory_protection_status ⇒ Object
The uefi memory protection status of the asset.
-
#unencrypted_drives ⇒ Object
The list of unencrypted drives on the asset.
-
#unencrypted_drives_count ⇒ Object
The count of unencrypted drives on the asset.
-
#used_disk_space ⇒ Object
The Current amount of used disk space on the asset in GB.
-
#virtual_zone ⇒ Object
The Virtual Zone name in which device is installed.
-
#virtualization_based_security_status ⇒ Object
The virtualization based security status of the asset.
-
#vlan ⇒ Object
The VLAN IDs to which device is connected.
-
#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 = {}) ⇒ DomainDiscoverAPIIoTHost
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 = {}) ⇒ DomainDiscoverAPIIoTHost
Initializes the object
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 666 667 668 669 670 671 672 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 835 836 837 838 839 840 841 842 843 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 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 531 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Falcon::DomainDiscoverAPIIoTHost` 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::DomainDiscoverAPIIoTHost`. 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?(:'agent_version') self.agent_version = attributes[:'agent_version'] end if attributes.key?(:'aid') self.aid = attributes[:'aid'] end if attributes.key?(:'available_disk_space') self.available_disk_space = attributes[:'available_disk_space'] end if attributes.key?(:'average_memory_usage') self.average_memory_usage = attributes[:'average_memory_usage'] end if attributes.key?(:'average_processor_usage') self.average_processor_usage = attributes[:'average_processor_usage'] 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?(:'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_processor_name') self.cpu_processor_name = attributes[:'cpu_processor_name'] end if attributes.key?(:'credential_guard_status') self.credential_guard_status = attributes[:'credential_guard_status'] end if attributes.key?(:'current_local_ip') self.current_local_ip = attributes[:'current_local_ip'] 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?(:'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_guard_status') self.device_guard_status = attributes[:'device_guard_status'] 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_count') self.discoverer_count = attributes[:'discoverer_count'] 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_product_type_descs') if (value = attributes[:'discoverer_product_type_descs']).is_a?(Array) self.discoverer_product_type_descs = 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?(:'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_seen_timestamp') self. = attributes[:'first_seen_timestamp'] 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?(:'internet_exposure') self.internet_exposure = attributes[:'internet_exposure'] end if attributes.key?(:'iommu_protection_status') self.iommu_protection_status = attributes[:'iommu_protection_status'] end if attributes.key?(:'kernel_dma_protection_status') self.kernel_dma_protection_status = attributes[:'kernel_dma_protection_status'] end if attributes.key?(:'kernel_version') self.kernel_version = attributes[:'kernel_version'] 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?(:'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?(:'max_memory_usage') self.max_memory_usage = attributes[:'max_memory_usage'] 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?(:'number_of_disk_drives') self.number_of_disk_drives = attributes[:'number_of_disk_drives'] end if attributes.key?(:'os_is_eol') self.os_is_eol = attributes[:'os_is_eol'] 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_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?(:'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?(:'reduced_functionality_mode') self.reduced_functionality_mode = attributes[:'reduced_functionality_mode'] end if attributes.key?(:'secure_boot_enabled_status') self.secure_boot_enabled_status = attributes[:'secure_boot_enabled_status'] end if attributes.key?(:'secure_boot_requested_status') self.secure_boot_requested_status = attributes[:'secure_boot_requested_status'] end if attributes.key?(:'secure_memory_overwrite_requested_status') self.secure_memory_overwrite_requested_status = attributes[:'secure_memory_overwrite_requested_status'] end if attributes.key?(:'site_name') self.site_name = attributes[:'site_name'] end if attributes.key?(:'subnet') self.subnet = attributes[:'subnet'] end if attributes.key?(:'system_guard_status') self.system_guard_status = attributes[:'system_guard_status'] 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?(:'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?(:'uefi_memory_protection_status') self.uefi_memory_protection_status = attributes[:'uefi_memory_protection_status'] 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?(:'virtual_zone') self.virtual_zone = attributes[:'virtual_zone'] end if attributes.key?(:'virtualization_based_security_status') self.virtualization_based_security_status = attributes[:'virtualization_based_security_status'] end if attributes.key?(:'vlan') if (value = attributes[:'vlan']).is_a?(Array) self.vlan = value end end if attributes.key?(:'xdome_id') self.xdome_id = attributes[:'xdome_id'] end end |
Instance Attribute Details
#agent_version ⇒ Object
The version of the Falcon sensor that’s installed on the asset.
37 38 39 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 37 def agent_version @agent_version end |
#aid ⇒ Object
The agent ID of the Falcon sensor installed on the asset.
40 41 42 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 40 def aid @aid end |
#available_disk_space ⇒ Object
The Amount of available disk space on the asset in GB
43 44 45 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 43 def available_disk_space @available_disk_space end |
#average_memory_usage ⇒ Object
The average memory usage in the last 15 minutes on the asset
46 47 48 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 46 def average_memory_usage @average_memory_usage end |
#average_processor_usage ⇒ Object
The average processor usage in the last 15 minutes on the asset
49 50 51 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 49 def average_processor_usage @average_processor_usage end |
#bios_id ⇒ Object
The id of the bios on the asset
52 53 54 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 52 def bios_id @bios_id end |
#bios_manufacturer ⇒ Object
The name of the asset’s BIOS manufacturer.
55 56 57 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 55 def bios_manufacturer @bios_manufacturer end |
#bios_version ⇒ Object
The asset’s BIOS version.
58 59 60 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 58 def bios_version @bios_version end |
#business_criticality ⇒ Object
The business criticality of the IoT asset.
61 62 63 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 61 def business_criticality @business_criticality end |
#cid ⇒ Object
The asset’s customer ID.
64 65 66 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 64 def cid @cid end |
#city ⇒ Object
The name of the city where the asset is located.
67 68 69 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 67 def city @city end |
#claroty_id ⇒ Object
The external ID of the IoT Device in 3rd Party System(Claroty).
70 71 72 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 70 def claroty_id @claroty_id end |
#computed_internet_exposure ⇒ Object
Whether the asset is exposed to the internet (Yes or Unknown)
73 74 75 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 73 def computed_internet_exposure @computed_internet_exposure end |
#computed_internet_exposure_external_ip ⇒ Object
External IP that is exposed to the Internet
76 77 78 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 76 def computed_internet_exposure_external_ip @computed_internet_exposure_external_ip end |
#computed_internet_exposure_last_seen ⇒ Object
Timestamp when the asset was last seen as exposed to the Internet
79 80 81 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 79 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).
82 83 84 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 82 def confidence @confidence end |
#country ⇒ Object
The name of the country where the asset is located.
85 86 87 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 85 def country @country end |
#cpu_processor_name ⇒ Object
The Detailed processor name
88 89 90 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 88 def cpu_processor_name @cpu_processor_name end |
#credential_guard_status ⇒ Object
The credential guard status of the asset
91 92 93 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 91 def credential_guard_status @credential_guard_status end |
#current_local_ip ⇒ Object
The last seen local IPv4 address of the asset.
94 95 96 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 94 def current_local_ip @current_local_ip end |
#data_providers ⇒ Object
The asset’s data providers.
97 98 99 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 97 def data_providers @data_providers end |
#data_providers_count ⇒ Object
The number of data providers for the asset.
100 101 102 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 100 def data_providers_count @data_providers_count end |
#device_class ⇒ Object
The Device Class of IoT Asset
103 104 105 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 103 def device_class @device_class end |
#device_family ⇒ Object
The Device Family of IoT Asset
106 107 108 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 106 def device_family @device_family end |
#device_guard_status ⇒ Object
The device guard status of the asset
109 110 111 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 109 def device_guard_status @device_guard_status end |
#device_slots ⇒ Object
The slots of IoT Asset
112 113 114 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 112 def device_slots @device_slots end |
#device_type ⇒ Object
The Device Type of IoT Asset
115 116 117 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 115 def device_type @device_type end |
#discoverer_count ⇒ Object
The number of sources that discovered the asset.
118 119 120 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 118 def discoverer_count @discoverer_count 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
121 122 123 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 121 def discoverer_ics_collector_ids @discoverer_ics_collector_ids end |
#discoverer_product_type_descs ⇒ Object
The product type descriptions of the sources that discovered the asset.
124 125 126 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 124 def discoverer_product_type_descs @discoverer_product_type_descs end |
#disk_sizes ⇒ Object
The names and sizes of the disks on the asset
127 128 129 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 127 def disk_sizes @disk_sizes end |
#dragos_id ⇒ Object
The ID generated by dragos asset discovery mechanism
130 131 132 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 130 def dragos_id @dragos_id end |
#encrypted_drives ⇒ Object
The list of encrypted drives on the asset
133 134 135 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 133 def encrypted_drives @encrypted_drives end |
#encrypted_drives_count ⇒ Object
The count of encrypted drives on the asset
136 137 138 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 136 def encrypted_drives_count @encrypted_drives_count end |
#encryption_status ⇒ Object
The encryption status of the asset
139 140 141 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 139 def encryption_status @encryption_status end |
#entity_type ⇒ Object
The type of asset (managed, unmanaged, unsupported).
142 143 144 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 142 def entity_type @entity_type end |
#external_ip ⇒ Object
The external IPv4 address of the asset.
145 146 147 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 145 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).
148 149 150 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 148 def @field_metadata end |
#first_seen_timestamp ⇒ Object
The first time the asset was seen in your environment.
151 152 153 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 151 def @first_seen_timestamp end |
#groups ⇒ Object
The host management groups the asset is part of.
154 155 156 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 154 def groups @groups end |
#hostname ⇒ Object
The asset’s hostname .
157 158 159 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 157 def hostname @hostname end |
#ics_id ⇒ Object
The ID generated by ICS collector asset discovery mechanism
160 161 162 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 160 def ics_id @ics_id end |
#id ⇒ Object
The unique ID of the asset.
163 164 165 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 163 def id @id end |
#internet_exposure ⇒ Object
Whether the asset is exposed to the internet (Yes or Unknown)
166 167 168 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 166 def internet_exposure @internet_exposure end |
#iommu_protection_status ⇒ Object
The iommu protection status of the host
169 170 171 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 169 def iommu_protection_status @iommu_protection_status end |
#kernel_dma_protection_status ⇒ Object
The kernel dma protection status of the asset
172 173 174 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 172 def kernel_dma_protection_status @kernel_dma_protection_status 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.
175 176 177 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 175 def kernel_version @kernel_version 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
178 179 180 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 178 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.
181 182 183 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 181 def @last_seen_timestamp end |
#local_ip_addresses ⇒ Object
The IoT asset’s IP address list
184 185 186 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 184 def local_ip_addresses @local_ip_addresses end |
#local_ips_count ⇒ Object
The number of historical local IPv4 addresses the asset has had.
187 188 189 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 187 def local_ips_count @local_ips_count end |
#logical_core_count ⇒ Object
The Number of Logical Cores on the asset
190 191 192 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 190 def logical_core_count @logical_core_count end |
#mac_addresses ⇒ Object
The IoT asset’s MAC address list
193 194 195 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 193 def mac_addresses @mac_addresses end |
#machine_domain ⇒ Object
The domain name the asset is currently joined to (applies only to Windows hosts).
196 197 198 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 196 def machine_domain @machine_domain end |
#max_memory_usage ⇒ Object
The max memory usage in the last 15 minutes on the asset
199 200 201 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 199 def max_memory_usage @max_memory_usage end |
#max_processor_usage ⇒ Object
The max processor usage in the last 15 minutes on the asset
202 203 204 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 202 def max_processor_usage @max_processor_usage end |
#memory_total ⇒ Object
The Total memory.
205 206 207 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 205 def memory_total @memory_total end |
#mount_storage_info ⇒ Object
The path, used and available space on mounted disks
208 209 210 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 208 def mount_storage_info @mount_storage_info end |
#network_id ⇒ Object
The network ID to which device is connected.
211 212 213 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 211 def network_id @network_id end |
#network_interfaces ⇒ Object
The asset’s network interfaces.
214 215 216 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 214 def network_interfaces @network_interfaces end |
#number_of_disk_drives ⇒ Object
The number of active physical drives available on the system
217 218 219 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 217 def number_of_disk_drives @number_of_disk_drives end |
#os_is_eol ⇒ Object
Whether the asset is at end of support (Yes, No, or Unknown)
220 221 222 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 220 def os_is_eol @os_is_eol end |
#os_version ⇒ Object
The OS version of the asset.
223 224 225 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 223 def os_version @os_version end |
#ot_information_sources ⇒ Object
A list of sources through which host is discovered
226 227 228 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 226 def ot_information_sources @ot_information_sources end |
#ot_serial_numbers ⇒ Object
A list of ot serial numbers that discovered with host
229 230 231 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 229 def ot_serial_numbers @ot_serial_numbers end |
#ou ⇒ Object
The organizational unit of the asset (applies only to Windows hosts).
232 233 234 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 232 def ou @ou end |
#physical_core_count ⇒ Object
The number of physical CPU cores available on the system
235 236 237 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 235 def physical_core_count @physical_core_count end |
#platform_name ⇒ Object
The platform name of the asset (Windows, Mac, Linux).
238 239 240 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 238 def platform_name @platform_name end |
#processor_package_count ⇒ Object
The number of physical processors available on the system
241 242 243 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 241 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).
244 245 246 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 244 def product_type @product_type end |
#product_type_desc ⇒ Object
The product type of the asset (Workstation, Domain Controller, Server).
247 248 249 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 247 def product_type_desc @product_type_desc end |
#protocols ⇒ Object
The list of protocols supported by the device
250 251 252 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 250 def protocols @protocols end |
#purdue_level ⇒ Object
The purdue level of IoT Asset
253 254 255 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 253 def purdue_level @purdue_level end |
#reduced_functionality_mode ⇒ Object
Whether the asset is in reduced functionality mode (Yes or No)
256 257 258 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 256 def reduced_functionality_mode @reduced_functionality_mode end |
#secure_boot_enabled_status ⇒ Object
The secure boot enabled status of the asset
259 260 261 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 259 def secure_boot_enabled_status @secure_boot_enabled_status end |
#secure_boot_requested_status ⇒ Object
The secure boot requested status of the asset
262 263 264 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 262 def secure_boot_requested_status @secure_boot_requested_status end |
#secure_memory_overwrite_requested_status ⇒ Object
The secure memory overwrite requested status of the asset
265 266 267 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 265 def secure_memory_overwrite_requested_status @secure_memory_overwrite_requested_status end |
#site_name ⇒ Object
The site name of the domain the asset is joined to (applies only to Windows hosts).
268 269 270 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 268 def site_name @site_name end |
#subnet ⇒ Object
The subnet to which device is connected.
271 272 273 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 271 def subnet @subnet end |
#system_guard_status ⇒ Object
The system guard status of the asset
274 275 276 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 274 def system_guard_status @system_guard_status end |
#system_manufacturer ⇒ Object
The asset’s system manufacturer.
277 278 279 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 277 def system_manufacturer @system_manufacturer end |
#system_product_name ⇒ Object
The asset’s system product name.
280 281 282 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 280 def system_product_name @system_product_name end |
#system_serial_number ⇒ Object
The asset’s system serial number.
283 284 285 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 283 def system_serial_number @system_serial_number end |
#tags ⇒ Object
The sensor and cloud tags of the asset.
286 287 288 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 286 def @tags end |
#total_bios_files ⇒ Object
The count of bios files measured by the firmware image
289 290 291 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 289 def total_bios_files @total_bios_files end |
#total_disk_space ⇒ Object
The Total amount of disk space available on the asset in GB
292 293 294 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 292 def total_disk_space @total_disk_space end |
#uefi_memory_protection_status ⇒ Object
The uefi memory protection status of the asset
295 296 297 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 295 def uefi_memory_protection_status @uefi_memory_protection_status end |
#unencrypted_drives ⇒ Object
The list of unencrypted drives on the asset
298 299 300 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 298 def unencrypted_drives @unencrypted_drives end |
#unencrypted_drives_count ⇒ Object
The count of unencrypted drives on the asset
301 302 303 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 301 def unencrypted_drives_count @unencrypted_drives_count end |
#used_disk_space ⇒ Object
The Current amount of used disk space on the asset in GB
304 305 306 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 304 def used_disk_space @used_disk_space end |
#virtual_zone ⇒ Object
The Virtual Zone name in which device is installed.
307 308 309 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 307 def virtual_zone @virtual_zone end |
#virtualization_based_security_status ⇒ Object
The virtualization based security status of the asset
310 311 312 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 310 def virtualization_based_security_status @virtualization_based_security_status end |
#vlan ⇒ Object
The VLAN IDs to which device is connected.
313 314 315 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 313 def vlan @vlan end |
#xdome_id ⇒ Object
The external ID of the IoT Device in 3rd Party System(Claroty Xdome)
316 317 318 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 316 def xdome_id @xdome_id end |
Class Method Details
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
419 420 421 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 419 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 319 def self.attribute_map { :'agent_version' => :'agent_version', :'aid' => :'aid', :'available_disk_space' => :'available_disk_space', :'average_memory_usage' => :'average_memory_usage', :'average_processor_usage' => :'average_processor_usage', :'bios_id' => :'bios_id', :'bios_manufacturer' => :'bios_manufacturer', :'bios_version' => :'bios_version', :'business_criticality' => :'business_criticality', :'cid' => :'cid', :'city' => :'city', :'claroty_id' => :'claroty_id', :'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_processor_name' => :'cpu_processor_name', :'credential_guard_status' => :'credential_guard_status', :'current_local_ip' => :'current_local_ip', :'data_providers' => :'data_providers', :'data_providers_count' => :'data_providers_count', :'device_class' => :'device_class', :'device_family' => :'device_family', :'device_guard_status' => :'device_guard_status', :'device_slots' => :'device_slots', :'device_type' => :'device_type', :'discoverer_count' => :'discoverer_count', :'discoverer_ics_collector_ids' => :'discoverer_ics_collector_ids', :'discoverer_product_type_descs' => :'discoverer_product_type_descs', :'disk_sizes' => :'disk_sizes', :'dragos_id' => :'dragos_id', :'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_seen_timestamp' => :'first_seen_timestamp', :'groups' => :'groups', :'hostname' => :'hostname', :'ics_id' => :'ics_id', :'id' => :'id', :'internet_exposure' => :'internet_exposure', :'iommu_protection_status' => :'iommu_protection_status', :'kernel_dma_protection_status' => :'kernel_dma_protection_status', :'kernel_version' => :'kernel_version', :'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', :'logical_core_count' => :'logical_core_count', :'mac_addresses' => :'mac_addresses', :'machine_domain' => :'machine_domain', :'max_memory_usage' => :'max_memory_usage', :'max_processor_usage' => :'max_processor_usage', :'memory_total' => :'memory_total', :'mount_storage_info' => :'mount_storage_info', :'network_id' => :'network_id', :'network_interfaces' => :'network_interfaces', :'number_of_disk_drives' => :'number_of_disk_drives', :'os_is_eol' => :'os_is_eol', :'os_version' => :'os_version', :'ot_information_sources' => :'ot_information_sources', :'ot_serial_numbers' => :'ot_serial_numbers', :'ou' => :'ou', :'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', :'reduced_functionality_mode' => :'reduced_functionality_mode', :'secure_boot_enabled_status' => :'secure_boot_enabled_status', :'secure_boot_requested_status' => :'secure_boot_requested_status', :'secure_memory_overwrite_requested_status' => :'secure_memory_overwrite_requested_status', :'site_name' => :'site_name', :'subnet' => :'subnet', :'system_guard_status' => :'system_guard_status', :'system_manufacturer' => :'system_manufacturer', :'system_product_name' => :'system_product_name', :'system_serial_number' => :'system_serial_number', :'tags' => :'tags', :'total_bios_files' => :'total_bios_files', :'total_disk_space' => :'total_disk_space', :'uefi_memory_protection_status' => :'uefi_memory_protection_status', :'unencrypted_drives' => :'unencrypted_drives', :'unencrypted_drives_count' => :'unencrypted_drives_count', :'used_disk_space' => :'used_disk_space', :'virtual_zone' => :'virtual_zone', :'virtualization_based_security_status' => :'virtualization_based_security_status', :'vlan' => :'vlan', :'xdome_id' => :'xdome_id' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
1106 1107 1108 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1106 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
524 525 526 527 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 524 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 424 def self.openapi_types { :'agent_version' => :'String', :'aid' => :'String', :'available_disk_space' => :'Integer', :'average_memory_usage' => :'Integer', :'average_processor_usage' => :'Integer', :'bios_id' => :'String', :'bios_manufacturer' => :'String', :'bios_version' => :'String', :'business_criticality' => :'String', :'cid' => :'String', :'city' => :'String', :'claroty_id' => :'String', :'computed_internet_exposure' => :'String', :'computed_internet_exposure_external_ip' => :'String', :'computed_internet_exposure_last_seen' => :'String', :'confidence' => :'Integer', :'country' => :'String', :'cpu_processor_name' => :'String', :'credential_guard_status' => :'Boolean', :'current_local_ip' => :'String', :'data_providers' => :'Array<String>', :'data_providers_count' => :'Integer', :'device_class' => :'String', :'device_family' => :'String', :'device_guard_status' => :'Boolean', :'device_slots' => :'Array<DomainDiscoverAPIDeviceSlot>', :'device_type' => :'String', :'discoverer_count' => :'Integer', :'discoverer_ics_collector_ids' => :'Array<String>', :'discoverer_product_type_descs' => :'Array<String>', :'disk_sizes' => :'Array<DomainDiscoverAPIDiskSize>', :'dragos_id' => :'String', :'encrypted_drives' => :'Array<String>', :'encrypted_drives_count' => :'Integer', :'encryption_status' => :'String', :'entity_type' => :'String', :'external_ip' => :'String', :'field_metadata' => :'Hash<String, DomainDiscoverAPIFieldMetadata>', :'first_seen_timestamp' => :'String', :'groups' => :'Array<String>', :'hostname' => :'String', :'ics_id' => :'String', :'id' => :'String', :'internet_exposure' => :'String', :'iommu_protection_status' => :'String', :'kernel_dma_protection_status' => :'Boolean', :'kernel_version' => :'String', :'last_discoverer_ics_collector_id' => :'String', :'last_seen_timestamp' => :'String', :'local_ip_addresses' => :'Array<String>', :'local_ips_count' => :'Integer', :'logical_core_count' => :'Integer', :'mac_addresses' => :'Array<String>', :'machine_domain' => :'String', :'max_memory_usage' => :'Integer', :'max_processor_usage' => :'Integer', :'memory_total' => :'Integer', :'mount_storage_info' => :'Array<DomainDiscoverAPIMountStorageInfo>', :'network_id' => :'String', :'network_interfaces' => :'Array<DomainDiscoverAPINetworkInterface>', :'number_of_disk_drives' => :'Integer', :'os_is_eol' => :'String', :'os_version' => :'String', :'ot_information_sources' => :'Array<String>', :'ot_serial_numbers' => :'Array<String>', :'ou' => :'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', :'reduced_functionality_mode' => :'String', :'secure_boot_enabled_status' => :'Boolean', :'secure_boot_requested_status' => :'Boolean', :'secure_memory_overwrite_requested_status' => :'String', :'site_name' => :'String', :'subnet' => :'String', :'system_guard_status' => :'String', :'system_manufacturer' => :'String', :'system_product_name' => :'String', :'system_serial_number' => :'String', :'tags' => :'Array<String>', :'total_bios_files' => :'Integer', :'total_disk_space' => :'Integer', :'uefi_memory_protection_status' => :'String', :'unencrypted_drives' => :'Array<String>', :'unencrypted_drives_count' => :'Integer', :'used_disk_space' => :'Integer', :'virtual_zone' => :'String', :'virtualization_based_security_status' => :'Boolean', :'vlan' => :'Array<String>', :'xdome_id' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 992 def ==(o) return true if self.equal?(o) self.class == o.class && agent_version == o.agent_version && aid == o.aid && available_disk_space == o.available_disk_space && average_memory_usage == o.average_memory_usage && average_processor_usage == o.average_processor_usage && 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 && 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_processor_name == o.cpu_processor_name && credential_guard_status == o.credential_guard_status && current_local_ip == o.current_local_ip && data_providers == o.data_providers && data_providers_count == o.data_providers_count && device_class == o.device_class && device_family == o.device_family && device_guard_status == o.device_guard_status && device_slots == o.device_slots && device_type == o.device_type && discoverer_count == o.discoverer_count && discoverer_ics_collector_ids == o.discoverer_ics_collector_ids && discoverer_product_type_descs == o.discoverer_product_type_descs && disk_sizes == o.disk_sizes && dragos_id == o.dragos_id && 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. && == o. && groups == o.groups && hostname == o.hostname && ics_id == o.ics_id && id == o.id && internet_exposure == o.internet_exposure && iommu_protection_status == o.iommu_protection_status && kernel_dma_protection_status == o.kernel_dma_protection_status && kernel_version == o.kernel_version && 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 && logical_core_count == o.logical_core_count && mac_addresses == o.mac_addresses && machine_domain == o.machine_domain && max_memory_usage == o.max_memory_usage && 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 && number_of_disk_drives == o.number_of_disk_drives && os_is_eol == o.os_is_eol && os_version == o.os_version && ot_information_sources == o.ot_information_sources && ot_serial_numbers == o.ot_serial_numbers && ou == o.ou && 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 && reduced_functionality_mode == o.reduced_functionality_mode && secure_boot_enabled_status == o.secure_boot_enabled_status && secure_boot_requested_status == o.secure_boot_requested_status && secure_memory_overwrite_requested_status == o.secure_memory_overwrite_requested_status && site_name == o.site_name && subnet == o.subnet && system_guard_status == o.system_guard_status && system_manufacturer == o.system_manufacturer && system_product_name == o.system_product_name && system_serial_number == o.system_serial_number && == o. && total_bios_files == o.total_bios_files && total_disk_space == o.total_disk_space && uefi_memory_protection_status == o.uefi_memory_protection_status && unencrypted_drives == o.unencrypted_drives && unencrypted_drives_count == o.unencrypted_drives_count && used_disk_space == o.used_disk_space && virtual_zone == o.virtual_zone && virtualization_based_security_status == o.virtualization_based_security_status && vlan == o.vlan && xdome_id == o.xdome_id end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
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 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1137 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
1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1208 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
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1113 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
1093 1094 1095 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1093 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1099 1100 1101 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1099 def hash [agent_version, aid, available_disk_space, average_memory_usage, average_processor_usage, bios_id, bios_manufacturer, bios_version, business_criticality, cid, city, claroty_id, computed_internet_exposure, computed_internet_exposure_external_ip, computed_internet_exposure_last_seen, confidence, country, cpu_processor_name, credential_guard_status, current_local_ip, data_providers, data_providers_count, device_class, device_family, device_guard_status, device_slots, device_type, discoverer_count, discoverer_ics_collector_ids, discoverer_product_type_descs, disk_sizes, dragos_id, encrypted_drives, encrypted_drives_count, encryption_status, entity_type, external_ip, , , groups, hostname, ics_id, id, internet_exposure, iommu_protection_status, kernel_dma_protection_status, kernel_version, last_discoverer_ics_collector_id, , local_ip_addresses, local_ips_count, logical_core_count, mac_addresses, machine_domain, max_memory_usage, max_processor_usage, memory_total, mount_storage_info, network_id, network_interfaces, number_of_disk_drives, os_is_eol, os_version, ot_information_sources, ot_serial_numbers, ou, physical_core_count, platform_name, processor_package_count, product_type, product_type_desc, protocols, purdue_level, reduced_functionality_mode, secure_boot_enabled_status, secure_boot_requested_status, secure_memory_overwrite_requested_status, site_name, subnet, system_guard_status, system_manufacturer, system_product_name, system_serial_number, , total_bios_files, total_disk_space, uefi_memory_protection_status, unencrypted_drives, unencrypted_drives_count, used_disk_space, virtual_zone, virtualization_based_security_status, vlan, xdome_id].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 959 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 if @ot_information_sources.nil? invalid_properties.push('invalid value for "ot_information_sources", ot_information_sources cannot be nil.') end if @ot_serial_numbers.nil? invalid_properties.push('invalid value for "ot_serial_numbers", ot_serial_numbers cannot be nil.') end invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1184 1185 1186 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1184 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1190 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
1178 1179 1180 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 1178 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
982 983 984 985 986 987 988 |
# File 'lib/crimson-falcon/models/domain_discover_apiio_t_host.rb', line 982 def valid? return false if @cid.nil? return false if @id.nil? return false if @ot_information_sources.nil? return false if @ot_serial_numbers.nil? true end |