Skip to content

Commit 4d227f2

Browse files
committed
publish google sheet, use that url and fix data storage risk classification to include all lower tiers
1 parent 25ffec5 commit 4d227f2

4 files changed

Lines changed: 36 additions & 4 deletions

File tree

scripts/storage-finder-data-generator/config.ts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,23 @@ export const FACET_CONFIGS: FacetConfig[] = [
107107
},
108108
],
109109
matchers: [
110-
{ pattern: /\bhipaa\b/i, choices: ["risk-classification.hipaa"] },
110+
{
111+
pattern: /\bhipaa\b/i,
112+
choices: [
113+
"risk-classification.public-low",
114+
"risk-classification.sensitive-moderate",
115+
"risk-classification.confidential-high",
116+
"risk-classification.hipaa",
117+
],
118+
},
111119
{
112120
pattern: /\b(confidential|restricted)\b/i,
113-
choices: ["risk-classification.confidential-high"],
121+
choices: [
122+
"risk-classification.public-low",
123+
"risk-classification.sensitive-moderate",
124+
"risk-classification.confidential-high",
125+
"risk-classification.hipaa",
126+
],
114127
},
115128
{
116129
pattern: /\bhigh\b/i,
@@ -132,7 +145,7 @@ export const FACET_CONFIGS: FacetConfig[] = [
132145
choices: ["risk-classification.public-low"],
133146
},
134147
],
135-
fallback: "all",
148+
fallback: "risk-classficiation.public-low",
136149
},
137150
{
138151
id: "affiliation",

scripts/storage-finder-data-generator/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const STORAGE_FINDER_ENV_URL_KEY = "STORAGE_FINDER_SHEET_URL";
22

33
export const DEFAULT_STORAGE_FINDER_SHEET_URL =
4-
"https://docs.google.com/spreadsheets/d/1-e_Xf8731aODXmn83IZfo-fXNWutd-NaUqKmM88QIk0/export?format=csv&gid=1073279644";
4+
"https://docs.google.com/spreadsheets/d/e/2PACX-1vTvKhhF-UrUSGO8rSVlAO499Hi3Uhb46DZaLbZdCnglIMgJfS8g9o_qUSLVDd7-E-1PtgBKMu2Ls2kx/pub?output=csv";
55

66
export const OUTPUT_DIRECTORY = "src/data/storage-finder/generated";
77

src/data/storage-finder/service-list.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,9 @@
505505
"id": "nyu-box",
506506
"title": "NYU Box",
507507
"facet_matches": [
508+
"risk-classification.public-low",
509+
"risk-classification.sensitive-moderate",
510+
"risk-classification.confidential-high",
508511
"risk-classification.hipaa",
509512
"affiliation.faculty",
510513
"affiliation.staff",
@@ -1168,6 +1171,9 @@
11681171
"id": "secure-research-data-environment",
11691172
"title": "Secure Research Data Environment",
11701173
"facet_matches": [
1174+
"risk-classification.public-low",
1175+
"risk-classification.sensitive-moderate",
1176+
"risk-classification.confidential-high",
11711177
"risk-classification.hipaa",
11721178
"affiliation.faculty",
11731179
"affiliation.staff",

temp.csv

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
% Total % Received % Xferd Average Speed Time Time Time Current
2+
Dload Upload Total Spent Left Speed
3+
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 431 0 431 0 0 2089 0 --:--:-- --:--:-- --:--:-- 2092
4+
<HTML>
5+
<HEAD>
6+
<TITLE>Temporary Redirect</TITLE>
7+
</HEAD>
8+
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
9+
<!-- GSE Default Error -->
10+
<H1>Temporary Redirect</H1>
11+
The document has moved <A HREF="https://doc-0g-60-sheets.googleusercontent.com/export/54bogvaave6cua4cdnls17ksc4/ovubp7312oj8rnu6ogajqfmjuk/1773073815000/105250506097979753968/*/1-e_Xf8731aODXmn83IZfo-fXNWutd-NaUqKmM88QIk0?format=csv&amp;gid=1073279644">here</A>.
12+
</BODY>
13+
</HTML>

0 commit comments

Comments
 (0)