Collection

This document describes the Collection feature, which provides users with a way to group 'Snapshots' and 'Tests' in a logical way for better management. Users can create a new collection by entering a name and clicking the "Create" button. Files, including .rego files for validating cloud resource configurations, can be uploaded to a collection by drag-and-drop or clicking the "Click here" button. Users can view all files in a collection and access details of each file by selecting it from the dropdown menu. The types of files in a collection include 'Master Snapshot', 'Snapshot Config', 'Master Compliance', 'Compliance Test', 'Notifications', and 'Other Files'.

Create Collection

  • Go to the Infra management page to create an infrastructure collection, or the PAC Management page to create a PAC collection, in order to create a new collection. Then click the "+" button, enter the Collection Name, and click the Create button.

img/container/create_collection1.png) img/container/create_collection2.png)

Upload Other files

  • We support writing Rego Rules to validate the cloud resource's configurations based on it.
  • User can upload the ".rego" files in the Collection by drag and drop method or by clicking on the Click here button as shown below.
  • Also, the user can select multiple files or drag and drop multiple files at a single time.

    img/container/upload_file.png)

Collection Details

  • The user can see all the files inside collection by clicking on the drop-down in collections and choosing All files.

img/container/collection_menu.png)

img/container/collection_details.png)

  • Master Snapshot: Contains a list of all Master Snapshot files uploaded in the Collection.

  • Snapshot Config: Contains a list of all Snapshot files uploaded in this Collection.

  • Master Compliance: Contains a list of all Master Compliance test files uploaded in this Collection.

  • Compliance Test: Contains a list of all Compliance test files uploaded in this Collection.

  • Notifications: Contains a list of all Notification files uploaded in this Collection.

  • Other Files: Contains a list of all other Configuration files uploaded in this Collection.

  • By clicking on the file from the list, the user can see the configuration file details.