Skip to content

[Bug] Query submits with no groups if checkpoint is used with include-non-exposure #371

@ceciliastevens

Description

@ceciliastevens

Description

When using code42 security-data send-to (or presumably any other command that runs a forensic search query) with a checkpoint, --include-non-exposure, and no other parameters, the generated API command fails because no groups are set.

Steps to Reproduce

  1. Install the Code42CLI
  2. Create a checkpoint
  3. Run code42 security-data send-to target.host.name --include-non-exposure -c checkpointname

Expected Behavior

The search successfully executes and sends data to the target host.

Actual Behavior

An error is returned indicating that the command was missing groups. (Incidentally, this command still appears to be using the v1 APIs, not the newer v2).

Basic Information

  • code42cli version: 1.14.0
  • python version: 3.7
  • operating system: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions