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

Cannot pass json file to update Subject condition set using CLI. This seems to be an option for create #241

Closed
jp-ayyappan opened this issue Jul 26, 2024 · 1 comment
Assignees

Comments

@jp-ayyappan
Copy link

jp.ayyappan@jpayyappan data-security-platform-1 % go run . tructl --host https://local-dsp.virtru.com:8080  policy subject-condition-sets update --id=fc3a7754-e7ab-438b-9081-558cf8ae5a0a --subject-sets-file-json ../virtru_com_condition.js
Error: unknown flag: --subject-sets-file-json
Usage:
  dsp tructl policy subject-condition-sets update [flags]

Flags:
      --force-replace-labels   Destructively replace entire set of existing metadata 'labels' with any provided to this command.
  -h, --help                   help for update
  -i, --id string              The ID of the subject condition set to update
  -l, --label strings          Optional metadata 'labels' in the format: key=value
  -s, --subject-sets string    A JSON array of subject sets, containing a list of condition groups, each with one or more conditions
@jakedoublev jakedoublev self-assigned this Aug 5, 2024
@jakedoublev
Copy link
Contributor

Closing as duplicate of #197

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

No branches or pull requests

2 participants