Skip to content

Commit 55eaac5

Browse files
committed
feat: enable check githubOrgMFA in the compliance_checks table
1 parent fc2ad81 commit 55eaac5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
exports.up = async (knex) => {
2+
await knex('compliance_checks')
3+
.where({ code_name: 'githubOrgMFA' })
4+
.update({
5+
implementation_status: 'completed',
6+
implementation_type: 'computed',
7+
implementation_details_reference: 'https://github.com/secure-dashboards/openjs-foundation-dashboard/issues/43'
8+
})
9+
}
10+
11+
exports.down = async (knex) => {
12+
await knex('compliance_checks')
13+
.where({ code_name: 'githubOrgMFA' })
14+
.update({
15+
implementation_status: 'pending',
16+
implementation_type: null,
17+
implementation_details_reference: null
18+
})
19+
}

0 commit comments

Comments
 (0)