Retrieve Inbound rules for Firewalls in DigitalOcean.
View Specific Information
Digital Ocean supports only the FirewallId column with "=" operator as filter criteria for this view.
SELECT * FROM FirewallsInBoundRules WHERE FirewallId='34d4f42b-fd6b-470c-ae73-9d75de8fc8d2'
You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any other search criteria will be ignored and an unfiltered response will be returned.
|The Id of the Firewall that inbound rule belongs to.|
|Protocol||String||The type of traffic to be allowed. This may be one of 'tcp', 'udp', or 'icmp'.|
|Ports||Integer||The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. '8000-9000'), or 'all' to open all ports for a protocol.|
|SourcesAddresses||String||An array of strings containing all IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the Firewall will allow traffic.|
|SourcesDropletIds||String||An array containing the IDs of the Droplets to which the Firewall will allow traffic.|
|SourcesLoadBalancerUids||String||An array containing the IDs of the Load Balancers to which the Firewall will allow traffic.|
|SourcesTags||String||An array containing the names of Tags corresponding to groups of Droplets to which the Firewall will allow traffic.|