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

fix(core): remove duplicate titling of help manual #391

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/man/policy/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ command:
default: 'false'
---

# Manage platform policy

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,
Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ command:
- attribute
---

# Manage attributes

Commands to manage attributes within the platform.

Attributes are used to to define the properties of a piece of data. These attributes will then be
Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/create.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Create an attribute
title: Create an attribute definition
command:
name: create
aliases:
Expand Down Expand Up @@ -33,8 +33,6 @@ command:
default: ''
---

# Create an attribute definition

Under a namespace, create an attribute with a rule.

### Rules
Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/deactivate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Deactivate an attribute
title: Deactivate an attribute definition
command:
name: deactivate
flags:
Expand All @@ -11,8 +11,6 @@ command:
description: Force deactivation without interactive confirmation (dangerous)
---

# Deactivate an attribute definition

Deactivation preserves uniqueness of the attribute and values underneath within policy and all existing relations,
essentially reserving them.

Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/get.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Get an attribute
title: Get an attribute definition
command:
name: get
aliases:
Expand All @@ -10,8 +10,6 @@ command:
description: ID of the attribute
---

# Get an attribute

Retrieve an attribute along with its metadata, rule, and values.

For more general information about attributes, see the `attributes` subcommand.
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/list.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: List attributes
title: List attribute definitions
command:
name: list
aliases:
Expand All @@ -15,8 +15,6 @@ command:
default: active
---

# List the known attributes

By default, the list will only provide `active` attributes if unspecified, but the filter can be controlled with the `--state` flag.

For more general information about attributes, see the `attributes` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/namespaces/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ command:
- namespace
---

# Manage attribute namespaces

A namespace is the root (parent) of a set of platform policy. Like an owner or an authority, it fully qualifies attributes and their values,
resource mapping groups, etc. As the various mappings of a platform are to attributes or values, a namespace effectively "owns" the
mappings as well (transitively if not directly).
Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/namespaces/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ command:
default: ''
---

# Create an attribute namespace

Creation of a `namespace` is required to add attributes or any other policy objects beneath.

For more information, see the `namespaces` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/namespaces/deactivate.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ command:
description: Force deactivation without interactive confirmation (dangerous)
---

# Deactivate an attribute namespace

Deactivating an Attribute Namespace will make the namespace name inactive as well as any attribute definitions and values beneath.

Deactivation of a Namespace renders any existing TDFs of those attributes inaccessible.
Expand Down
3 changes: 1 addition & 2 deletions docs/man/policy/attributes/namespaces/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ command:
description: ID of the attribute namespace
---

# Get an attribute namespace

For more information, see the `namespaces` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/namespaces/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ command:
description: Filter by state [active, inactive, any]
---

# List attribute namespaces

For more general information, see the `namespaces` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/namespaces/unsafe/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ command:
required: false
---

# Unsafe Changes to Attribute Namespaces

Unsafe changes are dangerous mutations to Policy that can significantly change access behavior around existing attributes
and entitlement.

Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/namespaces/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ command:
default: false
---

# Update an Attribute Namespace

Attribute Namespace changes can be dangerous, so this command is for updates considered "safe" (currently just mutations to metadata `labels`).

For unsafe updates, see the dedicated `unsafe update` command. For more general information, see the `namespaces` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/unsafe/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ command:
required: false
---

# Unsafe Changes to Attribute Definitions

Unsafe changes are dangerous mutations to Policy that can significantly change access behavior around existing attributes
and entitlement.

Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/update.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Update an attribute
title: Update an attribute definition
command:
name: update
aliases:
Expand All @@ -18,8 +18,6 @@ command:
default: false
---

# Update an attribute

Attribute Definition changes can be dangerous, so this command is for updates considered "safe" (currently just mutations to metadata `labels`).

For unsafe updates, see the dedicated `unsafe update` command. For more general information, see the `attributes` subcommand.
Expand Down
5 changes: 2 additions & 3 deletions docs/man/policy/attributes/values/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ command:
- value
---

# Manage attribute values

Attribute values are the individual units tagged on TDFs containing Resource Data.

They are mapped to entitle person and non-person entities through Subject Mappings, to varied terms for tagging providers
Expand All @@ -26,6 +24,7 @@ Giving data multiple Attribute Values across the same or multiple Definitions/Na
by an Entity's mapped Entitlements to result in key release, decryption, and resulting access to TDF'd data.

For more information on:

- values, see the `attributes values` subcommand
- attribute definitions, see the `attributes` subcommand
- namespaces, see the `attributes namespaces` subcommand
- namespaces, see the `attributes namespaces` subcommand
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/values/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ command:
default: ''
---

# Create an attribute value

Add a single new value underneath an existing attribute.

For a hierarchical attribute, a new value is added in lowest hierarchy (last).
Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/values/deactivate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ command:
description: The ID of the attribute value to deactivate
---

# Deactivate an attribute value

Deactivation preserves uniqueness of the attribute value within policy and all existing relations, essentially reserving it.

However, a deactivation of an attribute value means it cannot be entitled in an access decision.
Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/values/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ command:
description: The ID of the attribute value to get
---

# Get an attribute value

Retrieve an attribute value along with its metadata.

