Skip to content

Commit

Permalink
Merge branch 'master' into atburke/host-user-groups
Browse files Browse the repository at this point in the history
  • Loading branch information
atburke committed Jun 12, 2024
2 parents b788cc5 + 9c87991 commit 5b837f3
Show file tree
Hide file tree
Showing 61 changed files with 1,376 additions and 555 deletions.
5 changes: 2 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ The list of supported versions can be found

## Reporting a Vulnerability

To report a security vulnerability to us, visit our [HackerOne
page](https://hackerone.com/teleport) and submit a report to us with full
details, including steps to reproduce the issue.
To report a security vulnerability to us, use the embedded form on our
[security page](https://goteleport.com/security).
6 changes: 3 additions & 3 deletions api/client/crownjewel/crownjewel.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (c *Client) ListCrownJewels(ctx context.Context, pageSize int64, nextToken
// CreateCrownJewel creates a new Crown Jewel.
func (c *Client) CreateCrownJewel(ctx context.Context, req *crownjewelv1.CrownJewel) (*crownjewelv1.CrownJewel, error) {
rsp, err := c.grpcClient.CreateCrownJewel(ctx, &crownjewelv1.CreateCrownJewelRequest{
CrownJewels: req,
CrownJewel: req,
})
if err != nil {
return nil, trace.Wrap(err)
Expand All @@ -72,7 +72,7 @@ func (c *Client) GetCrownJewel(ctx context.Context, name string) (*crownjewelv1.
// UpdateCrownJewel updates an existing Crown Jewel.
func (c *Client) UpdateCrownJewel(ctx context.Context, req *crownjewelv1.CrownJewel) (*crownjewelv1.CrownJewel, error) {
rsp, err := c.grpcClient.UpdateCrownJewel(ctx, &crownjewelv1.UpdateCrownJewelRequest{
CrownJewels: req,
CrownJewel: req,
})
if err != nil {
return nil, trace.Wrap(err)
Expand All @@ -83,7 +83,7 @@ func (c *Client) UpdateCrownJewel(ctx context.Context, req *crownjewelv1.CrownJe
// UpsertCrownJewel upserts a Crown Jewel.
func (c *Client) UpsertCrownJewel(ctx context.Context, req *crownjewelv1.CrownJewel) (*crownjewelv1.CrownJewel, error) {
rsp, err := c.grpcClient.UpsertCrownJewel(ctx, &crownjewelv1.UpsertCrownJewelRequest{
CrownJewels: req,
CrownJewel: req,
})
if err != nil {
return nil, trace.Wrap(err)
Expand Down
86 changes: 44 additions & 42 deletions api/gen/proto/go/teleport/crownjewel/v1/crownjewel.pb.go

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

Loading

0 comments on commit 5b837f3

Please sign in to comment.