Use this API to return details for a library template in the API user’s scope.
The user must have the Security Assessment Questionnaire (SAQ) module enabled, the User must have API ACCESS permission, and the Output includes templates within the API user's scope.
The element id (Integer) is required, where id identifies a library template of interest.
API Request
curl -u "USERNAME:PASSWORD" -X GET https:// <qualysbaseurl>/qps/rest/1.0/get/saq/librarytemplate/42768
Response
<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http:// <qualysbaseurl>/qps/xsd/1.0/saq/librarytemplate.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<LibraryTemplate>
<id>42768</id>
<uuid>1d97e61e-4631-4821-be10-087e408fa26f</uuid>
<name>New UCF (42 questions)</name>
<familyId>ea775ac2-b738-46dc-8c04-a2a81af04d7c</familyId>
<revision>1</revision>
<isLibrary>true</isLibrary>
<questionCnt>42</questionCnt>
<state>PUBLISHED</state>
<elements>
<sections>
<list>
<Section>
<name>1 Detective</name>
<sections/>
<questions>
<list>
<Question>
<label>1.1</label>
<text><span style="font-family: Arial;">Examine the </span>
<span style="font-family: Arial;font-style: italic;">Monitoring and Logging operations</span>
<span style="font-family: Arial;"> checklist. Is the control entitled </span>
<span style="font-family: Arial;text-decoration: underline;">Review audit logs, Intrusion Detection System reports, security incident tracking reports, and other security logs regularly</span>
<span style="font-family: Arial;"> [UCF CE ID 00596] included in it?</span></text>
<type>booleanQuestion</type>
<mode>BUTTON</mode>
<requireAttachment>false</requireAttachment>
<requireComment>false</requireComment>
<requireAsset>false</requireAsset>
</Question>
...
</list>
</questions>
</Section>
<Section>
<name>2 Preventive</name>
<sections/>
<questions>
<list>
<Question>
<label>2.1</label>
<text><span style="font-family: Arial;">Examine the control entitled </span>
<span style="font-family: Arial;text-decoration: underline;">Establish and maintain a security testing policy</span>
<span style="font-family: Arial;"> [UCF CE ID 00654] in the </span>
<span style="font-family: Arial;font-style: italic;">Information Security Testing, Assessment, and Vulnerability Management</span>
<span style="font-family: Arial;"> procedure. Does this verify the procedure contains procedures for running internal and external vulnerability scans?</span></text>
<type>booleanQuestion</type>
<mode>BUTTON</mode>
<requireAttachment>false</requireAttachment>
<requireComment>false</requireComment>
<requireAsset>false</requireAsset>
</Question>
...
</list>
</questions>
</Section>
<Section>
<name>3 Corrective</name>
<sections/>
<questions>
<list>
<Question>
<label>3.1</label>
<text><span style="font-family: Arial;">Examine the sample of </span>
<span style="font-family: Arial;font-style: italic;">Audit Examination Findings with associated action plans records</span>
<span style="font-family: Arial;"> in the </span>
<span style="font-family: Arial;font-style: italic;">Internal Operational Audit - Information Technology</span>
<span style="font-family: Arial;"> record category. Do they correlate with the control entitled </span>
<span style="font-family: Arial;text-decoration: underline;">Document and communicate a corrective action plan based on the risk assessment findings</span>
<span style="font-family: Arial;"> [UCF CE ID 00705] in the </span>
<span style="font-family: Arial;font-style: italic;">IT Governance Risk Assessment</span>
<span style="font-family: Arial;"> plan?</span></text>
<type>booleanQuestion</type>
<mode>BUTTON</mode>
<requireAttachment>false</requireAttachment>
<requireComment>false</requireComment>
<requireAsset>false</requireAsset>
</Question>
...
</list>
</questions>
</Section>
</list>
</sections>
<questions/>
</elements>
</LibraryTemplate>
</data>
</ServiceResponse>
<platform API server>qps/xsd/1.0/saq/librarytemplate.xsd