Skip to content

Commit

Permalink
fix(rules): add Okta
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Jul 11, 2023
1 parent 259e7f5 commit 56d0627
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TODO.todo
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Terraform:
- fastly
✔ Heroku @done(23-07-04 15:04)
✔ Auth0 @done(23-07-04 14:58)
- Okta
Okta @done(23-07-11 18:32)
✔ Snyk @done(23-07-04 15:06)
✔ Pagerduty @done(23-07-04 15:06)
- databricks
Expand Down
1 change: 1 addition & 0 deletions src/common/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const list: TechItem[] = [
{ key: 'nginx', name: 'Nginx', type: 'app' },
{ key: 'nodejs', name: 'NodeJS', type: 'language' },
{ key: 'oraclecloud', name: 'Oracle Cloud', type: 'hosting' },
{ key: 'okta', name: 'Okta', type: 'sass' },
{ key: 'ovh', name: 'OVH', type: 'hosting' },
{ key: 'pagerduty', name: 'Pagerduty', type: 'tool' },
{ key: 'percona', name: 'Percona', type: 'db' },
Expand Down
1 change: 1 addition & 0 deletions src/rules/sass/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import './datadog.js';
import './logrocket.js';
import './mailjet.js';
import './newrelic.js';
import './okta.js';
import './slack.js';
import './snyk.js';
import './sqreen.js';
9 changes: 9 additions & 0 deletions src/rules/sass/okta.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { register } from '../../rules.js';

register({
tech: 'okta',
dependencies: [
{ type: 'npm', name: /@okta\//, example: '@okta/okta-signin-widget' },
{ type: 'terraform', name: 'registry.terraform.io/okta/okta' },
],
});
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ exports[`npm > should match everything 1`] = `
"netlify",
"newrelic",
"nodejs",
"okta",
"oraclecloud",
"postgresql",
"prettier",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ exports[`terraform (lockfile) > should match everything 1`] = `
"kubernetes",
"mongodbatlas",
"newrelic",
"okta",
"oraclecloud",
"ovh",
"pagerduty",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export type AllowedKeys =
| 'newrelic'
| 'nginx'
| 'nodejs'
| 'okta'
| 'oraclecloud'
| 'ovh'
| 'pagerduty'
Expand Down

0 comments on commit 56d0627

Please sign in to comment.