Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Panorama] Fixed typos in context-output paths #36276

Merged
merged 18 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from 10 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
7 changes: 2 additions & 5 deletions Packs/PAN-OS/.pack-ignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[file:PAN-OS]
ignore=PA116

[file:Panorama.yml]
ignore=IN136
[file:playbook-PAN-OS_-_Block_IP_-_Static_Address_Group_README.md]
ignore=RM106

[file:README.md]
ignore=RM102,RM106

[file:playbook-PAN-OS_-_Block_IP_-_Static_Address_Group_README.md]
ignore=RM106

[file:playbook-PAN-OS_-_Block_URL_-_Custom_URL_Category_README.md]
Expand Down
28 changes: 26 additions & 2 deletions Packs/PAN-OS/Integrations/Panorama/Panorama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ script:
- contextPath: Panorama.Services.Protocol
description: The service protocol.
type: string
- contextPath: Panorama.Services.Descritpion
- contextPath: Panorama.Services.Description
description: The service description.
type: string
- contextPath: Panorama.Services.DestinationPort
Expand Down Expand Up @@ -4373,7 +4373,7 @@ script:
- contextPath: Panorama.Services.Protocol
description: The service protocol.
type: string
- contextPath: Panorama.Services.Descritpion
- contextPath: Panorama.Services.Description
description: The service description.
type: string
- contextPath: Panorama.Services.DestinationPort
Expand Down Expand Up @@ -5417,6 +5417,9 @@ script:
- contextPath: Panorama.SecurityRule.Tags
description: The tags for the rule.
type: String
- contextPath: Panorama.SecurityRules.ProfileSetting
description: The profile setting group.
type: String
execution: true
- arguments:
- description: The name of the rule to delete.
Expand Down Expand Up @@ -5893,6 +5896,27 @@ script:
- contextPath: Panorama.SecurityRule.SecurityProfile
description: The security profile settings applied to the security rule.
type: Unknown
- contextPath: Panorama.SecurityRule.SecurityProfile.file-blocking
description: The security profile setting for file-blocking in the security rule.
type: String
- contextPath: Panorama.SecurityRule.SecurityProfile.data-filtering
description: The security profile setting for data filtering in the security rule.
type: String
- contextPath: Panorama.SecurityRule.SecurityProfile.wildfire-analysis
description: The security profile setting for wildfire-analysis in the security rule.
type: String
- contextPath: Panorama.SecurityRule.SecurityProfile.spyware
description: The security profile setting for spyware in the security rule.
type: String
- contextPath: Panorama.SecurityRule.SecurityProfile.vulnerability
description: The security profile setting for vulnerability in the security rule.
type: String
- contextPath: Panorama.SecurityRule.SecurityProfile.virus
description: The security profile setting for viruses in the security rule.
type: String
- contextPath: Panorama.SecurityRule.SecurityProfile.url-filtering
description: The security profile setting for url-filtering in the security rule.
type: String
- contextPath: Panorama.SecurityRule.Target.devices
description: The devices targeted by the security rule.
type: String
Expand Down
117 changes: 63 additions & 54 deletions Packs/PAN-OS/Integrations/Panorama/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1187,37 +1187,37 @@ Returns service details for the supplied service name.


### pan-os-create-service

***
Creates a service.


#### Base Command

`pan-os-create-service`

#### Input

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| name | Name for the new service. | Required |
| protocol | Protocol for the new service. | Required |
| destination_port | Destination port for the new service. | Required |
| source_port | Source port for the new service. | Optional |
| description | Description for the new service. | Optional |
| name | The name for the new service. | Required |
| protocol | The protocol for the new service. Possible values are: tcp, udp, sctp. | Required |
| destination_port | The destination port for the new service. | Required |
| source_port | The source port for the new service. | Optional |
| description | The description for the new service. | Optional |
| device-group | The device group for which to return addresses (Panorama instances). | Optional |
| tags | Tags for the new service. | Optional |

| tags | The tags for the new service. | Optional |

#### Context Output

| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Services.Name | string | Service name. |
| Panorama.Services.Protocol | string | Service protocol. |
| Panorama.Services.Description | string | Service description. |
| Panorama.Services.DestinationPort | string | Service destination port. |
| Panorama.Services.SourcePort | string | Service source port. |
| Panorama.Services.DeviceGroup | string | Device group for the service \(Panorama instances\). |
| Panorama.Services.Tags | String | Service tags. |
| Panorama.Services.Name | string | The service name. |
| Panorama.Services.Protocol | string | The service protocol. |
| Panorama.Services.Description | string | The service description. |
| Panorama.Services.DestinationPort | string | The service destination port. |
| Panorama.Services.SourcePort | string | The service source port. |
| Panorama.Services.DeviceGroup | string | The device group for the service \(Panorama instances\). |
| Panorama.Services.Tags | String | The service tags. |


