For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

End-of-session logging disabled on Palo Alto Networks security policies misconfiguration detected in

Rule Details

Cortex AppSec Rule ID

APPSEC_PAN_10

Category - Subcategory

Public Exposure - Encryption And Protocols

Provider

OTHER

Severity

LOW

Framework

Ansible

Impact

This rule checks whether security policies in Palo Alto Networks devices are configured to log at the end of a session. End-of-session logging is crucial for maintaining comprehensive security logs, providing valuable information for auditing and forensic analysis.

How to Fix

Resource: panos_management_profile

  • Attribute: telnet

To mitigate this risk, ensure that the telnet attribute in your panos_management_profile resource is disabled (either set to 'false' or omitted entirely). It is recommended to disable Telnet by explicitly setting this attribute to 'false' or omitting it entirely, thereby encouraging the use of secure communication protocols.

Secure Code Example:

In this example, setting the telnet attribute to false or ensuring it is not configured in the management profile reinforces this rule's requirement, thus securing the Palo Alto Networks device management interface. [source,go]

  • name: Example tasks:

    • name: Example paloaltonetworks.panos.panos_management_profile: provider: '{{ provider }}' name: 'Test profile'


Last updated

Was this helpful?