AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node operation, Post Create Custom Profile under the External Scan resource, allows users to create a custom profile by sending a POST request with user-specific data. It is useful in scenarios where you need to programmatically define or update profiles for external scanning services, such as security scans or data analysis profiles tailored to individual users.

Practical examples include:

  • Creating a new scan profile for a user with specific script configurations.
  • Defining global or non-global profile settings dynamically via JSON input.
  • Automating profile creation workflows based on user inputs or other system events.

Properties

Name Meaning
X USER ID The User Id header value required to identify the user making the request.
Additional Body Fields Optional additional fields to include in the request body. Supports JSON input for data.

The Additional Body Fields property accepts a JSON object with customizable keys and values. By default, it includes:

{
  "nse_scripts": "[]",
  "is_global": false
}

Users can modify this JSON to add or change the profile data sent in the request body.

Output

The node outputs JSON data representing the response from the external service after creating the custom profile. This typically includes confirmation details of the created profile, any assigned IDs, status messages, or error information if the creation failed.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authentication with the external scanning service.
  • The base URL for the API must be configured in the node credentials.
  • The node sends HTTP requests with headers including X-USER-ID and content-type set to JSON.

Troubleshooting

  • Missing or invalid X USER ID: The request will fail if the X USER ID header is not provided or incorrect. Ensure this field is filled correctly.
  • Malformed JSON in Additional Body Fields: If the JSON input for additional fields is invalid, the request may fail or cause errors. Validate JSON syntax before execution.
  • API Authentication Errors: Verify that the API key credential is valid and has necessary permissions.
  • Network or Endpoint Issues: Check connectivity and correct base URL configuration if requests time out or return connection errors.

Links and References

  • Refer to the external scanning service API documentation for detailed schema of the profile creation endpoint.
  • JSON validation tools can help ensure the correctness of the Additional Body Fields input.

Discussion