
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@e2y/hac-client
Advanced tools
hac-clientThe hac-client is a utility to interact with the Hybris Administration Console (HAC) programmatically. It provides methods to authenticate, execute flexible search queries, and perform other administrative tasks.
Using npm:
$ npm install @e2y/hac-client
const { HACClient } = require('@e2y/hac-client');
const baseUrl = 'https://localhost:9002/hac';
const credentials = { username: 'admin', password: '1234' };
const hacClient = HACClient.create(baseUrl, credentials);
Creates a new instance of HACClient and authenticates with the provided credentials.
const hacClient = await HACClient.create(baseUrl, { username, password })
Executes a flexible search query and returns the results.
await hacClient.executeFlexibleSearch(query)
import { FlexibleSearchResponse, HACClient } from '@e2y/hac-client';
const baseUrl: string = 'https://localhost:9002/hac';
const credentials = {username: 'admin', password: '1234'};
async function main() {
const hacClient: HACClient = await HACClient.create(baseUrl, credentials);
const query: string = 'SELECT * FROM Product';
const response: FlexibleSearchResponse = await hacClient.executeFlexibleSearch(query);
console.log('Flexible Search Response:', response);
}
const cronJobCode: string = 'testCronJob';
const response = await hacClient.runCronJob(cronJobCode);
NODE_TLS_REJECT_UNAUTHORIZED=0in your env parametersFAQs
> TODO: description
We found that @e2y/hac-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.