# Palo Alto Networks

> Read PAN-OS addresses, groups, services, tags and policy rules; manage address objects and tags without committing changes.

App · 19 actions. Web page: https://docs.lodol.com/docs/integrations/palo-alto-networks

## Actions

### Create address

Create address.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.
- Address value (`address_value`, text, required): Address value.
- Address type (`address_type`, text, required): Address type. One of: `ip-netmask`, `ip-range`, `fqdn`.
- Description (`description`, text): Description.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Create tag

Create tag.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.
- Comments (`comments`, text): Comments.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Delete address

Delete address.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Delete tag

Delete tag.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Get address

Get address.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get address group

Get address group.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get nat rule

Get nat rule.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get security rule

Get security rule.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get service

Get service.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get service group

Get service group.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get tag

Get tag.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List address groups

List address groups.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List addresses

List addresses.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List nat rules

List nat rules.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List security rules

List security rules.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List service groups

List service groups.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List services

List services.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List tags

List tags.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "@code": "example",
    "@status": "example",
    "result": {
      "@total-count": "example",
      "entry": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Update address

Update address.

**Inputs**

- Location (`location`, text, required): Location. One of: `vsys`, `shared`, `device-group`.
- Vsys (`vsys`, text): Virtual system, usually vsys1; required when Location is vsys.
- Device group (`device_group`, text): Panorama device group; required when Location is device-group.
- Name (`name`, text, required): Name.
- Address value (`address_value`, text, required): Address value.
- Address type (`address_type`, text, required): Address type. One of: `ip-netmask`, `ip-range`, `fqdn`.
- Description (`description`, text): Description.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```
