-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #236 from blackducksoftware/risk-profile-status-fix
changed from enums to constants
- Loading branch information
Showing
10 changed files
with
102 additions
and
281 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
Copyright (C) 2019 Synopsys, Inc. | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you 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. | ||
*/ | ||
|
||
package hub | ||
|
||
// PolicyStatusTypeNotInViolation denotes policy status type NOT_IN_VIOLATION | ||
const PolicyStatusTypeNotInViolation = "NOT_IN_VIOLATION" | ||
|
||
// PolicyStatusTypeInViolation denotes policy status type IN_VIOLATION | ||
const PolicyStatusTypeInViolation = "IN_VIOLATION" | ||
|
||
// PolicyStatusTypeInViolationOverridden denotes policy status type IN_VIOLATION_OVERRIDDEN | ||
const PolicyStatusTypeInViolationOverridden = "IN_VIOLATION_OVERRIDDEN" | ||
|
||
// RiskProfileCategoryActivity denotes the type ACTIVITY in Risk Profile category | ||
const RiskProfileCategoryActivity = "ACTIVITY" | ||
|
||
// RiskProfileCategoryLicense denotes the type LICENSE in Risk Profile category | ||
const RiskProfileCategoryLicense = "LICENSE" | ||
|
||
// RiskProfileCategoryOperational denotes the type OPERATIONAL in Risk Profile category | ||
const RiskProfileCategoryOperational = "OPERATIONAL" | ||
|
||
// RiskProfileCategoryVersion denotes the type VERSION in Risk Profile category | ||
const RiskProfileCategoryVersion = "VERSION" | ||
|
||
// RiskProfileCategoryVulnerability denotes the type VULNERABILITY in Risk Profile category | ||
const RiskProfileCategoryVulnerability = "VULNERABILITY" | ||
|
||
// RiskProfileStatusCritical denotes risk profile status CRITICAL | ||
const RiskProfileStatusCritical = "CRITICAL" | ||
|
||
// RiskProfileStatusHigh denotes risk profile status HIGH | ||
const RiskProfileStatusHigh = "HIGH" | ||
|
||
// RiskProfileStatusMedium denotes risk profile status MEDIUM | ||
const RiskProfileStatusMedium = "MEDIUM" | ||
|
||
// RiskProfileStatusLow denotes risk profile status LOW | ||
const RiskProfileStatusLow = "LOW" | ||
|
||
// RiskProfileStatusOK denotes risk profile status OK | ||
const RiskProfileStatusOK = "OK" | ||
|
||
// RiskProfileStatusUnknown denotes risk profile status UNKNOWN | ||
const RiskProfileStatusUnknown = "UNKNOWN" |
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.