{"id":19693833,"url":"https://github.com/jhipster/generator-jhipster-entity-audit","last_synced_at":"2026-01-12T02:25:56.612Z","repository":{"id":3191757,"uuid":"48694814","full_name":"jhipster/generator-jhipster-entity-audit","owner":"jhipster","description":"JHipster module to enable entity audit and audit log page","archived":false,"fork":false,"pushed_at":"2025-11-25T18:15:24.000Z","size":1819,"stargazers_count":142,"open_issues_count":10,"forks_count":77,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-11-28T23:48:27.152Z","etag":null,"topics":["entity","entity-auditing","entity-generator","jhipster","jhipster-application"],"latest_commit_sha":null,"homepage":null,"language":"EJS","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/jhipster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"generator-jhipster","custom":"https://www.jhipster.tech/sponsors/"}},"created_at":"2015-12-28T13:52:24.000Z","updated_at":"2025-11-25T18:15:22.000Z","dependencies_parsed_at":"2023-11-20T14:29:03.538Z","dependency_job_id":"760b1246-9743-48bf-803b-76ad6a70e8d1","html_url":"https://github.com/jhipster/generator-jhipster-entity-audit","commit_stats":{"total_commits":401,"total_committers":34,"mean_commits":"11.794117647058824","dds":0.6907730673316708,"last_synced_commit":"0fe1eed24750f27dbae6efe4d44e43ba77ed0a89"},"previous_names":["hipster-labs/generator-jhipster-entity-audit","deepu105/generator-jhipster-entity-audit"],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/jhipster/generator-jhipster-entity-audit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-entity-audit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-entity-audit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-entity-audit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-entity-audit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhipster","download_url":"https://codeload.github.com/jhipster/generator-jhipster-entity-audit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-entity-audit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["entity","entity-auditing","entity-generator","jhipster","jhipster-application"],"created_at":"2024-11-11T19:18:21.352Z","updated_at":"2026-01-12T02:25:56.597Z","avatar_url":"https://github.com/jhipster.png","language":"EJS","funding_links":["https://opencollective.com/generator-jhipster","https://www.jhipster.tech/sponsors/"],"categories":[],"sub_categories":[],"readme":"# generator-jhipster-entity-audit\n\n\u003e JHipster blueprint, entity-audit blueprint for JHipster\n\n[![NPM version][npm-image]][npm-url]\n[![Generator][github-generator-image]][github-generator-url]\n[![Samples][github-samples-image]][github-samples-url]\n\n# Introduction\n\nThis is a [JHipster](https://www.jhipster.tech/) blueprint, that is meant to be used in a JHipster application.\n\nYou can choose to enable audit for all entities or choose the entities to be audited from a list during generation.\n\nThe blueprint will extend the selected entities with `AbstractAuditingEntity` to enable audits, hence make sure that your entities doesn't have any super class.\n\nThis will also add new columns to the entities, so it is ideal to recreate the tables if you are enabling this for existing entities or use incremental changelog.\n\nThe Audit log page is optional and can be added by choosing the option while running the generator.\n\n### Javers integration\n\nWhen using sql or mongodb you can use [Javers](http://javers.org/) for entity auditing.\n\nThe blueprint will add [spring-boot integration for javers](http://javers.org/documentation/spring-boot-integration/). Each repository is annotated with the required `@JaversSpringDataAuditable` annotation. The new class `JaversAuthorProvider` provides javers with the correct user modifying an entity.\n\n# Prerequisites\n\nAs this is a [JHipster](https://www.jhipster.tech/) blueprint, we expect you have JHipster basic knowledge:\n\n- [JHipster](https://www.jhipster.tech/)\n\n# Installation\n\nTo install or update this blueprint:\n\n```bash\nnpm install -g generator-jhipster-entity-audit\n```\n\n# Usage\n\nTo use this blueprint, run the below command\n\n```bash\njhipster-entity-audit\n```\n\nYou can look for updated entity-audit blueprint specific options by running\n\n```bash\njhipster-entity-audit app --help\n```\n\nAnd looking for `(blueprint option: entity-audit)` like\n\n## JDL\n\nJHipster entity-audit blueprint supports `jdl` command\n\n```\njhipster-entity-audit jdl app.jdl\n```\n\nAnd JDL file as following\n\n```jdl\napplication {\n  config {\n    baseName sample\n    blueprints [generator-jhipster-entity-audit]\n  }\n\n  config(generator-jhipster-entity-audit) {\n    auditFramework javers\n  }\n\n  entities *\n}\n\n@EnableAudit\nentity Sample {\n  name String required\n}\n```\n\n## More than one blueprint\n\nTo mix blueprints you can use `jhipster` command\n\n```bash\njhipster --blueprints entity-audit\n```\n\n## Pre-release\n\nTo use an unreleased version, install it using git.\n\n```bash\nnpm install -g jhipster/generator-jhipster-entity-audit#main\njhipster --blueprints entity-audit --skip-jhipster-dependencies\n```\n\n[npm-image]: https://img.shields.io/npm/v/generator-jhipster-entity-audit.svg\n[npm-url]: https://npmjs.org/package/generator-jhipster-entity-audit\n[github-generator-image]: https://github.com/jhipster/generator-jhipster-entity-audit/actions/workflows/generator.yml/badge.svg\n[github-generator-url]: https://github.com/jhipster/generator-jhipster-entity-audit/actions/workflows/generator.yml\n[github-samples-image]: https://github.com/jhipster/generator-jhipster-entity-audit/actions/workflows/samples.yml/badge.svg\n[github-samples-url]: https://github.com/jhipster/generator-jhipster-entity-audit/actions/workflows/samples.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhipster%2Fgenerator-jhipster-entity-audit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhipster%2Fgenerator-jhipster-entity-audit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhipster%2Fgenerator-jhipster-entity-audit/lists"}