googleapis/grafeas/v1/risk.proto
Google APIs 406651201e feat: A new message File is added
feat: A new field `files` is added to message `.grafeas.v1.DiscoveryOccurrence`
feat: A new field `return_partial_success` is added to message `.grafeas.v1.ListOccurrencesRequest`
feat: A new field `unreachable` is added to message `.grafeas.v1.ListOccurrencesResponse`
feat: A new field `return_partial_success` is added to message `.grafeas.v1.ListNotesRequest`
feat: A new field `unreachable` is added to message `.grafeas.v1.ListNotesResponse`
feat: A new message `Risk` is added
feat: A new message `CISAKnownExploitedVulnerabilities` is added
feat: A new message `ExploitPredictionScoringSystem` is added
feat: A new field `data` is added to message `.grafeas.v1.SecretOccurrence`
feat: A new field `digest` is added to message `.grafeas.v1.SecretOccurrence`
feat: A new value `SECRET_KIND_GCP_API_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_ANTHROPIC_ADMIN_API_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_ANTHROPIC_API_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_AZURE_ACCESS_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_AZURE_IDENTITY_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GITHUB_APP_REFRESH_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_GITHUB_OAUTH_TOKEN` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_HUGGINGFACE_API_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_OPENAI_API_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_PERPLEXITY_API_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_STRIPE_SECRET_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_STRIPE_RESTRICTED_KEY` is added to enum `SecretKind`
feat: A new value `SECRET_KIND_STRIPE_WEBHOOK_SECRET` is added to enum `SecretKind`
feat: A new field `risk` is added to message `.grafeas.v1.VulnerabilityOccurrence`
docs: A comment for enum value `SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY` in enum `SecretKind` is changed

PiperOrigin-RevId: 855331622
2026-01-12 12:12:51 -08:00

46 lines
1.7 KiB
Protocol Buffer

// Copyright 2025 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;
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";
message Risk {
// CISA maintains the authoritative source of vulnerabilities that have been
// exploited in the wild.
CISAKnownExploitedVulnerabilities cisa_kev = 1;
// The Exploit Prediction Scoring System (EPSS) estimates the likelihood
// (probability) that a software vulnerability will be exploited in the wild.
ExploitPredictionScoringSystem epss = 2;
}
message CISAKnownExploitedVulnerabilities {
// Whether the vulnerability is known to have been leveraged as part of a
// ransomware campaign.
string known_ransomware_campaign_use = 1;
}
message ExploitPredictionScoringSystem {
// The percentile of the current score, the proportion of all scored
// vulnerabilities with the same or a lower EPSS score
double percentile = 1;
// The EPSS score representing the probability [0-1] of exploitation in the
// wild in the next 30 days
double score = 2;
}