Skip to main content

Migrates your visiblity information in cloudconformity.com to cloudone.trendmicro.com

Project description

conformity-migration-tool

Migrates your visiblity information in cloudconformity.com to cloudone.trendmicro.com

⚠ WARNING: This tool will overwrite your Cloud One Conformity

Requirements

  1. Python v3.7+
  2. Both accounts must have a valid license (Not expired)
  3. API Keys for both Legacy Conformity and CloudOne Conformity
    • Note: Both API Keys must have admin privileges

How to use this tool

  1. Create or choose an empty folder where you would like to install and run the tool.

  2. Start a shell/terminal on the folder you just created or chosen.

  3. Create a python3 virtual environment (minimum: python v3.7)

    python3 -m venv .venv
    
  4. Activate the virtual environment

    source .venv/bin/activate
    
  5. Install the tool

    pip install conformity-migration-tool
    
  6. Configure the tool

    conformity-migration configure
    

    Note: Once you finish the tool configuration once, a file called user-config.yml with the settings you configured will be generated in the same folder, in case you need to re-run the tool.

  7. If you have AWS accounts, you have the option to use this CLI for updating your ExternalId:

    conformity-migration-aws generate-csv <CSV_FILE>
    

    Update your CSV file with your AWS credentials. Then use the updated csv to run the command below:

    conformity-migration-aws update-stack --csv-file <CSV_FILE>
    

    You can also run this CLI to update an invidual account's stack, which is useful if you want to wrap it in your own script that will iterate through all your accounts. To find those options, please run this command:

    conformity-migration-aws update-stack --help
    
  8. Run the migration

    conformity-migration run
    

    If you already updated your AWS accounts' ExternalId beforehand as in step 8, then you can add this option below so it will stop prompting you to update your ExternalId manually:

    conformity-migration run --skip-aws-prompt
    

Migration support

Cloud Types

  • AWS account

    • Note: To grant access to CloudOne Conformity, user has to update the ExternalId parameter of CloudConformity stack of his/her AWS account. This can be done either manually or using the CLI conformity-migration-aws which is part of the conformity-migration-tool package.
  • Azure account

    • Note: User needs to specify App Registration Key so the tool can add the Active Directory to Conformity
  • GCP account

Organisation-Level Configurations

  • Users
    • Note: The tool will display other users that needs to be invited by the admin to CloudOne Conformity.
  • Groups
  • Communication channel settings
  • Profiles
  • Report Configs

Group-Level Configurations

  • Report Configs

Account-Level Configurations

  • Account tags
  • Conformity Bot settings
  • Account Rule settings
    • Limitation: The API only allows writing a single note to the rule so the tool won't be able to preserve the history of notes. The tool will instead combine history of notes into a single note before writing it.
  • Communication channel settings
  • Checks
    • Limitation: The API only allows writing a single note to the check so the tool won't be able to preserve the history of notes. In addition to that, API only allows a maximum of 200 characters of note. The tool will only get the most recent note and truncate it to 200 characters before writing it.
  • Report Configs

Troubleshooting

If you encounter any errors in the execution, please Create a New Issue describing the steps that you went through, the results expected, and the actual results that you got.

Support logs

The tool automatically generates log files when an error is found. In the same folder that you ran the tool, you will find these files:

  • conformity-migration-error.log -> Specific logs about errors encountered from the last runtime.

  • conformity-migration.log -> General log information about the tool the last runtime.

Note: Please don't share these files publicly, they might contain sensitive information about your environment. In case you need to share for support purposes, mask sensitive information before sending it.

Contributing

If you encounter a bug, think of a useful feature, or find something confusing in the docs, please Create a New Issue!

We :heart: pull requests. If you'd like to fix a bug, contribute to a feature or just correct a typo, please feel free to do so.

If you're thinking of adding a new feature, consider opening an issue first to discuss it to ensure it aligns with the direction of the project (and potentially save yourself some time!).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conformity-migration-tool-0.9.0.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

conformity_migration_tool-0.9.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file conformity-migration-tool-0.9.0.tar.gz.

File metadata

  • Download URL: conformity-migration-tool-0.9.0.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for conformity-migration-tool-0.9.0.tar.gz
Algorithm Hash digest
SHA256 1a5fc650a3eeef4b289fe6685effe7f7567d709245d34f551a18f8324b3de80e
MD5 ea69803eb95b65850f4da796d9a040c0
BLAKE2b-256 8256226097e8b175e13036306ec962666845cf01e9d3fb3caf5b1d96da3c831a

See more details on using hashes here.

File details

Details for the file conformity_migration_tool-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: conformity_migration_tool-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for conformity_migration_tool-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ffcc66e2406d7e2e36c388af4f3e67519b5dfc4d086c92d7788b8ee93f6da21
MD5 9026fdfdb74532f5443eb588b9b5d4c1
BLAKE2b-256 c74984e2b2298bd41b365a4d7dd8e6de7da6af2d414c23e4aa3441287be4fed0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page