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

chore: update cli command structure #50

Merged
merged 4 commits into from
Feb 7, 2024
Merged

Conversation

jrschumacher
Copy link
Member

@jrschumacher jrschumacher commented Feb 6, 2024

Manage policies within the platform.

Policy is a set of rules that are enforced by the platform. Specific to the the data centric
security, policy revolves around data attributes (referred to as attributes). Within the context
of attributes are namespaces, values, subject-mappings, resource-mappings, key-access-server grants,
and other key elements.

Usage:
  tructl policy [command]

Available Commands:
  attributes       Manage attributes [create, get, list, update, delete]
  namespaces       Manage namespaces [create, get, list, update, delete]
  subject-mappings Manage subject mappings [create, get, list, update, delete]

Flags:
  -h, --help   help for policy

Global Flags:
      --host string   host:port of the Virtru Data Security Platform gRPC server (default "localhost:9000")
      --json          output in JSON format

Use "tructl policy [command] --help" for more information about a command.

@jrschumacher jrschumacher changed the title Update cmd structure chore: update cli command structure Feb 6, 2024
@jakedoublev
Copy link
Contributor

Nice! Looks like the linter caught a couple things. Let me know if you want me to address.

Copy link
Contributor

@jakedoublev jakedoublev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jrschumacher jrschumacher merged commit 7ba148b into main Feb 7, 2024
5 checks passed
@jrschumacher jrschumacher deleted the jrschumacher/issue47 branch February 7, 2024 14:19
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

Successfully merging this pull request may close these issues.

Refactor the CLI command structure to reflect the platform communication
2 participants