Get-RocketCyberFirewall
SYNOPSIS
Gets RocketCyber firewalls from an account
SYNTAX
Index (Default)
Get-RocketCyberFirewall [[-AccountId] <long[]>] [[-DeviceId] <string>] [[-IPAddress] <string>]
[[-MACAddress] <string[]>] [[-Type] <string[]>] [[-Page] <int>] [[-PageSize] <int>]
[[-Sort] <string[]>] [-Counters] [-Config] [-AllResults]
ALIASES
This cmdlet has the following aliases,
- Get-RCFirewall
DESCRIPTION
The Get-RocketCyberFirewall cmdlet gets firewalls from all or a defined account ID
The Get-RocketCyberFirewall cmdlet invokes the GET method of the /v3/firewalls endpoint
EXAMPLES
EXAMPLE 1
Get-RocketCyberFirewall
Gets the first 1000 firewalls from all accounts accessible by the API key
EXAMPLE 2
Get-RocketCyberFirewall -AccountId 12345
The first 1000 firewalls are pulled from AccountId 12345
EXAMPLE 3
Get-RocketCyberFirewall -MACAddress '11:22:33:aa:bb:cc'
Get the firewall with the defined MACAddress
EXAMPLE 4
Get-RocketCyberFirewall -Type SonicWall,Fortinet -AllResults
Get every firewall with the defined type
PARAMETERS
-AccountId
The account ID associated to the device
If not provided, data will be pulled for all accounts accessible by the API key
Multiple comma separated values can be inputted
Type: System.Int64[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-AllResults
Returns all items from an endpoint by requesting every page of the results
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Config
Includes the config object in the response
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Counters
Flag to include additional firewall counter data
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-DeviceId
The device ID tied to the device
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-IPAddress
The IP address tied to the device
As of 2023-03 this endpoint does not return IP address information
Example: 172.25.5.254
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-MACAddress
The MAC address tied to the device
Example: ae:b1:69:29:55:24
Multiple comma separated values can be inputted
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 3
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Page
The target page of data
This is used with the PageSize parameter to determine how many and which items to return
Default value: 1
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 5
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PageSize
The number of items to return from the data set
Default value: 1000
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 6
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Sort
The sort order for the items queried
Not all values can be sorted
Multiple comma separated values can be inputted
Example: accountId:asc accountId:desc
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 7
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Type
The type of device
Example: SonicWall,Fortinet
Multiple comma separated values can be inputted
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 4
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.Int64[]
OUTPUTS
NOTES
Endpoint : GET /v3/firewalls