#### Command Example
Expand Down Expand Up @@ -2375,40 +2375,44 @@ Creates a policy rule.
>Rule configured successfully.

### pan-os-custom-block-rule

***
Creates a custom block policy rule.


#### Base Command

`pan-os-custom-block-rule`

#### Input

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| rulename | Name of the custom block policy rule to create. | Optional |
| object_type | Object type to block in the policy rule. Can be "ip", "address-group", "edl", or "custom-url-category". | Required |
| rulename | The name of the custom block policy rule to create. | Optional |
| object_type | The object type to block in the policy rule. Possible values are: ip, address-group, application, url-category, edl. | Required |
| object_value | A comma-separated list of object values for the object_type argument. | Required |
| direction | Direction to block. Can be "to", "from", or "both". Default is "both". This argument is not applicable to the "custom-url-category" object_type. | Optional |
| pre_post | Pre rule or Post rule (Panorama instances). | Optional |
| direction | The direction to block. This argument is not applicable for the "custom-url-category" object_type. Possible values are: to, from, both. Default is both. | Optional |
| pre_post | The pre-rule or post-rule (Panorama instances). Possible values are: pre-rulebase, post-rulebase. | Optional |
| target | Specifies a target firewall for the rule (Panorama instances). | Optional |
| log_forwarding | Log forwarding profile. | Optional |
| log_forwarding | The log forwarding profile. | Optional |
| device-group | The device group for which to return addresses for the rule (Panorama instances). | Optional |
| tags | Tags for which to use for the custom block policy rule. | Optional |
| where | Where to move the rule. Can be "before", "after", "top", or "bottom". If you specify "before" or "after", you need to supply the "dst" argument. | Optional |
| dst | Destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. | Optional |
| tags | The tags to use for the custom block policy rule. | Optional |
| where | Where to move the rule. If you specify "before" or "after", you need to supply the "dst" argument. Possible values are: before, after, top, bottom. Default is bottom. | Optional |
| dst | The destination rule relative to the rule that you are moving. This field is only relevant if you specify "before" or "after" in the "where" argument. | Optional |

#### Context Output

| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.SecurityRule.Name | string | Rule name. |
| Panorama.SecurityRule.Object | string | Blocked object. |
| Panorama.SecurityRule.Direction | string | Direction blocked. |
| Panorama.SecurityRule.Target | string | Target firewall \(Panorama instances\) |
| Panorama.SecurityRule.LogForwarding | string | Log forwarding profile \(Panorama instances\). |
| Panorama.SecurityRule.DeviceGroup | string | Device group for the rule \(Panorama instances\). |
| Panorama.SecurityRule.Tags | String | Rule tags. |
| Panorama.SecurityRule.Name | string | The rule name. |
| Panorama.SecurityRule.Object | string | The blocked object. |
| Panorama.SecurityRule.Direction | string | The direction blocked. |
| Panorama.SecurityRule.Target | string | The target firewall \(Panorama instances\). |
| Panorama.SecurityRule.LogForwarding | string | The log forwarding profile \(Panorama instances\). |
| Panorama.SecurityRule.DeviceGroup | string | The device group for the rule \(Panorama instances\). |
| Panorama.SecurityRule.Tags | String | The rule tags. |
| Panorama.SecurityRules.ProfileSetting | String | The profile setting group. |




