Application Resources

This section will allow you to begin defining the resources that your application should support. Vanta provides base resource types that can be used as is or extended with custom properties. Details on each resource type will be discussed later on in the guide, but we will first describe the components required to create a resource.


In the Resources tab, locate and select the + Create Resource button.

The Create a Resource form will open. Complete the required fields and click create.

  • Resource Type will be the name used to identify the resource to be sent.
  • Base Resource Type is the definition of the structure and schema of the resource to be sent to Vanta. All schemas must follow the JSON type definition model.
    • Vanta provides several resource types with predefined schemas, which as previously mentioned, will be further explained in the sections below.
      • :tada:These predefined properties and the optional custom properties can be leveraged when building custom tests :tada:
    • Vanta also provides a generic “CustomResource” type that allows you to provide the desired schema by leveraging the “CustomProperties” section.
  • Custom Properties extends the schema of the base resource type by allowing for additional fields for that application resource.
    • Currently we support boolean, int32 and string type fields
  • Generated schema provides the complete structure of the resource being created leveraging the based resource type and the custom properties. It’s not editable directly, but we suggest familiarizing yourself with it since the body of the API Sync requests will have to align with it. It will still be accessible after resource creation.

Created resources will show with its corresponding resource Id and schema directly under the Resources Tab in the Application.

Resource Id is a key value that will be used when making API requests to Vanta. Store it in the correct environment variable for the resource type in your Postman environment.

👍

Go on to Create Custom Tests