This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Import of Grafeas from Github (#156)
PiperOrigin-RevId: 453542250 Source-Link: googleapis/googleapis@ac9c393 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d1e2f1ab3de6b5a36186d69165412aa686aefb26 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDFlMmYxYWIzZGU2YjVhMzYxODZkNjkxNjU0MTJhYTY4NmFlZmIyNiJ9 See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
58e2466
commit d0f06b7
Showing
15 changed files
with
1,142 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,4 @@ message DSSEAttestationOccurrence { | |
oneof decoded_payload { | ||
InTotoStatement statement = 2; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
// Copyright 2021 The Grafeas Authors. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package grafeas.v1; | ||
|
||
import "google/protobuf/struct.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; | ||
option java_multiple_files = true; | ||
option java_package = "io.grafeas.v1"; | ||
option objc_class_prefix = "GRA"; | ||
option java_outer_classname = "SlsaProvenanceZeroTwoProto"; | ||
|
||
message SlsaProvenanceZeroTwo { | ||
// See full explanation of fields at slsa.dev/provenance/v0.2. | ||
|
||
// Identifies the entity that executed the recipe, which is trusted to have | ||
// correctly performed the operation and populated this provenance. | ||
message SlsaBuilder { | ||
string id = 1; | ||
} | ||
|
||
// The collection of artifacts that influenced the build including sources, | ||
// dependencies, build tools, base images, and so on. | ||
message SlsaMaterial { | ||
string uri = 1; | ||
map<string, string> digest = 2; | ||
} | ||
|
||
// Identifies the event that kicked off the build. | ||
message SlsaInvocation { | ||
SlsaConfigSource config_source = 1; | ||
google.protobuf.Struct parameters = 2; | ||
google.protobuf.Struct environment = 3; | ||
} | ||
|
||
// Describes where the config file that kicked off the build came from. | ||
// This is effectively a pointer to the source where buildConfig came from. | ||
message SlsaConfigSource { | ||
string uri = 1; | ||
map<string, string> digest = 2; | ||
string entry_point = 3; | ||
} | ||
|
||
// Other properties of the build. | ||
message SlsaMetadata { | ||
string build_invocation_id = 1; | ||
google.protobuf.Timestamp build_started_on = 2; | ||
google.protobuf.Timestamp build_finished_on = 3; | ||
SlsaCompleteness completeness = 4; | ||
bool reproducible = 5; | ||
} | ||
|
||
// Indicates that the builder claims certain fields in this message to be | ||
// complete. | ||
message SlsaCompleteness { | ||
bool parameters = 1; | ||
bool environment = 2; | ||
bool materials = 3; | ||
} | ||
|
||
SlsaBuilder builder = 1; | ||
string build_type = 2; | ||
SlsaInvocation invocation = 3; | ||
google.protobuf.Struct build_config = 4; | ||
SlsaMetadata metadata = 5; | ||
repeated SlsaMaterial materials = 6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.