Skip to content

Conversation

@kklimonda-cl
Copy link
Contributor

Add panos_log_export_schedule Resource

This PR adds support for the panos_log_export_schedule resource, which allows configuration of scheduled log exports to external servers via FTP or SCP protocols.

Terraform Resource Name

panos_log_export_schedule

Parameters and Variants

Since there are no renamed parameters or variants (no codegen_overrides.terraform.name found), all parameters use their original names:

Parameter Type Description Required
name string Resource identifier Yes (entry)
description string Description of the log export schedule (max 255 chars) No
enable bool Enable or disable the log export schedule No
log_type string Type of logs to export. Valid values: traffic, threat, gtp, sctp, tunnel, userid, iptag, auth, url, data, hipmatch, wildfire, decryption, globalprotect No
start_time string Time to start the scheduled export in hh:mm format (e.g., "03:30") No
protocol object Protocol configuration (choose one variant) No
protocol.ftp object Use FTP protocol for export No
protocol.ftp.hostname string FTP hostname (max 63 chars) No
protocol.ftp.passive_mode bool Enable FTP Passive Mode No
protocol.ftp.password string FTP password (max 255 chars, hashed) No
protocol.ftp.path string FTP server path (max 255 chars) No
protocol.ftp.port int64 FTP port (1-65535) No
protocol.ftp.username string FTP username (1-255 chars) No
protocol.scp object Use SSH/SCP protocol for export No
protocol.scp.hostname string SCP hostname (max 63 chars) No
protocol.scp.password string SCP password (max 255 chars, hashed) No
protocol.scp.path string SCP server path (max 255 chars) No
protocol.scp.port int64 SCP port (1-65535) No
protocol.scp.username string SCP username (1-255 chars) No

Supported Locations

  • system (Panorama and NGFW)
  • template (Panorama)
  • template-stack (Panorama)

Tests

All acceptance tests pass:

  • ✅ TestAccLogExportSchedule_Basic - Basic parameters
  • ✅ TestAccLogExportSchedule_Protocol_Ftp - FTP protocol variant
  • ✅ TestAccLogExportSchedule_Protocol_Scp - SCP protocol variant

Examples

Examples include:

  • FTP-based traffic log export
  • SCP-based wildfire log export
  • Multiple log export schedules for different log types

@kklimonda-cl kklimonda-cl linked an issue Nov 21, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduled Log Export

2 participants