Send-FilesSiemHttpDestinationTestEntry

send_test_entry SIEM HTTP Destination.

Syntax

Send-FilesSiemHttpDestinationTestEntry [-SiemHttpDestinationId <System.Int64>] [-DestinationType <System.String>] [-DestinationUrl <System.String>] [-Name <System.String>] [-AdditionalHeaders <System.Collections.IDictionary>] [-SendingActive <System.Boolean>] [-GenericPayloadType <System.String>] [-FileDestinationPath <System.String>] [-FileFormat <System.String>] [-FileIntervalMinutes <System.Int64>] [-SplunkToken <System.Security.SecureString>] [-CrowdstrikeToken <System.Security.SecureString>] [-AzureDcrImmutableId <System.String>] [-AzureStreamName <System.String>] [-AzureOauthClientCredentialsTenantId <System.String>] [-AzureOauthClientCredentialsClientId <System.String>] [-AzureOauthClientCredentialsClientSecret <System.Security.SecureString>] [-QradarUsername <System.String>] [-QradarPassword <System.Security.SecureString>] [-SolarWindsToken <System.Security.SecureString>] [-NewRelicApiKey <System.Security.SecureString>] [-DatadogApiKey <System.Security.SecureString>] [-ActionSendEnabled <System.Boolean>] [-SftpActionSendEnabled <System.Boolean>] [-FtpActionSendEnabled <System.Boolean>] [-WebDavActionSendEnabled <System.Boolean>] [-SyncSendEnabled <System.Boolean>] [-OutboundConnectionSendEnabled <System.Boolean>] [-AutomationSendEnabled <System.Boolean>] [-ApiRequestSendEnabled <System.Boolean>] [-PublicHostingRequestSendEnabled <System.Boolean>] [-EmailSendEnabled <System.Boolean>] [-ExavaultApiRequestSendEnabled <System.Boolean>] [-SettingsChangeSendEnabled <System.Boolean>] [-Connection <FilesCom.PowerShell.FilesConnection>] [-WorkspaceScope <System.Int64>] [-NoWorkspaceScope] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

send_test_entry SIEM HTTP Destination.

The command supports -WhatIf, which describes the change without sending it to Files.com, and -Confirm, which asks before sending it.

Examples

Example 1: send_test_entry SIEM HTTP Destination

Send-FilesSiemHttpDestinationTestEntry -DestinationType 'example' -DestinationUrl 'example'

Sends the request and writes nothing when it succeeds.

Example 2: Preview the change

Send-FilesSiemHttpDestinationTestEntry -DestinationType 'example' -DestinationUrl 'example' -WhatIf

Describes the change without sending anything to Files.com.

Parameters

-SiemHttpDestinationId

SIEM HTTP Destination ID

  • Type: System.Int64
  • Parameter sets: (All)

-DestinationType

Destination Type

  • Type: System.String
  • Parameter sets: (All)

-DestinationUrl

Destination Url

  • Type: System.String
  • Parameter sets: (All)

-Name

Name for this Destination

  • Type: System.String
  • Parameter sets: (All)

-AdditionalHeaders

Additional HTTP Headers included in calls to the destination URL Give a hashtable or PSCustomObject; keys keep their case and values their types.

  • Type: System.Collections.IDictionary
  • Parameter sets: (All)

-SendingActive

Whether this SIEM HTTP Destination is currently being sent to or not

  • Type: System.Boolean
  • Parameter sets: (All)

-GenericPayloadType

Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.

  • Type: System.String
  • Parameter sets: (All)

-FileDestinationPath

Applicable only for destination type: file. Destination folder path on Files.com.

  • Type: System.String
  • Parameter sets: (All)

-FileFormat

Applicable only for destination type: file. Generated file format.

  • Type: System.String
  • Parameter sets: (All)

-FileIntervalMinutes

Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.

  • Type: System.Int64
  • Parameter sets: (All)

-SplunkToken

Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-CrowdstrikeToken

Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-AzureDcrImmutableId

Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.

  • Type: System.String
  • Parameter sets: (All)

-AzureStreamName

Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.

  • Type: System.String
  • Parameter sets: (All)

-AzureOauthClientCredentialsTenantId

Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.

  • Type: System.String
  • Parameter sets: (All)

-AzureOauthClientCredentialsClientId

Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.

  • Type: System.String
  • Parameter sets: (All)

-AzureOauthClientCredentialsClientSecret

Applicable only for destination type: azure. Client Credentials OAuth Client Secret. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-QradarUsername

Applicable only for destination type: qradar. Basic auth username provided by QRadar.

  • Type: System.String
  • Parameter sets: (All)

-QradarPassword

Applicable only for destination type: qradar. Basic auth password provided by QRadar. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-SolarWindsToken

Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-NewRelicApiKey

Applicable only for destination type: new_relic. API key provided by New Relic. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-DatadogApiKey

Applicable only for destination type: datadog. API key provided by Datadog. Give a SecureString, such as one from Read-Host -AsSecureString or Get-Secret; text typed on the command line, even inside ConvertTo-SecureString, stays in command history.

  • Type: System.Security.SecureString
  • Parameter sets: (All)

-ActionSendEnabled

Whether or not sending is enabled for action logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-SftpActionSendEnabled

Whether or not sending is enabled for sftp_action logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-FtpActionSendEnabled

Whether or not sending is enabled for ftp_action logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-WebDavActionSendEnabled

Whether or not sending is enabled for web_dav_action logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-SyncSendEnabled

Whether or not sending is enabled for sync logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-OutboundConnectionSendEnabled

Whether or not sending is enabled for outbound_connection logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-AutomationSendEnabled

Whether or not sending is enabled for automation logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-ApiRequestSendEnabled

Whether or not sending is enabled for api_request logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-PublicHostingRequestSendEnabled

Whether or not sending is enabled for public_hosting_request logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-EmailSendEnabled

Whether or not sending is enabled for email logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-ExavaultApiRequestSendEnabled

Whether or not sending is enabled for exavault_api_request logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-SettingsChangeSendEnabled

Whether or not sending is enabled for settings_change logs.

  • Type: System.Boolean
  • Parameter sets: (All)

-Connection

The connection to use, from Connect-FilesAccount. Defaults to the connection of the -InputObject or -Continuation given, and otherwise to the current runspace's default connection.

  • Type: FilesCom.PowerShell.FilesConnection
  • Parameter sets: (All)

-WorkspaceScope

Runs this command's requests in this workspace, including workspace 0, instead of the connection's or, for an -InputObject, instead of the workspace the object was read in. The connection and the object are unchanged.

  • Type: System.Int64
  • Parameter sets: (All)

-NoWorkspaceScope

Runs this command's requests in no workspace, even if the connection has one. The connection itself is unchanged.

  • Type: System.Management.Automation.SwitchParameter
  • Parameter sets: (All)

-Confirm

Prompts you for confirmation before running the cmdlet.

  • Type: System.Management.Automation.SwitchParameter
  • Confirm impact: Medium. At the default $ConfirmPreference of High, the command runs without asking; -Confirm makes it ask before each change.

-WhatIf

Shows what the cmdlet would change without sending anything to Files.com.

  • Type: System.Management.Automation.SwitchParameter

Common Parameters

This cmdlet supports the PowerShell common parameters, such as -Verbose and -ErrorAction.

Inputs

None. The command takes no pipeline input.

Outputs

None. The command writes nothing when it succeeds.

Notes

Failures are written as error records with IDs such as Files.NotFound or Files.Authentication. Run Get-Help about_FilesCom for connections, paging, errors and previewing changes.