xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/SecureBoot_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  SecureBoot v1.1.2                                                   -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
252bde4061SEd Tanous  </edmx:Reference>
262bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SecureBootDatabaseCollection_v1.xml">
272bde4061SEd Tanous    <edmx:Include Namespace="SecureBootDatabaseCollection"/>
282bde4061SEd Tanous  </edmx:Reference>
292bde4061SEd Tanous
302bde4061SEd Tanous  <edmx:DataServices>
312bde4061SEd Tanous
322bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot">
332bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
352bde4061SEd Tanous
362bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `SecureBoot` schema contains UEFI Secure Boot information and represents properties for managing the UEFI Secure Boot functionality of a system."/>
382bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource contains UEFI Secure Boot information for a Redfish implementation."/>
392bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
402bde4061SEd Tanous          <Record>
412bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
422bde4061SEd Tanous          </Record>
432bde4061SEd Tanous        </Annotation>
442bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
452bde4061SEd Tanous          <Record>
462bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
472bde4061SEd Tanous            <Annotation Term="OData.Description" String="Secure Boot can be updated to enable or disable the service."/>
482bde4061SEd Tanous          </Record>
492bde4061SEd Tanous        </Annotation>
502bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
512bde4061SEd Tanous          <Record>
522bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
532bde4061SEd Tanous          </Record>
542bde4061SEd Tanous        </Annotation>
552bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
562bde4061SEd Tanous          <Collection>
572bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/SecureBoot</String>
582bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot</String>
592bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot</String>
602bde4061SEd Tanous          </Collection>
612bde4061SEd Tanous        </Annotation>
622bde4061SEd Tanous      </EntityType>
632bde4061SEd Tanous
642bde4061SEd Tanous      <Action Name="ResetKeys" IsBound="true">
652bde4061SEd Tanous        <Annotation Term="OData.Description" String="This action resets the UEFI Secure Boot keys."/>
662bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This action shall reset the UEFI Secure Boot key databases.  The `ResetAllKeysToDefault` value shall reset all UEFI Secure Boot key databases to their default values.  The `DeleteAllKeys` value shall delete the contents of all UEFI Secure Boot key databases.  The `DeletePK` value shall delete the contents of the PK Secure Boot key database."/>
672bde4061SEd Tanous        <Parameter Name="SecureBoot" Type="SecureBoot.v1_0_0.Actions"/>
682bde4061SEd Tanous        <Parameter Name="ResetKeysType" Type="SecureBoot.v1_0_0.ResetKeysType" Nullable="false">
692bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of reset or delete to perform on the UEFI Secure Boot databases."/>
702bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This parameter shall specify the type of reset or delete to perform on the UEFI Secure Boot databases."/>
712bde4061SEd Tanous        </Parameter>
722bde4061SEd Tanous      </Action>
732bde4061SEd Tanous    </Schema>
742bde4061SEd Tanous
752bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_0">
762bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
772bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2016.1"/>
782bde4061SEd Tanous
792bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.SecureBoot">
802bde4061SEd Tanous        <Property Name="SecureBootEnable" Type="Edm.Boolean">
812bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
822bde4061SEd Tanous          <Annotation Term="OData.Description" String="An indication of whether UEFI Secure Boot is enabled."/>
832bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the UEFI Secure Boot takes effect on next boot.  This property can be enabled in UEFI boot mode only."/>
842bde4061SEd Tanous        </Property>
852bde4061SEd Tanous        <Property Name="SecureBootCurrentBoot" Type="SecureBoot.v1_0_0.SecureBootCurrentBootType">
862bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
872bde4061SEd Tanous          <Annotation Term="OData.Description" String="The UEFI Secure Boot state during the current boot cycle."/>
882bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate the UEFI Secure Boot state during the current boot cycle."/>
892bde4061SEd Tanous        </Property>
902bde4061SEd Tanous        <Property Name="SecureBootMode" Type="SecureBoot.v1_0_0.SecureBootModeType">
912bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
922bde4061SEd Tanous          <Annotation Term="OData.Description" String="The current UEFI Secure Boot Mode."/>
932bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the current UEFI Secure Boot mode, as defined in the UEFI Specification."/>
942bde4061SEd Tanous        </Property>
952bde4061SEd Tanous        <Property Name="Actions" Type="SecureBoot.v1_0_0.Actions" Nullable="false">
962bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
972bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
982bde4061SEd Tanous        </Property>
992bde4061SEd Tanous      </EntityType>
1002bde4061SEd Tanous
1012bde4061SEd Tanous      <EnumType Name="SecureBootCurrentBootType">
1022bde4061SEd Tanous        <Member Name="Enabled">
1032bde4061SEd Tanous          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently enabled."/>
1042bde4061SEd Tanous        </Member>
1052bde4061SEd Tanous        <Member Name="Disabled">
1062bde4061SEd Tanous          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently disabled."/>
1072bde4061SEd Tanous        </Member>
1082bde4061SEd Tanous      </EnumType>
1092bde4061SEd Tanous
1102bde4061SEd Tanous      <EnumType Name="SecureBootModeType">
1112bde4061SEd Tanous        <Member Name="SetupMode">
1122bde4061SEd Tanous          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in Setup Mode."/>
1132bde4061SEd Tanous        </Member>
1142bde4061SEd Tanous        <Member Name="UserMode">
1152bde4061SEd Tanous          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in User Mode."/>
1162bde4061SEd Tanous        </Member>
1172bde4061SEd Tanous        <Member Name="AuditMode">
1182bde4061SEd Tanous          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in Audit Mode."/>
1192bde4061SEd Tanous        </Member>
1202bde4061SEd Tanous        <Member Name="DeployedMode">
1212bde4061SEd Tanous          <Annotation Term="OData.Description" String="UEFI Secure Boot is currently in Deployed Mode."/>
1222bde4061SEd Tanous        </Member>
1232bde4061SEd Tanous      </EnumType>
1242bde4061SEd Tanous
1252bde4061SEd Tanous      <EnumType Name="ResetKeysType">
1262bde4061SEd Tanous        <Member Name="ResetAllKeysToDefault">
1272bde4061SEd Tanous          <Annotation Term="OData.Description" String="Reset the contents of all UEFI Secure Boot key databases, including the PK key database, to the default values."/>
1282bde4061SEd Tanous        </Member>
1292bde4061SEd Tanous        <Member Name="DeleteAllKeys">
1302bde4061SEd Tanous          <Annotation Term="OData.Description" String="Delete the contents of all UEFI Secure Boot key databases, including the PK key database.  This puts the system in Setup Mode."/>
1312bde4061SEd Tanous        </Member>
1322bde4061SEd Tanous        <Member Name="DeletePK">
1332bde4061SEd Tanous          <Annotation Term="OData.Description" String="Delete the contents of the PK UEFI Secure Boot database.  This puts the system in Setup Mode."/>
1342bde4061SEd Tanous        </Member>
1352bde4061SEd Tanous      </EnumType>
1362bde4061SEd Tanous
1372bde4061SEd Tanous      <ComplexType Name="Actions">
1382bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1392bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1402bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1412bde4061SEd Tanous        <Property Name="Oem" Type="SecureBoot.v1_0_0.OemActions" Nullable="false">
1422bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1432bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1442bde4061SEd Tanous        </Property>
1452bde4061SEd Tanous      </ComplexType>
1462bde4061SEd Tanous
1472bde4061SEd Tanous      <ComplexType Name="OemActions">
1482bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1492bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1502bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1512bde4061SEd Tanous      </ComplexType>
1522bde4061SEd Tanous    </Schema>
1532bde4061SEd Tanous
1542bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_1">
1552bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1562bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
1572bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_0.SecureBoot"/>
1582bde4061SEd Tanous    </Schema>
1592bde4061SEd Tanous
1602bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_2">
1612bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1622bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
1632bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_1.SecureBoot"/>
1642bde4061SEd Tanous    </Schema>
1652bde4061SEd Tanous
1662bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_3">
1672bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
168f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to mark several action parameters as mandatory, and corrects the short and long descriptions in the defined actions."/>
1692bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_2.SecureBoot"/>
1702bde4061SEd Tanous    </Schema>
1712bde4061SEd Tanous
1722bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_4">
1732bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1742bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
1752bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_3.SecureBoot"/>
1762bde4061SEd Tanous    </Schema>
1772bde4061SEd Tanous
1782bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_5">
1792bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1802bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
1812bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_4.SecureBoot"/>
1822bde4061SEd Tanous    </Schema>
1832bde4061SEd Tanous
1842bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_6">
1852bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1862bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
1872bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_5.SecureBoot"/>
1882bde4061SEd Tanous    </Schema>
1892bde4061SEd Tanous
1902bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_7">
1912bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1922bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to update descriptions as needed to reference UEFI Secure Boot databases."/>
1932bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_6.SecureBoot"/>
1942bde4061SEd Tanous    </Schema>
1952bde4061SEd Tanous
1962bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_8">
1972bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1982bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1992bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_7.SecureBoot"/>
2002bde4061SEd Tanous    </Schema>
2012bde4061SEd Tanous
202f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_9">
203f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
204f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
205f2a8e57eSGunnar Mills      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_8.SecureBoot"/>
206f2a8e57eSGunnar Mills    </Schema>
207f2a8e57eSGunnar Mills
2082bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_1_0">
2092bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
2102bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2020.1"/>
2112bde4061SEd Tanous
2122bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_7.SecureBoot">
2132bde4061SEd Tanous        <NavigationProperty Name="SecureBootDatabases" Type="SecureBootDatabaseCollection.SecureBootDatabaseCollection" ContainsTarget="true" Nullable="false">
2142bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
2152bde4061SEd Tanous          <Annotation Term="OData.Description" String="A link to the collection of UEFI Secure Boot databases."/>
216f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource collection of type `SecureBootDatabaseCollection`."/>
2172bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
2182bde4061SEd Tanous        </NavigationProperty>
2192bde4061SEd Tanous      </EntityType>
2202bde4061SEd Tanous    </Schema>
2212bde4061SEd Tanous
2222bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_1_1">
2232bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
2242bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
2252bde4061SEd Tanous      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_1_0.SecureBoot"/>
2262bde4061SEd Tanous    </Schema>
2272bde4061SEd Tanous
228f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_1_2">
229f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
230f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
231f2a8e57eSGunnar Mills      <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_1_1.SecureBoot"/>
232f2a8e57eSGunnar Mills    </Schema>
233f2a8e57eSGunnar Mills
2342bde4061SEd Tanous  </edmx:DataServices>
2352bde4061SEd Tanous</edmx:Edmx>
236