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

fix(specs): Update file blocking security profile #284

Merged
merged 2 commits into from
Jan 23, 2025
Merged
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
61 changes: 50 additions & 11 deletions specs/objects/profiles/file-blocking.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: file-blocking-profile
name: file-blocking-security-profile
terraform_provider_config:
description: File Blocking Profile
description: File Blocking security profile
skip_resource: false
skip_datasource: false
resource_type: entry
resource_variants: []
suffix: file_blocking_profile
suffix: file_blocking_security_profile
plural_suffix: ''
plural_name: ''
plural_description: ''
Expand All @@ -25,7 +25,7 @@ locations:
- config
- shared
vars: []
description: Location in Shared Panorama
description: Panorama shared object
devices:
- panorama
- ngfw
Expand Down Expand Up @@ -64,6 +64,39 @@ locations:
validators: []
required: false
read_only: false
- name: vsys
xpath:
path:
- config
- devices
- $ngfw_device
- vsys
- $vsys
vars:
- name: ngfw_device
description: The NGFW device name
required: false
default: localhost.localdomain
validators: []
type: entry
- name: vsys
description: The Virtual System name
required: false
default: vsys1
validators:
- type: not-values
spec:
values:
- value: shared
error: The vsys name cannot be "shared". Use the "shared" location instead
type: entry
description: Located in a specific Virtual System
devices:
- ngfw
- panorama
validators: []
required: false
read_only: false
entries:
- name: name
description: ''
Expand All @@ -82,7 +115,7 @@ spec:
min: 0
max: 255
spec: {}
description: ''
description: Profile description.
required: false
- name: disable-override
type: enum
Expand All @@ -100,7 +133,7 @@ spec:
values:
- value: 'yes'
- value: 'no'
description: disable object override in child device groups
description: Disable object override in child device groups.
required: false
- name: rules
type: list
Expand All @@ -127,8 +160,11 @@ spec:
type: string
items:
type: string
description: ''
description: List of applications.
required: false
codegen_overrides:
terraform:
name: applications
- name: file-type
type: list
profiles:
Expand All @@ -140,8 +176,11 @@ spec:
type: string
items:
type: string
description: ''
description: List of file types.
required: false
codegen_overrides:
terraform:
name: file-types
- name: direction
type: enum
profiles:
Expand All @@ -159,7 +198,7 @@ spec:
- value: upload
- value: download
- value: both
description: ''
description: File transfer direction.
required: false
- name: action
type: enum
Expand All @@ -179,9 +218,9 @@ spec:
- value: alert
- value: block
- value: continue
description: ''
description: Action to take on matching files.
required: false
variants: []
description: ''
description: List of rules.
required: false
variants: []
Loading