diff --git a/src/rules/__snapshots__/index.test.ts.snap b/src/rules/__snapshots__/index.test.ts.snap index 4911a977..d1454e11 100644 --- a/src/rules/__snapshots__/index.test.ts.snap +++ b/src/rules/__snapshots__/index.test.ts.snap @@ -367,6 +367,7 @@ exports[`all > should match everything 1`] = ` "terraform", "terragrunt", "tinybird", + "traefik", "travisci", "trufflesecurity", "twigphp", diff --git a/src/rules/app/index.ts b/src/rules/app/index.ts index b669b9c7..95fb9488 100644 --- a/src/rules/app/index.ts +++ b/src/rules/app/index.ts @@ -5,4 +5,5 @@ import './httpd.js'; import './kibana.js'; import './kong.js'; import './nginx.js'; +import './traefik.js'; import './zookeeper.js'; diff --git a/src/rules/app/traefik.ts b/src/rules/app/traefik.ts new file mode 100644 index 00000000..13ebb202 --- /dev/null +++ b/src/rules/app/traefik.ts @@ -0,0 +1,9 @@ +import { register } from '../../register.js'; + +register({ + tech: 'traefik', + name: 'Traefik', + type: 'app', + files: ['traefik.yml', 'traefik.yaml', 'traefik.toml'], + dependencies: [{ type: 'docker', name: 'traefik' }], +}); diff --git a/src/rules/spec/docker/__snapshots__/component.test.ts.snap b/src/rules/spec/docker/__snapshots__/component.test.ts.snap index ff147900..a0f0a519 100644 --- a/src/rules/spec/docker/__snapshots__/component.test.ts.snap +++ b/src/rules/spec/docker/__snapshots__/component.test.ts.snap @@ -76,6 +76,7 @@ exports[`docker > should match everything 1`] = ` "supabase.storage", "telegram", "tensorflow", + "traefik", "trufflesecurity", "typesense", "vale", @@ -550,6 +551,11 @@ exports[`docker > should match everything 2`] = ` "tensorflow/tensorflow", "0.0.0", ], + [ + "docker", + "traefik", + "0.0.0", + ], [ "docker", "trufflesecurity/trufflehog",