All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Both the CLI and the
JupiterOneClient
constructor now accept an optional parameter that allows users to specify a base URL to use during execution.
- Fix detection of inline question rule bodies when creating/updating alert rules
The integrationDefinitions.list
return data structure changed from:
{
definitions: [{...}, ...],
pageInfo: { key: value }
}
to:
{
data: [{...}, ...],
errors: [{...}, ...]
}
- Re-named get-prop.ts to getProp.ts
- Updated integrationDefinitions.list to use standardized query function
- Added necessary types
- Updated related tests
- Helper function to easily query GraphQL queries with a cursor
- IntegrationInstances.list unit tests
- Resolve TypeError when calling integrationInstances.list without an argument
- IntegrationDefinitions list method
- {} types with Record<string, unknown>
- Packages that had vulnerabilities
- Replace jest config in package.json with additional config in jest.config.js
- bulkUpload unit tests
- bulkUpload method signature
- Unit test to check for all exposed properties on the J1 Client
- Upgrade
- j1 sdk jest configuration
- j1 sdk prettier configuration
- code coverage package.json command
- test for queryV1
- husky to v7
- Abstract fetch calls in queryV1 to helper
- Changed GraphQL mutation for creation and update of Question Rule Instances to use new fields.
- Added automatic logic for referenced question rule instances. Rule instances
with a
question
will use old logic. Instances that omitquestion
can usequestionName
orquestionId
to reference a question instead.
-
Added the following methods to
JupiterOneClient
:const client = await new JupiterOneClient(options).init(); await client.integrationInstances.list(); await client.integrationInstances.get(id); await client.integrationInstances.create(instance); await client.integrationInstances.update(id, update); await client.integrationInstances.delete(id);
- Replace deleteEntity with deleteEntityV2
- Add typings and resolve typing errors
- Remove entity property in
uploadGraphObjectsForDeleteSyncJob