@@ -550,51 +550,62 @@ export class CircleProcessor extends ProcessorBase {
550550export class CommunityIDProcessor extends ProcessorBase {
551551 /**
552552 * Field containing the source IP address.
553+ * @server -default source.ip
553554 */
554- source_ip ?: string
555+ source_ip ?: Field
555556 /**
556557 * Field containing the source port.
558+ * @server -default source.port
557559 */
558- source_port ?: string
560+ source_port ?: Field
559561 /**
560562 * Field containing the destination IP address.
563+ * @server -default destination.ip
561564 */
562- destination_ip ?: string
565+ destination_ip ?: Field
563566 /**
564567 * Field containing the destination port.
568+ * @server -default destination.port
565569 */
566- destination_port ?: string
570+ destination_port ?: Field
567571 /**
568572 * Field containing the IANA number.
573+ * @server -default network.iana_number
569574 */
570- iana_number ?: string
575+ iana_number ?: Field
571576 /**
572577 * Field containing the ICMP type.
578+ * @server -default icmp.type
573579 */
574- icmp_type ?: string
580+ icmp_type ?: Field
575581 /**
576582 * Field containing the ICMP code.
583+ * @server -default icmp.code
577584 */
578- icmp_code ?: string
585+ icmp_code ?: Field
579586 /**
580587 * Field containing the transport protocol name or number. Used only when the
581588 * iana_number field is not present. The following protocol names are currently
582589 * supported: ICMP, IGMP, TCP, UDP, GRE, ICMP IPv6, EIGRP, OSPF, PIM, and SCTP.
590+ * @server -default network.transport
583591 */
584- transport ?: string
592+ transport ?: Field
585593 /**
586594 * Output field for the community ID.
595+ * @server -default network.community_id
587596 */
588597 target_field ?: Field
589598 /**
590599 * Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The
591600 * seed can prevent hash collisions between network domains, such as a staging
592601 * and production network that use the same addressing scheme.
602+ * @server -default 0
593603 */
594604 seed ?: integer
595605 /**
596606 * If true and any required fields are missing, the processor quietly exits
597607 * without modifying the document.
608+ * @server -default true
598609 */
599610 ignore_missing ?: boolean
600611}
@@ -834,9 +845,10 @@ export class FingerprintProcessor extends ProcessorBase {
834845 * hashes both the field key and value. For other fields, the processor hashes
835846 * only the field value.
836847 */
837- fields : string [ ]
848+ fields : Fields
838849 /**
839850 * Output field for the fingerprint.
851+ * @server -default fingerprint
840852 */
841853 target_field ?: Field
842854 /**
@@ -846,11 +858,13 @@ export class FingerprintProcessor extends ProcessorBase {
846858 /**
847859 * The hash method used to compute the fingerprint. Must be one of MD5, SHA-1,
848860 * SHA-256, SHA-512, or MurmurHash3.
861+ * @server -default SHA-1
849862 */
850863 method ?: string
851864 /**
852865 * If true, the processor ignores any missing fields. If all fields are
853866 * missing, the processor silently exits without modifying the document.
867+ * @server -default false
854868 */
855869 ignore_missing ?: boolean
856870}
@@ -1148,14 +1162,17 @@ export class LowercaseProcessor extends ProcessorBase {
11481162export class NetworkDirectionProcessor extends ProcessorBase {
11491163 /**
11501164 * Field containing the source IP address.
1165+ * @server -default source.ip
11511166 */
1152- source_ip ?: string
1167+ source_ip ?: Field
11531168 /**
11541169 * Field containing the destination IP address.
1170+ * @server -default destination.ip
11551171 */
1156- destination_ip ?: string
1172+ destination_ip ?: Field
11571173 /**
11581174 * Output field for the network direction.
1175+ * @server -default network.direction
11591176 */
11601177 target_field ?: Field
11611178 /**
@@ -1169,10 +1186,11 @@ export class NetworkDirectionProcessor extends ProcessorBase {
11691186 * A field on the given document to read the internal_networks configuration
11701187 * from.
11711188 */
1172- internal_networks_field ?: string
1189+ internal_networks_field ?: Field
11731190 /**
11741191 * If true and any required fields are missing, the processor quietly exits
11751192 * without modifying the document.
1193+ * @server -default true
11761194 */
11771195 ignore_missing ?: boolean
11781196}
0 commit comments