AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node operation allows updating a custom profile in an external scanning system by sending a PATCH request. It is useful when you need to modify specific attributes of a user profile related to external scans, such as script configurations or global flags. For example, you might update the scripts associated with a user's scan profile or toggle whether the profile applies globally.

Properties

Name Meaning
X USER ID The User Id header value required for authentication or identification in the API call.
Additional Body Fields Optional fields to include in the request body:
- Data: JSON object representing profile data, e.g., scripts and global flag.
- Id: Numeric identifier of the profile to update.

Output

The node outputs the JSON response from the PATCH request to the external scan service. This typically contains the updated profile information or confirmation of the update. There is no indication that binary data is returned.

Dependencies

  • Requires an API key credential for authenticating requests to the external scan service.
  • The base URL for the API must be configured in the node credentials.
  • Uses HTTP PATCH method with JSON content type.

Troubleshooting

  • Missing or invalid X USER ID: The API requires this header; ensure it is provided and correct.
  • Invalid JSON in Data field: The "Data" property expects valid JSON; malformed JSON will cause errors.
  • Profile Id not specified or incorrect: The "Id" field must correctly identify the profile to update.
  • API connectivity issues: Verify network access and correct base URL configuration.
  • Permission errors: Ensure the API key has rights to update profiles.

Links and References

  • Refer to the external scan service API documentation for details on PATCH /profile endpoints.
  • JSON formatting tools can help validate the "Data" input field.

Discussion