Proposal: Add version_item Element to PAN-OS OVAL Schema
#283
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Abstarct
This PR enhances the PAN-OS OVAL schema by introducing a new element
version_itemin both definitions and system-characteristics schemas. As per the current PAN-OS XSD Statement (OVAL 5.12 and 6.0), the<config_item>element only collects information from:This API is not sufficient to capture full system information.
Real-Time System Analysis Summary:
config_itemDeviceName,DeviceVersion, etc., is missing in the response.version_itemModel Name,Device Version,License Status, etc.➡️
version_itemis proposed as a new schema element to bridge this gap.Real-Time Device Analysis (PA-VM - PAN-OS v11.0.5)
Example CLI Output:
admin@PA-VM> show system info hostname: PA-VM ip-address: 192.168.122.26 family: vm model: PA-VM serial: unknown vm-license: none sw-version: 11.0.5Example API Request Flow:
Example Configuration Output:
➡️ As seen above,
sw-versionand other critical system information are not represented in the configuration XML — hence the need forversion_item.Changes Introduced
version_iteminpanos-definitions-schema.xsdversion_iteminpanos-system-characteristics-schema.xsd