Skip to content

Commit

Permalink
03-24-20 Merge remote-tracking branch 'origin/master' into force-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Johnson committed Mar 24, 2020
2 parents 1f70545 + 97ef23b commit 44d85c6
Show file tree
Hide file tree
Showing 31 changed files with 2,127 additions and 737 deletions.
339 changes: 175 additions & 164 deletions api/external/compliance/reporting/reporting.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions api/external/compliance/reporting/reporting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ message ControlItem {
message ControlItems {
// The paginated results of controls matching the filters.
repeated ControlItem control_items = 1;
// The summary totals for this list of control items
ControlSummary control_summary_totals = 2;
}

message TimeQuery {
Expand Down
4 changes: 4 additions & 0 deletions api/external/compliance/reporting/reporting.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

349 changes: 179 additions & 170 deletions api/interservice/compliance/reporting/reporting.pb.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions api/interservice/compliance/reporting/reporting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ message ControlItem {

message ControlItems {
repeated ControlItem control_items = 1;
ControlSummary control_summary_totals = 2;
}

message Reports {
Expand Down
6 changes: 3 additions & 3 deletions components/automate-chef-io/content/docs/iam-v2-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ The statement allows us to specify the `actions` a user is permitted to take upo
The `projects` field on a statement is an array that may contain more than one existing project, a wildcard `*` to indicate permission to resources in _any project_, or `(unassigned)` to indicate permission to resources that have not been assigned to a project.

Note that the `projects` property in statements designates permission for the resources within the statement (here, that is `iam:users` and `iam:teams`), _not_ for the policy itself, and _cannot_ be left empty.
For more about projects, see [Projects]({{< relref "iam-v2-guide.md#projects" >}}).
For more about projects, see [Projects in the IAM Guide]({{< relref "iam-v2-guide.md#projects" >}} documentation.

In this case, we only need a single statement providing access to the _get_, _list_, and _update_ actions for _users_ and _teams_ that have been assigned to the project `project-devops`.

Expand Down Expand Up @@ -158,7 +158,7 @@ In this case, we only need a single statement providing access to the _get_, _li
}
```

Save your JSON file and follow the steps in [Creating a Policy]({{< relref "api/#tag/policies" >}}) to send that policy data to Chef Automate.
Save your JSON file and refer to the [IAM Policies API reference](https://automate.chef.io/docs/api/#tag/Policies) to send that policy data to Chef Automate.

### Policy Membership

Expand Down Expand Up @@ -263,7 +263,7 @@ If you would like to delegate ownership of a project to another user so that the
While Automate's local teams and tokens can be directly assigned to a project, ingested resources must be assigned to projects using ingest rules.

Project ingest rules are used to associate ingested resources with projects within Automate. An ingest rule contains conditions that determine if an ingested resource should be moved into the rule's project.
Each condition contains an attribute, operator, and value. See [Project Rules]({{< relref "api/#tag/projects" >}}) for details on how to manage project rules.
Each condition contains an attribute, operator, and value. See [IAM Project Rules API reference](https://automate.chef.io/docs/api/#tag/Project_rules) for details on how to manage project rules.

In this example, after [creating a project]({{< relref "iam-v2-guide.md#creating-a-project" >}}) with the ID `project-devops`, you will add an ingest rule to this new project.
You will update projects to apply this new project rule, causing all matching ingested resources to be associated with `project-devops`.
Expand Down
135 changes: 106 additions & 29 deletions components/automate-chef-io/data/docs/api-static/03-tags.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 44d85c6

Please sign in to comment.