Next, click the "Show advanced settings" arrow. Ensure the "Generate collection from imported APIs" button is checked. Verify the entry shows the correct format, Swagger 2.0. You should see an entry labeled "Lacework API Documentation". Step 3 - You will now be presented with the Import Options window. Step 2 - Drag the swagger.json file into the Import window or select the Upload Files button to select it. Just click on the "View complete collection documentation" link in the bottom right corner as shown below.ĪPI v1 - Import your Swagger file into Postman Note: The v2 collection also includes built-in documentation. Step 5 - Last, click on the "Collections" tile/tab on the left to see the newly imported collection! Once the import completes, click the Close button to return to Postman. Include auth info in example request -> Disabled Under Import -> "Test Suite" is selected in the drop-down. Step 4 - Next Ensure all values match the following: To set up, configure a Postman environment configured with at least three variables defined: PersonJWT this is set/updated for each. This link currently has a link to most endpoint on the Anypoint exchange. Change the value for 'Link this collection as" from "Documentation" to "Test Suite" Last, click the "Show advanced settings" arrow. Download this file and import into Postman:. Verify the entry shows the correct format, Open AI 3.0. You should see an entry labeled "Lacework API Documentation 2.0". Step 2 - Drag the file lacework-api-v2.0.yaml into the Import window or click the Upload Files button to select it. Next, click the Import button to open the Import window as shown below. Click on the "Collections" tile/tab on the left side. Open Postman Click Import, click Choose Files and specify FTAPIPostmanCollection.json. Step 1 - Open Postman and navigate to your preferred Workspace. Postman is a free-to-download tool for making HTTP requests. NOTE - API v1 (swagger.json) and API v2 (lacework-api-v2.0.yaml) files require different import settings for optimal results.ĪPI v2 - Import the YAML file into Postman The filename will be "lacework-api-v2.0.yaml" Next, click the button at the top labeled "Download" as shown below to save the needed YAML file. After logging into your Lacework tenant, using the menu on the left side, navigate to Help -> API 2.0 Documentation.
To do so, first, log in to your Lacework tenant. You will need to download the Open API compliant YAML file from the API v2 Documentation page. If you’re working off your own API, substitute your endpoints for the example. Click the Run in Postman button at the bottom of the README file to import the sample Postman collection into the Postman app.
Next, click or right-click as needed the link at the top labeled as shown below to save the needed swagger.json file. The first request shows you how to send a request with XML as a parameter in the pre- request script. After logging into your Lacework tenant, using the menu on the left side, navigate to Help -> API Documentation. You will need to download the Swagger.json file from the API v1 Documentation page.
Postman - download the latest version at