{"id":22096028,"url":"https://github.com/perimeterx/azure-enforcer-template","last_synced_at":"2025-06-11T04:11:23.576Z","repository":{"id":177363311,"uuid":"651207963","full_name":"PerimeterX/azure-enforcer-template","owner":"PerimeterX","description":"A template for the standard Azure Front Door + Azure Function Enforcer.","archived":false,"fork":false,"pushed_at":"2024-04-16T12:33:54.000Z","size":49,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-29T07:30:21.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerimeterX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-08T18:39:26.000Z","updated_at":"2023-06-20T17:50:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ac3d0d6-f009-4eaa-b93b-0c11e1ec59f8","html_url":"https://github.com/PerimeterX/azure-enforcer-template","commit_stats":null,"previous_names":["perimeterx/azure-enforcer-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fazure-enforcer-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fazure-enforcer-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fazure-enforcer-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fazure-enforcer-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerimeterX","download_url":"https://codeload.github.com/PerimeterX/azure-enforcer-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191635,"owners_count":20575248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T04:09:23.958Z","updated_at":"2025-03-24T00:55:23.621Z","avatar_url":"https://github.com/PerimeterX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Function Enforcer Example\n\nSee the full official documentation for the Human Security Azure Enforcer [here](https://docs.perimeterx.com/docs/installation-azure).\n\n1. Install dependencies with `npm install`.\n2. Configure the enforcer by modifying the `EnforcerFunction/config.ts` file.\n3. Compile the enforcer by running `npm run build`.\n4. Publish the enforcer to your Function App by running `func azure functionapp publish \u003cAPP_NAME\u003e --typescript`. (You must have [Azure Functions Core Tools](https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local) installed to run this command.)\n5. Add the following variables to your deployed Function App [Configuration Settings](https://learn.microsoft.com/en-us/azure/app-service/configure-common?tabs=portal#configure-app-settings):\n    * `PX_APP_ID` - The application ID (available in the [portal](https://console.perimeterx.com/))\n    * `PX_AUTH_TOKEN` - The server token (available in the [portal](https://console.perimeterx.com/))\n    * `PX_COOKIE_SECRET` - The cookie secret associated with the Bot Defender security policy (available in the [portal](https://console.perimeterx.com/))\n    * `FRONT_DOOR_SECRET_KEY` - A secret key that will be added as a request header and used in Front Door to verify incoming requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperimeterx%2Fazure-enforcer-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperimeterx%2Fazure-enforcer-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperimeterx%2Fazure-enforcer-template/lists"}