Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Files

Hierarchy

  • Files

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Files(username: string, password: string): Files
  • Creates an File Analysis object

    Parameters

    • username: string

      XFE API Username

    • password: string

      XFE API Password

    Returns Files

Properties

request

request: any

Methods

getIntel

  • getIntel(filePath: string): Promise<Object>
  • Gets report indicators from a local file

    example
    
    xfeClient.files.getIntel("./email.eml").then(function(result) {
      console.log(result);
    });
    

    Parameters

    • filePath: string

      Path on your local machine to the file you want to upload

    Returns Promise<Object>

Generated using TypeDoc