Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Data #244

Open
fuckup1337 opened this issue Oct 5, 2023 · 4 comments
Open

Export Data #244

fuckup1337 opened this issue Oct 5, 2023 · 4 comments

Comments

@fuckup1337
Copy link

Hello I am trying to export campaigns in VECTR, but it does not show my actual campaigns, it only shows SRA and Atomic Red. How can I make my actualy campaigns appear here? I am trying this: https://docs.vectr.io/user/data-import/
Thanks!

@SRAPSpencer
Copy link
Collaborator

Can you provide more context?

Are you trying to export templates or completed data?

If you're trying to export completed data, the only method is to use the "Export Active Environment" under the Environment drop down.

image

You could also use the API to pull data from the system https://docs.vectr.io/graphql/

Note that the Data Import section is only for templates. You cannot import completed assessments via this method.

If you are trying to export templates, you need to create them as templates before you can export them.

@joebloggs12
Copy link

If you're trying to export completed data, the only method is to use the "Export Active Environment" under the Environment drop down.

@SRAPSpencer - Can the exported environment then be reimported into another instance of VECTR somehow?

@SRAPSpencer
Copy link
Collaborator

@joebloggs12 Completed data in itself is not portable. You have two options

  1. Export Active Environment and it will give you a CSV which you can upload with our example API project here, https://github.com/SecurityRiskAdvisors/vectr-tools Note this is lossy and not a complete transfer of metadata or templates
  2. Follow our backup and restore documentation, https://docs.vectr.io/Maintenance_basics/#backups This is only for moving complete deployments. You must load it into a blank install with no volumes and no data may be merged.

@FabFaeb
Copy link

FabFaeb commented Sep 30, 2024

Hi @SRAPSpencer,

I have another question regarding this suggestion of yours:

If you are trying to export templates, you need to create them as templates before you can export them.

Did I understand correctly, that creating a test case as template works via Library -> Test Case Library -> New Test Case (and the same procedure works for campaigns and assessments)?

If so, how do I export those templates after creating them? I don't seem to be able to find the functionality in the GUI so is this only possible via the API? Are there examples for this available?
I assume that the import then simply works via the Import Data GUI-functionality?

Context:
I have multiple Vectr installations and want to be able to share "empty"/template test cases/campaigns/assessments between them without having to manually re create them over and over...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants