diff --git a/CHANGELOG.md b/CHANGELOG.md index d437d05cb..7da3c62c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,7 @@ Thankyou! --> 6. Added new `file` enum to `osint.type_id`. #1168 7. Relaxed data-type constraints for `file_hash_t`, `resource_uid_t` & `string_t`. Fixed regex for `datetime_t`. #1174 8. Added new `Email Account` enum to `account.type_id`. #1179 +9. Removing regex for `hostname_t`, considering the vast variance in its values. #1182 ## [v1.3.0] - August 1st, 2024 diff --git a/dictionary.json b/dictionary.json index e19d8f453..e6e89a4e1 100644 --- a/dictionary.json +++ b/dictionary.json @@ -4895,7 +4895,7 @@ }, "datetime_t": { "caption": "Datetime", - "description": "The Internet Date/Time format as defined in RFC-3339. For example:
2024-09-10T23:20:50.520Z,
2024-09-10 23:20:50.520789Z.", + "description": "The Internet Date/Time format as defined in RFC-3339. For example:
2024-09-10T23:20:50.520Z,
2024-09-10 23:20:50.520789Z.", "regex": "^\\d{4}-\\d{2}-\\d{2}[Tt]\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?([Zz]|[\\+-]\\d{2}:\\d{2})?$", "type": "string_t", "type_name": "String" @@ -4903,7 +4903,7 @@ "email_t": { "observable": 5, "caption": "Email Address", - "description": "Email address. For example: john_doe@example.com.", + "description": "Email address. For example:
john_doe@example.com.", "regex": "^[a-zA-Z0-9!#$%&'*+-/=?^_`{|}~.]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$", "type": "string_t", "type_name": "String" @@ -4911,7 +4911,7 @@ "file_hash_t": { "observable": 8, "caption": "Hash", - "description": "Hash. A unique value that corresponds to the content of the file, image, ja3_hash or hassh found in the schema. For example MD5: 3172ac7e2b55cbb81f04a6e65855a628.", + "description": "Hash. A unique value that corresponds to the content of the file, image, ja3_hash or hassh found in the schema. For example:
MD5: 3172ac7e2b55cbb81f04a6e65855a628.", "regex": "^[a-fA-F0-9]+$", "type": "string_t", "type_name": "String" @@ -4919,19 +4919,18 @@ "file_name_t": { "observable": 7, "caption": "File Name", - "description": "File name. For example: text-file.txt.", + "description": "File name. For example:
text-file.txt.", "type": "string_t", "type_name": "String" }, "float_t": { "caption": "Float", - "description": "Real floating-point value. For example: 3.14." + "description": "Real floating-point value. For example:
3.14." }, "hostname_t": { "observable": 1, "caption": "Hostname", - "description": "Unique name assigned to a device connected to a computer network. A domain name in general is an Internet address that can be resolved through the Domain Name System (DNS). For example: r2-d2.example.com.", - "regex": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])$", + "description": "Unique name assigned to a device connected to a computer network. It may be a fully qualified domain name (FQDN). For example:
r2-d2.example.com.,
mx.example.com", "type": "string_t", "type_name": "String" }, @@ -4943,7 +4942,7 @@ "max_len": 40, "observable": 2, "caption": "IP Address", - "description": "Internet Protocol address (IP address), in either IPv4 or IPv6 format. For example, 192.168.200.24 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334.", + "description": "Internet Protocol address (IP address), in either IPv4 or IPv6 format. For example:
192.168.200.24,
2001:0db8:85a3:0000:0000:8a2e:0370:7334.", "regex": "((^\\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\\s*$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$))", "type": "string_t", "type_name": "String" @@ -4960,7 +4959,7 @@ "max_len": 32, "observable": 3, "caption": "MAC Address", - "description": "Media Access Control (MAC) address. For example: 18:36:F3:98:4F:9A.", + "description": "Media Access Control (MAC) address. For example:
18:36:F3:98:4F:9A.", "regex": "^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$", "type": "string_t", "type_name": "String" @@ -4968,7 +4967,7 @@ "port_t": { "observable": 11, "caption": "Port", - "description": "The TCP/UDP port number. For example: 80 or 22.", + "description": "The TCP/UDP port number. For example:
80,
22.", "type": "integer_t", "type_name": "Integer", "range": [ @@ -4979,7 +4978,7 @@ "process_name_t": { "observable": 9, "caption": "Process Name", - "description": "Process name. For example: Notepad.", + "description": "Process name. For example:
Notepad.", "type": "string_t", "type_name": "String" }, @@ -4998,33 +4997,33 @@ "max_len": 42, "observable": 12, "caption": "Subnet", - "description": "The subnet represented in a CIDR notation, using the format network_address/prefix_length. The network_address can be in either IPv4 or IPv6 format. The prefix length indicates the number of bits used for the network portion, and the remaining bits are available for host addresses within that subnet.
For example:
", + "description": "The subnet represented in a CIDR notation, using the format network_address/prefix_length. The network_address can be in either IPv4 or IPv6 format. The prefix length indicates the number of bits used for the network portion, and the remaining bits are available for host addresses within that subnet. For example:
192.168.1.0/24,
2001:0db8:85a3:0000::/64", "type": "string_t", "type_name": "String" }, "timestamp_t": { "caption": "Timestamp", - "description": "The timestamp format is the number of milliseconds since the Epoch 01/01/1970 00:00:00 UTC. For example 1618524549901.", + "description": "The timestamp format is the number of milliseconds since the Epoch 01/01/1970 00:00:00 UTC. For example:
1618524549901.", "type": "long_t", "type_name": "Long" }, "url_t": { "observable": 6, "caption": "URL String", - "description": "Uniform Resource Locator (URL) string. For example: http://www.example.com/download/trouble.exe.", + "description": "Uniform Resource Locator (URL) string. For example:
http://www.example.com/download/trouble.exe.", "type": "string_t", "type_name": "String" }, "username_t": { "observable": 4, "caption": "User Name", - "description": "User name. For example: john_doe.", + "description": "User name. For example:
john_doe.", "type": "string_t", "type_name": "String" }, "uuid_t": { "caption": "UUID", - "description": "128-bit universal unique identifier. For example: 123e4567-e89b-12d3-a456-42661417400.", + "description": "128-bit universal unique identifier. For example:
123e4567-e89b-12d3-a456-42661417400.", "regex": "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}", "type": "string_t", "type_name": "String"