Interface CortexNodeParameters

Source
interface CortexNodeParameters {
    additionalFields?: {
        force?: boolean;
        timeout?: number;
    };
    analyzer?: string;
    binaryPropertyName?: string;
    entityType?: string;
    jobId?: string;
    jsonObject?: boolean;
    objectData?: string;
    observableType?: string;
    observableValue?: string;
    operation?: "get"
    | "execute"
    | "report";
    parameters?:
        | {
            values: {
                description?: string;
                flag?: boolean;
                owner?: string;
                severity?: 1
                | 3
                | 2;
                startDate?: string;
                tags?: string;
                title?: string;
                tlp?: 0 | 1 | 3 | 2;
            };
        }
        | {
            values: {
                artifacts?: {
                    artifactValues: {
                        binaryProperty?: string;
                        data?: string;
                        dataType?: | "other"
                        | "url"
                        | "file"
                        | "domain"
                        | "filename"
                        | "fqdn"
                        | "hash"
                        | "ip"
                        | "mail"
                        | "mail_subject"
                        | "regexp"
                        | "registry"
                        | "uri_path"
                        | "user-agent";
                        message?: string;
                        tags?: string;
                    }[];
                };
                date?: string;
                description?: string;
                follow?: boolean;
                severity?: 1
                | 3
                | 2;
                source?: string;
                sourceRef?: string;
                status?: "New" | "Updated" | "Ignored" | "Imported";
                tags?: string;
                title?: string;
                tlp?: 0 | 1 | 3 | 2;
                type?: string;
            };
        }
        | {
            values: {
                binaryPropertyName?: string;
                data?: string;
                dataType?: | "other"
                | "url"
                | "file"
                | "domain"
                | "filename"
                | "fqdn"
                | "hash"
                | "ip"
                | "mail"
                | "mail_subject"
                | "regexp"
                | "registry"
                | "uri_path"
                | "user-agent";
                ioc?: boolean;
                message?: string;
                startDate?: string;
                status?: "Ok"
                | "Deleted";
                tlp?: 0 | 1 | 3 | 2;
            };
        }
        | {
            values: {
                flag?: boolean;
                status?: | "Completed"
                | "Waiting"
                | "InProgress"
                | "Cancel";
                title?: string;
            };
        }
        | {
            values: {
                message?: string;
                startDate?: string;
                status: "Ok"
                | "Deleted";
            };
        };
    resource?: "analyzer"
    | "job"
    | "responder";
    responder?: string;
    tlp?: 0 | 1 | 3 | 2;
}

Properties§

Source§

readonly additionalFields?: { force?: boolean; timeout?: number }

Default: {}

Source§

readonly analyzer?: string

Choose the analyzer. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadActiveAnalyzers"}

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly entityType?: string

Choose the Data type. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadDataTypeOptions","loadOptionsDependsOn":["responder"]}

Source§

readonly jobId?: string

ID of the job

Source§

readonly jsonObject?: boolean

Choose between providing JSON object or seperated attributes

Source§

readonly objectData?: string

Source§

readonly observableType?: string

Choose the observable type. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadObservableOptions","loadOptionsDependsOn":["analyzer"]}

Source§

readonly observableValue?: string

Enter the observable value

Source§

readonly operation?: "get" | "execute" | "report"

Choose an operation Default: "execute"

Source§

readonly parameters?:
    | {
        values: {
            description?: string;
            flag?: boolean;
            owner?: string;
            severity?: 1
            | 3
            | 2;
            startDate?: string;
            tags?: string;
            title?: string;
            tlp?: 0 | 1 | 3 | 2;
        };
    }
    | {
        values: {
            artifacts?: {
                artifactValues: {
                    binaryProperty?: string;
                    data?: string;
                    dataType?: | "other"
                    | "url"
                    | "file"
                    | "domain"
                    | "filename"
                    | "fqdn"
                    | "hash"
                    | "ip"
                    | "mail"
                    | "mail_subject"
                    | "regexp"
                    | "registry"
                    | "uri_path"
                    | "user-agent";
                    message?: string;
                    tags?: string;
                }[];
            };
            date?: string;
            description?: string;
            follow?: boolean;
            severity?: 1
            | 3
            | 2;
            source?: string;
            sourceRef?: string;
            status?: "New" | "Updated" | "Ignored" | "Imported";
            tags?: string;
            title?: string;
            tlp?: 0 | 1 | 3 | 2;
            type?: string;
        };
    }
    | {
        values: {
            binaryPropertyName?: string;
            data?: string;
            dataType?: | "other"
            | "url"
            | "file"
            | "domain"
            | "filename"
            | "fqdn"
            | "hash"
            | "ip"
            | "mail"
            | "mail_subject"
            | "regexp"
            | "registry"
            | "uri_path"
            | "user-agent";
            ioc?: boolean;
            message?: string;
            startDate?: string;
            status?: "Ok"
            | "Deleted";
            tlp?: 0 | 1 | 3 | 2;
        };
    }
    | {
        values: {
            flag?: boolean;
            status?: | "Completed"
            | "Waiting"
            | "InProgress"
            | "Cancel";
            title?: string;
        };
    }
    | {
        values: {
            message?: string;
            startDate?: string;
            status: "Ok"
            | "Deleted";
        };
    }

Default: {} Type options: {"loadOptionsDependsOn":["entityType"]}

Source§

readonly resource?: "analyzer" | "job" | "responder"

Choose a resource Default: "analyzer"

Source§

readonly responder?: string

Choose the responder. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadActiveResponders"}

Source§

readonly tlp?: 0 | 1 | 3 | 2

The TLP of the analyzed observable Default: 2