π Profiles
GuardMode Agent 2026.1 supports the use of profiles to provide flexible and context-specific configuration of excluded paths during scans. Profiles allow for overriding default exclusions or applying different exclusion sets, depending on the scan target. This enables administrators to maintain tailored ransomware protection strategies for different environments or workloads, such as mounted snapshots in vStor.
Profile management is available only through the GuardMode REST API and the Swagger interface. Swagger provides a complete, interactive list of all available API endpoints. For more details, see Configuring GuardMode Agent using Swagger.
Profile Conceptsβ
A profile consists of:
- a unique identifier (profile ID),
- a unique name,
- an optional startup flag indicating whether the profile should be used when the agent starts.
GuardMode has three built-in profiles:
- default-linux
- default-windows
- default-vstor
The default-vstor profile is only used on vStor machines and should never be selected for Windows or Linux GuardMode Agent installations.
The agent automatically selects the appropriate built-in profile for the operating system family it is running on, unless another profile is explicitly marked as the startup profile.
Only one profile can be marked as the startup profile. If none is marked, the agent falls back to the OS-specific built-in profile and records this selection in the log.
Profile Managementβ
Profiles can be managed through the GuardMode API only. Supported operations include:
- Getting all profiles β display all profiles available to the agent.
- Creating a profile β define a new profile with a unique name.
- Getting the default profile β retrieve the profile currently in use.
- Updating a profile β modify profile data or change the startup flag.
- Deleting a profile β remove a profile and all associated data.
- Cloning a profile β copy a profile under a new name.
- Getting a profileβs content β display the list of excluded paths related to the profile.
![[image expected here]](/assets/images/swagger-api_v1-profiles-8bd327d1160d23a58bad33c5243f4cd0.png)
- The currently used profile cannot be deleted.
- Built-in profiles (default-linux and default-windows) cannot be deleted.
Profiles, including the default ones, can be cloned. This allows administrators to quickly create profile variants with minor adjustments.
Exclusions and Profilesβ
Excluded paths are always attached to a specific profile. Existing exclusions are assigned to the appropriate built-in profile during upgrade. When creating new exclusions, a profile ID must be provided.
For backwards compatibility:
- v1 exclusion endpoints continue to function, automatically attaching exclusions to the appropriate built-in profile for the current OS family.
- v2 exclusion endpoints require an explicit profile ID.
Profiles in Scansβ
Scans may optionally be executed with a profile identifier:
- If no profile is specified, the agent uses the startup profile (or falls back to the OS-specific built-in profile).
- If a profile is specified, the agent applies its exclusions as defined, without applying OS-specific filtering.
This mechanism supports advanced use cases, such as scanning vStor snapshots where Windows-specific directories (e.g., /system32) need to be excluded while the agent itself runs on Linux.
OS-Specific Considerationsβ
- Excluded paths must conform to the format of the operating system where the agent is running.
- Profiles are not transferable between agents.
- Built-in profiles retain OS-sensitive default exclusions.
This ensures consistency while allowing administrators to define additional, environment-specific exclusions as required.