#### Command Example
Expand Down Expand Up @@ -3091,6 +3095,7 @@ Returns a list of predefined Security Rules. (When passing a query, all other ar
| Panorama.SecurityRule.LogForwardingProfile | String | The log forwarding profile applied to the security rule. |
| Panorama.SecurityRule.NegateSource | String | Indicates whether the source is negated in the security rule. |
| Panorama.SecurityRule.SecurityProfileGroup | String | The security profile group assigned to the security rule. |
| Panorama.SecurityRule.SecurityProfile | Unknown | The security profile settings applied to the security rule. |
| Panorama.SecurityRule.SecurityProfile.url-filtering | String | The security profile setting for url-filtering in the security rule. |
| Panorama.SecurityRule.SecurityProfile.data-filtering | String | The security profile setting for data-filtering in the security rule. |
| Panorama.SecurityRule.SecurityProfile.file-blocking | String | The security profile setting for file-blocking in the security rule. |
Expand Down Expand Up @@ -4315,65 +4320,66 @@ There are no input arguments for this command.
>| I9805928 | NFR Support | NFR Support | 007DEMISTO1t | no | Never | November 25, 2019 |

### pan-os-get-security-profiles

***
Gets information for the specified security profile.


#### Base Command

`pan-os-get-security-profiles`

#### Input

| **Argument Name** | **Description** | **Required** |
|-------------------| --- | --- |
| security_profile | The security profile for which to get information. Can be "data-filtering", "file-blocking", "spyware", "url-filtering", "virus", "vulnerability", or "wildfire-analysis". | Optional |
| device-group | The device group for which to return security profiles. | Optional |
| --- | --- | --- |
| security_profile | The security profile for which to get information. Possible values are: data-filtering, file-blocking, spyware, url-filtering, virus, vulnerability, wildfire-analysis. | Optional |
| device-group | The device group for which to return security profiles. | Optional |

#### Context Output

| **Path** | **Type** | **Description** |
| --- | --- | --- |
| Panorama.Spyware.Name | String | The profile name. |
| Panorama.Spyware.Rules.Action | String | The rule action. |
| Panorama.Spyware.Rules.Cateogry | String | The category for which to apply the rule. |
| Panorama.Spyware.Rules.Category | String | The category for which to apply the rule. |
| Panorama.Spyware.Rules.Name | String | The rule name. |
| Panorama.Spyware.Rules.Packet-capture | String | Whether packet capture is enabled. |
| Panorama.Spyware.Rules.Severity | String | The rule severity. |
| Panorama.Spyware.Rules.Threat-name | String | The threat name for which to apply the rule. |
| Panorama.Spyware.Rules.Threat-name | String | The threat name to apply for the rule. |
| Panorama.URLFilter.Name | String | The profile name. |
| Panorama.URLFilter.Rules.Category.Action | String | The rule action to apply to the category. |
| Panorama.URLFilter.Rules.Category.Name | String | The category name. |
| Panorama.WildFire.Name | String | The WildFire profile name. |
| Panorama.WildFire.Rules.Analysis | String | The rule analysis. |
| Panorama.WildFire.Rules.Application | String | The application for which to apply the rule. |
| Panorama.WildFire.Rules.File-type | String | The file type for which to apply the rule. |
| Panorama.WildFire.Rules.Application | String | The application to apply for the rule. |
| Panorama.WildFire.Rules.File-type | String | The file type to apply for the rule. |
| Panorama.WildFire.Rules.Name | String | The rule name. |
| Panorama.Vulnerability.Name | String | The vulnerability profile name. |
| Panorama.Vulnerability.Rules.Vendor-id | String | The vendor ID for which to apply the rule. |
| Panorama.Vulnerability.Rules.Vendor-id | String | The vendor ID to apply for the rule. |
| Panorama.Vulnerability.Rules.Packet-capture | String | Whether packet capture is enabled. |
| Panorama.Vulnerability.Rules.Host | String | The rule host. |
| Panorama.Vulnerability.Rules.Name | String | The rule name. |
| Panorama.Vulnerability.Rules.Category | String | The category for which to apply the rule. |
| Panorama.Vulnerability.Rules.CVE | String | The CVE for which to apply the rule. |
| Panorama.Vulnerability.Rules.Category | String | The category to apply for the rule. |
| Panorama.Vulnerability.Rules.CVE | String | The CVE to apply for the rule. |
| Panorama.Vulnerability.Rules.Action | String | The rule action. |
| Panorama.Vulnerability.Rules.Severity | String | The rule severity. |
| Panorama.Vulnerability.Rules.Threat-name | String | The threat for which to apply the rule. |
| Panorama.Antivirus.Name | String | The Antivirus profile name. |
| Panorama.Vulnerability.Rules.Threat-name | String | The threat to apply for the rule. |
| Panorama.Antivirus.Name | String | The antivirus profile name. |
| Panorama.Antivirus.Rules.Action | String | The rule action. |
| Panorama.Antivirus.Rules.Name | String | The rule name. |
| Panorama.Antivirus.Rules.WildFire-action | String | The WildFire action. |
| Panorama.FileBlocking.Name | String | The file blocking profile name. |
| Panorama.FileBlocking.Rules.Action | String | The rule action. |
| Panorama.FileBlocking.Rules.Application | String | The application for which to apply the rule. |
| Panorama.FileBlocking.Rules.File-type | String | The file type to apply the rule. |
| Panorama.FileBlocking.Rules.Application | String | The application to apply for the rule. |
| Panorama.FileBlocking.Rules.File-type | String | The file type to apply for the rule. |
| Panorama.FileBlocking.Rules.Name | String | The rule name. |
| Panorama.DataFiltering.Name | String | The data filtering profile name. |
| Panorama.DataFiltering.Rules.Alert-threshold | String | The alert threshold. |
| Panorama.DataFiltering.Rules.Application | String | The application to apply the rule. |
| Panorama.DataFiltering.Rules.Application | String | The application to apply for the rule. |
| Panorama.DataFiltering.Rules.Block-threshold | String | The block threshold. |
| Panorama.DataFiltering.Rules.Data-object | String | The data object. |
| Panorama.DataFiltering.Rules.Direction | String | The rule direction. |
| Panorama.DataFiltering.Rules.File-type | String | The file type for which to apply the rule. |
| Panorama.DataFiltering.Rules.File-type | String | The file type to apply for the rule. |
| Panorama.DataFiltering.Rules.Log-severity | String | The log severity. |
| Panorama.DataFiltering.Rules.Name | String | The rule name. |

Expand Down Expand Up @@ -8006,25 +8012,25 @@ There is no context output for this command.

>Nat rule test was edited successfully.
### pan-os-list-virtual-routers
***
Returns a list of virtual routers of either Panorama/firewall instance.

***
Returns a list of virtual routers of either a Panorama/firewall instance.

#### Base Command

`pan-os-list-virtual-routers`

#### Input

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| virtual_router | The name of the virtual router to retrieve. If not mentioned, will bring all the virtual routers. | Optional |
| template | The template that the virtual router is part of. Use only for Panorama instances. | Optional |
| show_uncommitted | Whether to show the un-committed virtual routers or not. can be true or false. Default is false. | Optional |
| show_uncommitted | Whether to show the un-committed virtual routers or not. Possible values are: true, false. Default is false. | Optional |
| limit | The maximum number of virtual routers to retrieve. Will be used by default if the page argument was not provided. Default is 50. | Optional |
| page_size | The size of nat-rules to return. Default is 50. | Optional |
| page_size | The size of virtual-routers to return. Default is 50. | Optional |
| page | The page at which to start listing virtual-routers. Must be a positive number. | Optional |


#### Context Output

| **Path** | **Type** | **Description** |
Expand All @@ -8038,6 +8044,8 @@ Returns a list of virtual routers of either Panorama/firewall instance.
| Panorama.VirtualRouter.RedistributionProfile | Unknown | The redistribution profile\(s\) that the virtual router uses. |
| Panorama.VirtualRouter.Multicast | Unknown | Information about the multicast of the virtual router. |
| Panorama.VirtualRouter.StaticRoute | Unknown | The static routes\(s\) that the virtual router uses. |
| Panorama.VirtualRouter.ECMP | Unknown | The ECMP defined for the virtual router. |


#### Command example
```!pan-os-list-virtual-routers show_uncommitted=true```
Expand Down Expand Up @@ -8825,7 +8833,7 @@ Returns a list of tags from Panorama.
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| include_shared_tags | Whether to include shared tags in the list. Possible values are: Yes, No. Default is No. | Optional |
| device_group | The device group that the tags are part of. | Optional |
| device-group | The device group that the tags are part of. | Optional |

#### Context Output

Expand All @@ -8835,6 +8843,7 @@ Returns a list of tags from Panorama.
| Panorama.Tag.color | String | The color of the tag. |
| Panorama.Tag.comment | String | The comment in the tag. |
| Panorama.Tag.disable-override | String | Whether overriding the tag is disabled. |
| Panorama.Tag.location | String | The tag's device group location. |

#### Command example
```!pan-os-list-tag include_shared_tags=No```
Expand Down
7 changes: 7 additions & 0 deletions Packs/PAN-OS/ReleaseNotes/2_2_4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Palo Alto Networks PAN-OS

- Fixed a typo in the context output ***Panorama.Services.Description*** of the ***pan-os-create-service*** command.
- Fixed an issue where some of the context outputs were missing from the README and the YML files.
2 changes: 1 addition & 1 deletion Packs/PAN-OS/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PAN-OS by Palo Alto Networks",
"description": "Manage Palo Alto Networks Firewall and Panorama. Use this pack to manage Prisma Access through Panorama. For more information see Panorama documentation.",
"support": "xsoar",
"currentVersion": "2.2.3",
"currentVersion": "2.2.4",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading