Skip to main content

Trend Micro Policy Migrator

Moves your existing on-prem Deep Security deployment to CloudOne Workload Security.

Automatically.

TABLE OF CONTENTS

Quickstart

Use the package manager pip to install dsmigrator.

  1. Run pip install dsmigrator on a machine with access to your DSM.

  2. Run dsmg -k and fill out the credential prompts.

Capabilities

Here's the current feature map of what the tool can migrate:

  • Policies
  • Policy settings
  • Anti-Malware Scan Configurations
  • IPS, LI, and IM custom rules
  • Firewall rules
  • Schedules
  • Contexts
  • IP lists
  • MAC lists
  • Port lists
  • [BETA] Tasks (still quite buggy)
  • [BETA] Computer Groups
  • Application Control (everything)
  • Self-signed certificate support for authenticated requests

Known limitations

  • Cannot migrate customized IM/LI/IP rules. Another tool will be incoming to help aid a manual process in identifying each rule that has been customized, but they will never migrate automatically due to an API limitation
  • Won't migrate cloud accounts. Must be reconfigured/reauthenticated in Cloud One
  • Doesn't migrate DSM settings, make sure to check these manually.
  • Application Control support is not on the roadmap currently. Please open an issue if this is

Usage

Command Reference

Usage: dsmg [OPTIONS]

  Moves your on-prem DS deployment to the cloud!

Options:
  -ou, --original-url TEXT        A resolvable FQDN for the old DSM, with port
                                  number (e.g. https://192.168.1.1:4119/)

  -oa, --original-api-key TEXT    API key for the old DSM with Full Access
                                  permissions

  -nu, --new-url TEXT             Destination url  [default:
                                  https://cloudone.trendmicro.com/]

  -coa, --cloud-one-api-key TEXT  API key for Cloud One Workload Security with
                                  Full Access permissions

  -d, --delete-policies / --keep-policies
                                  Wipes existing policies in Cloud One (not
                                  required, but will give best results)

  -t, --tasks                     (BETA) Enable the task migrator (may be
                                  buggy)

  -k, --insecure                  Suppress the InsecureRequestWarning for
                                  self-signed certificates

  -f, --filter TEXT               A list of policy names in form '[name, name,
                                  ...]' which are the only ones which will be
                                  transferred.

  --help                          Show this message and exit.

Use Environment Variables

You can optionally use the following environment variables to pass in your credentials:

  • ORIGINAL_API_KEY
  • ORIGINAL_URL
  • CLOUD_ONE_API_KEY

Requirements

  • Python3 (only tested on Python 3.7 or greater so far, so your mileage may vary)
  • One api key for your old Deep Security Manager with "Full Access" permissions
  • One api key for your Cloud One account with "Full Access" permissions
  • A resolvable FQDN to your old Deep Security Manager

NOTE: DS Migrator currently only supports migrations from Deep Security 20 and 12.

Contributing

  1. Run ./dev-setup.sh, which will download nix and nix flakes.
  2. Run nix develop which will download and build dependencies, and drop you in a shell.

Support

For support, please open an issue on Github.

License

GNU General Public License

Metadata

Release files for dsmigrator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dsmigrator 1.0.0
File Size Uploaded
dsmigrator-1.0.0.tar.gz 36.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dsmigrator 1.0.0
File Interpreter ABI Platform
dsmigrator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 89.1 kB

Release files / dsmigrator-1.0.0.tar.gz

Download URL dsmigrator-1.0.0.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d12d1850e46904b108785e7a16f16a46c7dc804250955f83c5002ab19e4d6c6a
BLAKE2b-256 checksum
How to use checksums
7370f539c39ea294eca6b83b2a7a96fb489ee7544f2aa5b14a3fcdb5776bff8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.9.5 Linux/5.10.48

Release files / dsmigrator-1.0.0-py3-none-any.whl

Download URL dsmigrator-1.0.0-py3-none-any.whl
Size 52.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f5a76cdd0df39f2bec2f9a39ad7e9ed0fa01ec601e50e1a1df76230effa7acc
BLAKE2b-256 checksum
How to use checksums
0bf28b67e9ac106b7fd63041d470bf3089df44d85dd8bf00e34660cb1171b03a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.9.5 Linux/5.10.48

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page