| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | * Copyright 2012-2017 Red Hat Inc., Durham, North Carolina. |
| 4 | * All Rights Reserved. |
| 5 | * |
| 6 | * Dual licensed under: |
| 7 | * |
| 8 | * 1) LGPL |
| 9 | * This library is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU Lesser General Public |
| 11 | * License as published by the Free Software Foundation; either |
| 12 | * version 2.1 of the License, or (at your option) any later version. |
| 13 | * |
| 14 | * This library is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 | * Lesser General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU Lesser General Public |
| 20 | * License along with this library; if not, write to the Free Software |
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 22 | * |
| 23 | * 2) MIT |
| 24 | * Permission is hereby granted, free of charge, to any person obtaining |
| 25 | * a copy of this software and associated documentation files (the |
| 26 | * "Software"), to deal in the Software without restriction, including |
| 27 | * without limitation the rights to use, copy, modify, merge, publish, |
| 28 | * distribute, sublicense, and/or sell copies of the Software, and to |
| 29 | * permit persons to whom the Software is furnished to do so, subject to |
| 30 | * the following conditions: |
| 31 | * |
| 32 | * The above copyright notice and this permission notice shall be |
| 33 | * included in all copies or substantial portions of the Software. |
| 34 | * |
| 35 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 36 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 37 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 38 | * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 39 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 40 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 41 | * OTHER DEALINGS IN THE SOFTWARE. |
| 42 | * |
| 43 | * Authors: |
| 44 | * Martin Preisler <[email protected]> |
| 45 | --> |
| 46 | <schema |
| 47 | targetNamespace="http://open-scap.org/page/SCE_result_file" |
| 48 | xmlns="http://www.w3.org/2001/XMLSchema" |
| 49 | xmlns:sceres="http://open-scap.org/page/SCE_result_file" |
| 50 | xmlns:xccdf="http://checklists.nist.gov/xccdf/1.1" |
| 51 | elementFormDefault="qualified"> |
| 52 | |
| 53 | <annotation> |
| 54 | <documentation> |
| 55 | Describes form of the ScriptCheckEngine result files. See http://open-scap.org/page/SCE_result_file for more info. |
| 56 | </documentation> |
| 57 | </annotation> |
| 58 | |
| 59 | <import namespace="http://checklists.nist.gov/xccdf/1.1" |
| 60 | schemaLocation="../../xccdf/1.1.4/xccdf-schema.xsd"/> |
| 61 | |
| 62 | <element name="sce_results" type="sceres:sce_results_type"></element> |
| 63 | |
| 64 | <complexType name="sce_results_type"> |
| 65 | <sequence> |
| 66 | <element name="environment" type="sceres:environment_type"></element> |
| 67 | <element name="stdout" type="string"></element> |
| 68 | <element name="stderr" type="string" minOccurs="0"></element> |
| 69 | <element name="exit_code" type="int"></element> |
| 70 | <element name="result" type="xccdf:resultEnumType"></element> |
| 71 | </sequence> |
| 72 | <attribute name="script-path" type="string"></attribute> |
| 73 | </complexType> |
| 74 | |
| 75 | <complexType name="environment_type"> |
| 76 | <sequence> |
| 77 | <element name="entry" type="string" maxOccurs="unbounded" minOccurs="0"></element> |
| 78 | </sequence> |
| 79 | </complexType> |
| 80 | |
| 81 | </schema> |