For more general information about attribute values, see the `values` subcommand.
For more general information about attribute values, see the `values` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/values/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ command:
default: active
---

# List attribute values

By default, the list will only provide `active` values if unspecified, but the filter can be controlled with the `--state` flag.

For more general information about attribute values, see the `values` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/attributes/values/unsafe/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ command:
required: false
---

# Unsafe Changes to Attribute Values

Unsafe changes are dangerous mutations to Policy that can significantly change access behavior around existing attributes
and entitlement.

Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/attributes/values/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ command:
- name: label
description: "Optional metadata 'labels' in the format: key=value"
shorthand: l
default: ""
default: ''
- name: force-replace-labels
description: Destructively replace entire set of existing metadata 'labels' with any provided to this command
default: false
---

# Update an attribute value

Attribute Value changes can be dangerous, so this command is for updates considered "safe" (currently just mutations to metadata `labels`).

For unsafe updates, see the dedicated `unsafe update` command. For more general information, see the `values` subcommand.
Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/kas-grants/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ command:
- kas-grant
---

## Background

Once Key Access Servers (KASs) have been registered within a platform's policy,
they can be assigned grants to various attribute objects (namespaces, definitions, values).

Expand Down
4 changes: 1 addition & 3 deletions docs/man/policy/kas-grants/assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ command:
default: false
---

# Assign a grant to a KAS

Assign a registered Key Access Server (KAS) to an attribute namespace, definition, or value.

For more information, see `kas-registry` and `kas-grants` manuals.
For more information, see `kas-registry` and `kas-grants` manuals.
2 changes: 0 additions & 2 deletions docs/man/policy/kas-grants/unassign.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ command:
description: Force the unassignment with no confirmation
---

# Unassign a grant to a KAS

Unassign a registered Key Access Server (KAS) to an attribute namespace, definition, or value.

For more information, see `kas-registry` and `kas-grants` manuals.
2 changes: 0 additions & 2 deletions docs/man/policy/kas-registry/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ command:
- kas-registries
---

# Manage Key Access Servers registered to the platform

The Key Access Server (KAS) registry is a record of KASes safeguarding access and maintaining public keys.

The registry contains critical information like each server's uri, its public key (which can be
Expand Down
20 changes: 9 additions & 11 deletions docs/man/policy/kas-registry/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ command:
default: ''
---

# Create a KAS registration

Public keys can be stored as either `remote` or `cached` under the following JSON structure.

### Remote
Expand All @@ -36,19 +34,19 @@ can be retrieved for the registered KAS under the `remote` key, such as `https:/

```json5
{
"cached": {
cached: {
// One or more known public keys for the KAS
"keys":[
keys: [
{
// x509 ASN.1 content in PEM envelope, usually
"pem": "<your PEM certificate>",
// key identifier
"kid": "<your key id>",
pem: '<your PEM certificate>',
// key identifier
kid: '<your key id>',
// key algorithm (see table below)
"alg": 1
}
]
}
alg: 1,
},
],
},
}
```

Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/kas-registry/delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ command:
description: Force deletion without interactive confirmation (dangerous)
---

# Delete a registered KAS

Removes knowledge of a KAS (registration) from a platform's policy.

If resource data has been TDFd utilizing key splits from the registered KAS, deletion from
Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/kas-registry/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ command:
required: true
---

# Get a registered Key Access Server

For more information about registration of Key Access Servers, see the manual for `kas-registry`.
2 changes: 0 additions & 2 deletions docs/man/policy/kas-registry/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ command:
- l
---

# List KASes registered within a platform

For more information about registration of Key Access Servers, see the manual for `kas-registry`.
2 changes: 0 additions & 2 deletions docs/man/policy/kas-registry/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ command:
default: false
---

# Update a registered KAS

Update the `uri`, `metadata`, or key material (remote/cached) for a KAS registered to the platform.

If resource data has been TDFd utilizing key splits from the registered KAS, deletion from
Expand Down
2 changes: 0 additions & 2 deletions docs/man/policy/resource-mappings/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ command:
- resource-mapping
---

# Manage Resource Mappings

Resource mappings are used to map resources to their respective attribute values based on the terms
that are related to the data. Alone, this service is not very useful, but when combined with a PEP
or PDP that can use the resource mappings it becomes a powerful tool for automating access control.
Expand Down
14 changes: 6 additions & 8 deletions docs/man/policy/resource-mappings/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ command:
- c
flags:
- name: attribute-value-id
description: The ID of the attribute value to map to the resource
default: ""
description: The ID of the attribute value to map to the resource.
default: ''
- name: terms
description: The synonym terms to match for the resource mapping
default: ""
description: The synonym terms to match for the resource mapping.
default: ''
- name: label
description: "Optional metadata 'labels' in the format: key=value"
shorthand: l
default: ""
default: ''
---

# Create a resource mapping

Associate an attribute value with a set of plaintext string terms.

For more information about resource mappings, see the `resource-mappings` subcommand.
For more information about resource mappings, see the `resource-mappings` subcommand.
2 changes: 0 additions & 2 deletions docs/man/policy/resource-mappings/delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ command:
description: Force deletion without interactive confirmation (dangerous)
---

# Delete a resource mapping

For more information about resource mappings, see the `resource-mappings` subcommand.
Loading
Loading