Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
generator-jhipster-entity-audit
Advanced tools
JHipster module to enable entity audit and audit log page
JHipster module to enable entity auditing and to add audit log page
This is a JHipster module, that is meant to be used in a JHipster application.
You can choose to enable audit for all entities or choose the entities to be audited from a list during generation.
The module will extend the selected entities and its DTOs with AbstractAuditingEntity
and AbstractAuditingDTO
class respectively to enable audits, hence make sure that your entities/DTOs doesn't have any super class.
This will also add new columns to the liquibase changeset for the entities, so it is ideal to recreate the tables if you are enabling this for existing entities.
The Audit log page is optional and can be added by choosing the option while running the generator
jhipster-entity-audit module will register itself as a hook for Jhipster and the question to enable audit will available during future entity generation as well
When using sql or mongodb you can use Javers for entity auditing.
BETA Notice Javers integration is still in beta state. Expect some rough edges!
The module will add spring-boot integration for javers. Each repository is annotated with the required @JaversSpringDataAuditable
annotation. The new class JaversAuthorProvider
provides javers with the correct user modifying an entity.
As this is a JHipster module, we expect you have JHipster and its related tools already installed.
This module requires Jhipster version greater than 3.0 in order to work
npm install -g generator-jhipster-entity-audit
Then run the module on a JHipster generated application:
yo jhipster-entity-audit
If you want don't want to answer each question you can use
yo jhipster-entity-audit default
This will enable auditing for all available entities (only ones created by the jhipster:entity generator) and add the audit log page under admin
Apache-2.0 © Deepu KS
FAQs
JHipster module to enable entity audit and audit log page
The npm package generator-jhipster-entity-audit receives a total of 632 weekly downloads. As such, generator-jhipster-entity-audit popularity was classified as not popular.
We found that generator-jhipster-entity-audit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.