Get Configuration Profile Details

[GET]  [POST] /qps/rest/1.0/get/ca/agentconfig/<id>

Returns details on a selected configuration profile in the user’s account.

Where “id” (Required) is the ID of the configuration profile of interest.

Permissions required - Managers with full scope. Other users must have these permissions: Access Permission “API Access” and CA Configuration Profile Permission “View Configuration Profile”.

Input ParametersInput Parameters

There are no input parameters.

Sample - View details on configuration profileSample - View details on configuration profile

API request

curl -X GET -H "X-Requested-With: curl" -H "Authorization: Basic AbcdAbcdAbcdAbcdAbcd" -H "Content-Type: text/xml" -H "Cache-Control: no-cache" "<qualys_base_url>/qps/rest/1.0/get/ca/agentconfig/9000"      
    

Response

<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>/qps/xsd/1.0/ca/agentconfig.xsd">
    <responseCode>SUCCESS</responseCode>
    <count>1</count>
    <data>
        <AgentConfig>
            <id>9000</id>
            <name>suspend</name>
            <isDefault>0</isDefault>
            <createdDate>2017-01-16T14:55:43Z</createdDate>
            <createdBy>John Doe (john_d)</createdBy>
            <tags>
                <includeTags>
                    <list>
                        <ConfigTag>
                            <id>256926</id>
                            <uuid>fe2ff339-e262-4cf4-a12d-85daed5fc6ae</uuid>
                            <name>My Tag</name>
                        </ConfigTag>
                    </list>
                </includeTags>
                <includeResolution>ANY</includeResolution>
                <excludeTags/>
                <tagSetUuid>f11e09bf-3e7e-4780-ae00-211f33660d6f</tagSetUuid>
            </tags>
            <suspendScanning>true</suspendScanning>
            <priority>12</priority>
            <totalAgents>1</totalAgents>
            <blackoutConfig>
                <settings>
                    <list/>
                </settings>
            </blackoutConfig>
            <performanceProfile>
                <settings>
                    <list>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_PROVISION</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_UPLOAD_CHANGELIST</key>
                            <value>5</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>FILE_UPLOAD_FRAGMENT_SIZE_IN_KB</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>AGENT_LOGGING_LEVEL</key>
                            <value>Verbose</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>THROTTLE_EVENT_COMM_DOWNLOAD</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_DOWNLOAD_MANIFEST</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>THROTTLE_EVENT_SCAN</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_CHECK_REVOCATION</key>
                            <value>3600</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>FILE_DOWNLOAD_FRAGMENT_SIZE_IN_KB</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_DOWNLOAD_SELF_PATCH</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_EXECUTE_SETUP</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_DOWNLOAD_SNAPSHOT</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>THROTTLE_EVENT_COMM_UPLOAD</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_STATUS</key>
                            <value>900</value>
                        </PerformanceLevelSettings>
                        <PerformanceLevelSettings>
                            <key>INTERVAL_EVENT_CONFIG</key>
                            <value>0</value>
                        </PerformanceLevelSettings>
                    </list>
                </settings>
            </performanceProfile>
        </AgentConfig>
    </data>
</ServiceResponse>      
    

XSD

<platform API server>/qps/xsd/1.0/ca/agentconfig.xsd