{"id":19260386,"url":"https://github.com/mitre/policynet","last_synced_at":"2025-04-21T16:31:49.281Z","repository":{"id":11469562,"uuid":"61265043","full_name":"mitre/policynet","owner":"mitre","description":"Exploration of the U.S. rulesets as a network","archived":false,"fork":false,"pushed_at":"2022-05-20T20:45:12.000Z","size":3130,"stargazers_count":15,"open_issues_count":5,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-01T14:37:26.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-16T05:35:44.000Z","updated_at":"2025-02-04T19:05:52.000Z","dependencies_parsed_at":"2022-08-25T08:50:42.282Z","dependency_job_id":null,"html_url":"https://github.com/mitre/policynet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fpolicynet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fpolicynet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fpolicynet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fpolicynet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitre","download_url":"https://codeload.github.com/mitre/policynet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250090914,"owners_count":21373274,"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-11-09T19:20:39.985Z","updated_at":"2025-04-21T16:31:45.534Z","avatar_url":"https://github.com/mitre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PolicyNet\n=========\n\n# [Demo](http://policynet.mitre.org/intro)\n\n## Requirements\n\n* JDK 1.8 (`java-1.8.0-openjdk` \u0026 `java-1.8.0-openjdk-devel`) + maven\n* node.js + npm\n* Python2.7 + pip + virtualenv\n* Neo4J\n* Elastic\n* PostgreSQL\n\n## Install\n\n```bash\n$ npm install\n```\n### Copy the sample configuration file and make appropriate changes\n```bash\n$ cp src/server/js/config.example.js src/server/js/config.js\n```\n### Ingest data\n#### Make sure Neo4J, Elastic, and PostgreSQL are up and running. A PostgreSQL user and an empty PostgreSQL database (that the user has access to) is required.\n```bash\n$ node src/server/import/import.js pg_user pg_pass pg_database\n```\nAn alternative import mechanism (for PostgreSQL -\u003e Neo4J stage) is provided, which our tests have shown to be more performant on OS X (but less performant on CentOS).\n```bash\n$ node src/server/import/import.js pg_user pg_pass pg_database alt\n```\n\n## Usage\n\n```bash\n$ export PORT=8080 # (optional) set port. Needs privilaged user to bind to port \u003c 1024\n$ npm run serve # production\n$ npm start # development\n$ npm restart # restart development if server did not recover from fault\n```\n\n### Known Issues\n\n* none\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Fpolicynet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitre%2Fpolicynet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Fpolicynet/lists"}