Post and import an exported profile package to the SMS. Profiles include shared settings
such as action sets, notification contacts, and services.
- If the imported profile includes policies or category settings that use a particular action set, the action set is added to the SMS. The SMS does not overwrite an existing action set with the same name. Instead, the SMS renames the new action set by appending a number to the end of the file name, for example, “My Quarantine_2”.
- A notification contact that is used by an action set is also imported and renamed, if necessary.
- Existing port definitions for services on the SMS remain the same. If an imported profile includes a service with a port definition that differs from the existing service on the SMS, the service is added to the SMS service list. Review services any time a profile is imported from a different user or from a different environment.
Definition
ipsProfileMgmt/importProfile
Parameters
| Parameter | Type | Description |
| importAction | string | Required.
|
| targetProfileName | string | Name of the existing profile on the SMS. Required for all replace and combine actions.
|
| replacedProfileName | string | Name of the imported profile that will have its contents applied to the existing
profile on the SMS.
|
Example
curl -k --header "X-SMS-API-KEY: <string>"-F "file=@</path/to/import.pkg>" "https://<sms_server>/ipsProfileMgmt/importProfile?importAction=replace& targetProfileName=<name>&replacedProfileName=<name>"
