Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ OVH_CLOUD_PROJECT_SERVICE=<public cloud project ID>
| | login | Partially |
| **Infra Meta** | location | Partially |
| **Network** | ip | Partially |
| | ip firewall | Yes |
| | overthebox | Partially |
| | vrack | Partially |
| | vrackservices | Partially |
Expand Down
1 change: 1 addition & 0 deletions doc/ovhcloud_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Retrieve information and manage your IP services

* [ovhcloud](ovhcloud.md) - CLI to manage your OVHcloud services
* [ovhcloud ip edit](ovhcloud_ip_edit.md) - Edit the given IP
* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP
* [ovhcloud ip get](ovhcloud_ip_get.md) - Retrieve information of a specific Ip
* [ovhcloud ip list](ovhcloud_ip_list.md) - List your Ip services
* [ovhcloud ip reverse](ovhcloud_ip_reverse.md) - Manage reverses on the given IP
Expand Down
40 changes: 40 additions & 0 deletions doc/ovhcloud_ip_firewall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## ovhcloud ip firewall

Manage firewall (Edge Firewall) on the given IP

### Options

```
-h, --help help for firewall
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip](ovhcloud_ip.md) - Retrieve information and manage your IP services
* [ovhcloud ip firewall add](ovhcloud_ip_firewall_add.md) - Add an IP to the firewall
* [ovhcloud ip firewall delete](ovhcloud_ip_firewall_delete.md) - Remove IP and all rules from firewall
* [ovhcloud ip firewall disable](ovhcloud_ip_firewall_disable.md) - Disable the firewall on the given IP
* [ovhcloud ip firewall enable](ovhcloud_ip_firewall_enable.md) - Enable the firewall on the given IP
* [ovhcloud ip firewall get](ovhcloud_ip_firewall_get.md) - Get firewall status for a specific IP
* [ovhcloud ip firewall list](ovhcloud_ip_firewall_list.md) - List IPs registered on the firewall
* [ovhcloud ip firewall rule](ovhcloud_ip_firewall_rule.md) - Manage firewall rules

37 changes: 37 additions & 0 deletions doc/ovhcloud_ip_firewall_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## ovhcloud ip firewall add

Add an IP to the firewall

```
ovhcloud ip firewall add <ip_block> <ip> [flags]
```

### Options

```
-h, --help help for add
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP

37 changes: 37 additions & 0 deletions doc/ovhcloud_ip_firewall_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## ovhcloud ip firewall delete

Remove IP and all rules from firewall

```
ovhcloud ip firewall delete <ip_block> <ip> [flags]
```

### Options

```
-h, --help help for delete
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP

37 changes: 37 additions & 0 deletions doc/ovhcloud_ip_firewall_disable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## ovhcloud ip firewall disable

Disable the firewall on the given IP

```
ovhcloud ip firewall disable <ip_block> <ip> [flags]
```

### Options

```
-h, --help help for disable
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP

37 changes: 37 additions & 0 deletions doc/ovhcloud_ip_firewall_enable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## ovhcloud ip firewall enable

Enable the firewall on the given IP

```
ovhcloud ip firewall enable <ip_block> <ip> [flags]
```

### Options

```
-h, --help help for enable
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP

37 changes: 37 additions & 0 deletions doc/ovhcloud_ip_firewall_get.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## ovhcloud ip firewall get

Get firewall status for a specific IP

```
ovhcloud ip firewall get <ip_block> <ip> [flags]
```

### Options

```
-h, --help help for get
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP

44 changes: 44 additions & 0 deletions doc/ovhcloud_ip_firewall_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## ovhcloud ip firewall list

List IPs registered on the firewall

```
ovhcloud ip firewall list <ip_block> [flags]
```

### Options

```
--filter stringArray Filter results by any property using https://github.com/PaesslerAG/gval syntax
Examples:
--filter 'state="running"'
--filter 'name=~"^my.*"'
--filter 'nested.property.subproperty>10'
--filter 'startDate>="2023-12-01"'
--filter 'name=~"something" && nbField>10'
-h, --help help for list
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP

37 changes: 37 additions & 0 deletions doc/ovhcloud_ip_firewall_rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## ovhcloud ip firewall rule

Manage firewall rules

### Options

```
-h, --help help for rule
```

### Options inherited from parent commands

```
-d, --debug Activate debug mode (will log all HTTP requests details)
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
Examples:
--output json
--output yaml
--output interactive
--output 'id' (to extract a single field)
--output 'nested.field.subfield' (to extract a nested field)
--output '[id, "name"]' (to extract multiple fields as an array)
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
--output 'name+","+type' (to extract and concatenate fields in a string)
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
--profile string Use a specific profile from the configuration file
```

### SEE ALSO

* [ovhcloud ip firewall](ovhcloud_ip_firewall.md) - Manage firewall (Edge Firewall) on the given IP
* [ovhcloud ip firewall rule create](ovhcloud_ip_firewall_rule_create.md) - Create a new firewall rule
* [ovhcloud ip firewall rule delete](ovhcloud_ip_firewall_rule_delete.md) - Delete a firewall rule
* [ovhcloud ip firewall rule get](ovhcloud_ip_firewall_rule_get.md) - Get a specific firewall rule
* [ovhcloud ip firewall rule list](ovhcloud_ip_firewall_rule_list.md) - List firewall rules for the given IP

Loading