-
Notifications
You must be signed in to change notification settings - Fork 41
Proposal: Add version_item Element to PAN-OS OVAL Schema #283 #331
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
base: 5.12.3_develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| xmlns:panos-sc="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#panos" | ||
| xmlns:sch="http://purl.oclc.org/dsdl/schematron" | ||
| targetNamespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#panos" | ||
| elementFormDefault="qualified" version="5.12.2"> | ||
| elementFormDefault="qualified" version="5.12.3"> | ||
| <xsd:import namespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5" schemaLocation="oval-system-characteristics-schema.xsd"/> | ||
| <xsd:annotation> | ||
| <xsd:documentation> | ||
|
|
@@ -19,8 +19,8 @@ | |
| </xsd:documentation> | ||
| <xsd:appinfo> | ||
| <schema>Palo Alto (PAN-OS) Definitions</schema> | ||
| <version>5.12.2</version> | ||
| <date>11/25/2025 09:00:00 AM</date> | ||
| <version>5.12.3</version> | ||
| <date>05/29/2026 09:00:00 AM</date> | ||
| <terms_of_use> | ||
| For the portion subject to the copyright in the United States: Copyright (c) 2016 United States Government. | ||
| All rights reserved. Copyright (c) 2016, Center for Internet Security. All rights reserved. The contents of | ||
|
|
@@ -63,4 +63,51 @@ | |
| </xsd:complexContent> | ||
| </xsd:complexType> | ||
| </xsd:element> | ||
|
|
||
| <!-- =============================================================================== --> | ||
| <!-- =============================== VERSION ITEM ================================ --> | ||
| <!-- =============================================================================== --> | ||
| <xsd:element name="version_item" substitutionGroup="oval-sc:item"> | ||
| <xsd:annotation> | ||
| <xsd:documentation>This item stores results from checking the contents of an XML configuration.</xsd:documentation> | ||
| </xsd:annotation> | ||
| <xsd:complexType> | ||
| <xsd:complexContent> | ||
| <xsd:extension base="oval-def:StateType"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:sequence> | ||
| <xsd:element name="major_version" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:annotation> | ||
| <xsd:documentation>The major_version entity is used to check the major version piece of the version string. The value is an integer and in the example 10.1.14-h9 the major version is '10'.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="minor_version" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:annotation> | ||
| <xsd:documentation>The minor_version entity is used to check the minor version piece of the version string. The value is an integer and in the example 10.1.14-h9 the minor version is '1'.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="release" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:annotation> | ||
| <xsd:documentation>The release entity is used to check the release piece of the version string. The value is an integer and in the example 10.1.14-h9 the release is '14'.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="hotfix" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:annotation> | ||
| <xsd:documentation>The hotfix entity is used to check the hotfix piece of the version string. The value is an integer and in the example 10.1.14-h9 the hotfix is '9'.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="version_string" type="oval-def:EntityStateAnySimpleType" minOccurs="0" maxOccurs="1"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:annotation> | ||
| <xsd:documentation>The version_string entity is used to check the sw-version raw string output of a PAN-OS XML API request. The value is an string and the example 10.1.14-h9. This is entirely controlled by operator attributes.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| <xsd:element name="model_name" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| <xsd:annotation> | ||
| <xsd:documentation>The model_name entity is used to check the model string output of a PAN-OS XML API request.</xsd:documentation> | ||
| </xsd:annotation> | ||
| </xsd:element> | ||
| </xsd:sequence> | ||
| </xsd:extension> | ||
| </xsd:complexContent> | ||
| </xsd:complexType> | ||
| </xsd:element> | ||
| </xsd:schema> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following text maybe a better description: