You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/observe/scorecards/proc-authenticating-and-managing-scorecard-plugins.adoc
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@
5
5
6
6
As an administrator, you can secure the connection to your metric providers by managing user access to the Scorecards using the Role-Based Access Control (RBAC) permissions. For users to view the Scorecard metrics, you must provide users with read access to the Scorecard metrics. You can configure these permissions either by modifying your RBAC csv file directly or by using the RBAC Web UI.
7
7
8
+
.Prerequisite
9
+
* You have {authorization-book-link}#enabling-and-giving-access-to-rbac[enabled RBAC, have a policy administrator role in Developer Hub, and have added scorecard to plugins with permission].
10
+
8
11
.Procedure
9
12
. Set the required RBAC permissions using any of the following methods:
10
13
** To use the csv file, in your csv file, you can directly add the following code:
Copy file name to clipboardExpand all lines: modules/observe/scorecards/proc-configuring-github-scorecards-in-rhdh-instance.adoc
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ You can view GitHub metrics for software components registered in the {product-v
8
8
.Prerequisites
9
9
10
10
* You have installed your {product-very-short} instance.
11
-
* You have installed the Scorecard images.
11
+
* You have {scorecard-plugin-book-link}#proc-installing-scorecard-plugin-in-rhdh-instance[installed the Scorecard images].
12
12
* You must have permissions in GitHub to create and manage a https://docs.github.com/en/apps/overview[GitHub App].
13
13
* You must have {configuring-book-link}[added a custom {product-very-short} application configuration] and have enough permissions to change it.
14
14
@@ -46,6 +46,16 @@ integrations:
46
46
${GITHUB_INTEGRATION_PRIVATE_KEY_FILE}
47
47
----
48
48
49
+
. Configure the GitHub Scorecard plugin in your `{product-very-short} dynamic-plugins-config.yaml` by adding the following code to your `{product-very-short} dynamic-plugins-config.yaml`:
. In your {product-very-short} entity that you want to configure for the GitHub Scorecard plugin, in the `catalog-info.yaml` file, link a component to the data source by adding the required annotations as shown in the following code:
... In your `{product-very-short} {my-app-config-file}` file, add the following direct setup settings:
40
+
+
41
+
[source,yaml]
42
+
----
38
43
pluginConfig:
39
44
jira:
40
45
baseUrl: ${JIRA_BASE_URL}
@@ -46,6 +51,7 @@ where:
46
51
`baseUrl`:: Enter the Jira URL.
47
52
`token`:: Enter the Jira token (Base64 string for Cloud, PAT for Data Center). The Jira token must be added as a secret file in your {configuring-book-link}#provisioning-your-custom-configuration[`{product} app-config.yaml` file].
48
53
`product`:: Enter the supported product: `cloud` or `datacenter`. (`cloud` is the preferred option)
54
+
----
49
55
50
56
.. Use a proxy setup: In your `{product-very-short} dynamic-plugins-config.yaml`, add the following code:
0 commit comments