Skip to content

Commit

Permalink
fix(rules): add Pagerduty
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Jul 4, 2023
1 parent b77f844 commit 6e2d034
Show file tree
Hide file tree
Showing 6 changed files with 13 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:
- wavefront
✔ cloudflare @done(23-07-04 14:55)
- fastly
- Heroku
Heroku @done(23-07-04 15:04)
✔ Auth0 @done(23-07-04 14:58)
- Okta
- Snyk
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: 'nodejs', name: 'NodeJS', type: 'language' },
{ key: 'oraclecloud', name: 'Oracle Cloud', type: 'hosting' },
{ key: 'ovh', name: 'OVH', type: 'hosting' },
{ key: 'pagerduty', name: 'Pagerduty', type: 'tool' },
{ key: 'percona', name: 'Percona', type: 'db' },
{ key: 'php', name: 'PHP', type: 'language' },
{ key: 'pingdom', name: 'Pingdom', type: 'sass' },
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`] = `
"mongodbatlas",
"newrelic",
"oraclecloud",
"pagerduty",
"snowflake",
"terraform",
"vault",
Expand Down
1 change: 1 addition & 0 deletions src/rules/tool/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './github.js';
import './gitlab.js';
import './helm.js';
import './pagerduty.js';
import './terragrunt.js';
8 changes: 8 additions & 0 deletions src/rules/tool/pagerduty.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../rules.js';

register({
tech: 'pagerduty',
dependencies: [
{ type: 'terraform', name: 'registry.terraform.io/PagerDuty/pagerduty' },
],
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export type AllowedKeys =
| 'nodejs'
| 'oraclecloud'
| 'ovh'
| 'pagerduty'
| 'percona'
| 'php'
| 'pingdom'
Expand Down

0 comments on commit 6e2d034

Please sign in to comment.