category: Utilities provider: Microsoft commonfields: id: Server Message Block (SMB) version: -1 configuration: - display: Server IP / Hostname (e.g. 1.2.3.4) name: hostname type: 0 required: false - defaultvalue: '445' display: Port name: port required: true type: 0 - display: Server NetBIOS (AD) Name name: nbname type: 0 required: false - display: Domain name: domain type: 0 required: false - display: Username name: credentials required: true type: 9 - defaultvalue: 'false' display: Use system proxy settings name: proxy type: 8 required: false description: Deprecated. Use the Server Message Block (SMB) v2 integration instead. display: Server Message Block (SMB) (Deprecated) name: Server Message Block (SMB) deprecated: true script: commands: - arguments: - name: hostname description: 'Server IP address / hostname, for example: 1.2.3.4.' - name: nbname description: Server NetBIOS (AD) name. - name: domain description: The host domain - name: file_path required: true default: true description: 'The path to the file, starting from the share, for example: Share/Folder/File.' - name: download_and_attach auto: PREDEFINED predefined: - "yes" - "no" description: 'If "yes", the file is downloaded and attached. If "no", only the output is attached. Default is yes".' defaultValue: "yes" outputs: - contextPath: File.Size description: File size. type: number - contextPath: File.SHA1 description: SHA1 hash of the file. type: string - contextPath: File.SHA256 description: SHA256 hash of the file. type: string - contextPath: File.Name description: File name. type: string - contextPath: File.SSDeep description: SSDeep hash of the file. type: string - contextPath: File.EntryID description: File entry ID. type: string - contextPath: File.Info description: Information about the file. type: string - contextPath: File.Type description: File type. type: string - contextPath: File.MD5 description: MD5 hash of the file. type: string deprecated: true description: Downloads a file from the SMB server. name: smb-download - arguments: - name: hostname description: 'Server IP address / hostname, for example: 1.2.3.4.' - name: nbname description: Server NetBIOS (AD) name. - name: domain description: The host domain - name: file_path required: true description: 'The path to the file, starting from the share, for example: Share/Folder/File.' - name: entryID description: EntryID of the file to send to the share. - name: content description: File content to send to the share. Ignored if EntryID argument is specified. deprecated: true description: Uploads a file to the SMB server. name: smb-upload dockerimage: demisto/smb:1.0.0.7685 runonce: false script: '-' type: python subtype: python2 tests: - SMB test fromversion: 5.0.0