View vault settings

/api/2.0/fo/vault/?action=view

[GET]  [POST]

View settings for a vault in the user's account.

Permissions - Managers, Unit Managers and Scanners can view vaults and their settings.

Input Parameters

Parameter

Description

action=view

(Required)  

echo_request={0|1}

(Optional) Specify 1 to view (echo) input parameters in the XML output. By default these are not included.

id={value}

(Required) A vault ID.

 

Sample - View settings for vault ID

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: curl" -d "action=view&id=7004"

"https://qualysapi.qualys.com/api/2.0/fo/vault/index.php"

 

XML output

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE VAULT_OUTPUT SYSTEM "https://qualysapi.qualys.com/api/2.0/fo/vault/vault_view.dtd">

<VAULT_OUTPUT>

  <RESPONSE>

    <DATETIME>2018-04-08T06:38:28Z</DATETIME>

    <VAULT_QUEST>

      <TITLE><![CDATA[New CyberArk AIM Vault]]></TITLE>

      <COMMENTS><![CDATA[]]></COMMENTS>

      <VAULT_TYPE><![CDATA[CyberArk AIM]]></VAULT_TYPE>

      <CREATED_ON>2018-03-07T07:09:34Z</CREATED_ON>

      <OWNER>user_john</OWNER>

      <LAST_MODIFIED>

        <DATETIME>2018-04-08T06:37:49Z</DATETIME>

        <BY>user_john</BY>

      </LAST_MODIFIED>

      <APPID><![CDATA[735435]]></APPID>

      <URL><![CDATA[https://afco.com]]></URL>

      <SSL_VERIFY><![CDATA[1]]></SSL_VERIFY>

      <SAFE><![CDATA[56908456904]]></SAFE>

      <ID>7004</ID>

    </VAULT_QUEST>

  </RESPONSE>

</VAULT_OUTPUT>

 

DTD

<platform API server>/api/2.0/fo/vault/vault_view.dtd