Skip to content

Commit 98ff04e

Browse files
committed
1 parent 56d8aa3 commit 98ff04e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

specification/ingest/_types/Processors.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,14 @@ export class FailProcessor extends ProcessorBase {
839839
message: string
840840
}
841841

842+
export enum FingerprintDigest {
843+
md5 = 'MD5',
844+
sha1 = 'SHA-1',
845+
sha256 = 'SHA-256',
846+
sha512 = 'SHA-512',
847+
murmurHash3 = 'MurmurHash3'
848+
}
849+
842850
export class FingerprintProcessor extends ProcessorBase {
843851
/**
844852
* Array of fields to include in the fingerprint. For objects, the processor
@@ -860,7 +868,7 @@ export class FingerprintProcessor extends ProcessorBase {
860868
* SHA-256, SHA-512, or MurmurHash3.
861869
* @server-default SHA-1
862870
*/
863-
method?: string
871+
method?: FingerprintDigest
864872
/**
865873
* If true, the processor ignores any missing fields. If all fields are
866874
* missing, the processor silently exits without modifying the document.

0 commit comments

Comments
 (0)