Skip to content

Commit 816d82a

Browse files
authored
Update Host.md
1 parent e7a8e8c commit 816d82a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Host.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The `Host` object has the following attributes defined:
99
* `domain` - MUST be the [second-level domain](https://en.wikipedia.org/wiki/Second-level_domain) for this `Host`
1010
* `company` - MUST be the company which owns this `Host`
1111
* `dns` - MUST be the [`DNS`](DNS.md) object(s) that describe(s) this `Host`
12-
* `ports` - MUST be a map (key-value pair) with two keys: `tcp` and `udp`. These two keys MUST have values which are also maps (key-value pairs) which correlate a single number between 0-65535 (representing a port) to a [`Service`](Service.md) object (NOTE: Since JSON doesn't allow numbers to be keys, a string representation of the number must be used). If a port is closed, then it MUST NOT have an entry in the key-value pair under its respective `tcp` or `udp` designation. If a port is open, but no [`Service`](Service.md) object has been constructed, it should be left with a blank object `{}`. Otherwise, the port's value pair MUST point to its respective [`Service`](Service.md) object.
12+
* `ports` - MUST be a map (key-value pair) with two keys: `tcp` and `udp`. These two keys MUST have values which are also maps (key-value pairs) which correlate a single number between 0-65535 (representing a port) to a [`Service`](Service.md) object (NOTE: Since JSON doesn't allow numbers to be keys, a string representation of the number must be used). If a port is closed, then it SHOULD NOT have an entry in the key-value pair under its respective `tcp` or `udp` designation. However, in the circumstance that data needs to be stored on a port that was open and is now closed, the [`Service`](Service.md) object's `active` attribute should be used to delimit that the port is closed. If a port is open, but no [`Service`](Service.md) object has been constructed, it should be left with a blank object `{}`. Otherwise, the port's value pair MUST point to its respective [`Service`](Service.md) object.
1313

1414
\* Required attributes
1515
\*\* At least one of these attributes is required

0 commit comments

Comments
 (0)