Skip to content

Commit

Permalink
PMM-7339 Allow to start checks individually (#696)
Browse files Browse the repository at this point in the history
* Remove myself from CODEOWNERS

* PMM-7339 Allow to start cheks individually

* PMM-7557: Add bucket name field (#691)

* PMM-7379 alert rule name edit (#692)

* Remove myself from CODEOWNERS

* PMM-7379 Add summary field to update request

* PMM-7379 Update comment

Co-authored-by: Alexey Palazhchenko <[email protected]>

* PMM-7337 add STT check intervals (#687)

* PMM-7337 add intervals in serverpb/server.proto

* PMM-7337 generate files

* Remove myself from CODEOWNERS

* PMM-7337 update generated file

* PMM-7337 fix comments

* PMM-7337 update generated code

* PMM-7337 fix name for standard interval

* PMM-7337 update generated code

* PMM-7337 fix comments

Co-authored-by: Alexey Palazhchenko <[email protected]>
Co-authored-by: Artem Gavrilov <[email protected]>

* PMM-7339 Update method description

* Update api/managementpb/checks.proto

Co-authored-by: Alexander Tymchuk <[email protected]>

* PMM-7339 Regenerate

Co-authored-by: Alexey Palazhchenko <[email protected]>
Co-authored-by: Maksym <[email protected]>
Co-authored-by: Dávid Mikuš <[email protected]>
Co-authored-by: Nicola Lamacchia <[email protected]>
Co-authored-by: Alexander Tymchuk <[email protected]>
  • Loading branch information
6 people authored Apr 1, 2021
1 parent 9c58412 commit 94fed37
Show file tree
Hide file tree
Showing 22 changed files with 1,765 additions and 150 deletions.
1 change: 1 addition & 0 deletions Gopkg.lock

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

229 changes: 126 additions & 103 deletions api/managementpb/checks.pb.go

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion api/managementpb/checks.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package management;

option go_package = "api/managementpb;managementpb";

import "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.proto";
import "google/api/annotations.proto";
import "managementpb/severity.proto";

Expand Down Expand Up @@ -43,7 +44,10 @@ message GetSecurityCheckResultsResponse {
repeated SecurityCheckResult results = 1;
}

message StartSecurityChecksRequest {}
message StartSecurityChecksRequest {
// Names of the checks that should be started.
repeated string names = 1;
}

message StartSecurityChecksResponse {}

Expand Down Expand Up @@ -74,6 +78,9 @@ service SecurityChecks {
post: "/v1/management/SecurityChecks/Start"
body: "*"
};
option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = {
description: "All the available checks will be started if check names aren't specified."
};
}
// ListSecurityChecks returns a list of available Security Thread Tool checks.
rpc ListSecurityChecks(ListSecurityChecksRequest) returns (ListSecurityChecksResponse) {
Expand Down
1 change: 1 addition & 0 deletions api/managementpb/checks.validator.pb.go

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

110 changes: 107 additions & 3 deletions api/managementpb/json/client/actions/cancel_action_responses.go

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

110 changes: 107 additions & 3 deletions api/managementpb/json/client/annotation/add_annotation_responses.go

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

Loading

0 comments on commit 94fed37

Please sign in to comment.