Skip to content

Commit 86b973b

Browse files
SWB-75 docs: update JupiterOne docs link and remove test credentials (#8)
Co-authored-by: James Mountifield <[email protected]>
1 parent 7cff997 commit 86b973b

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,15 @@ To obtain your API token, log in to JupiterOne and generate an access token from
6464
## Resources
6565

6666
* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
67-
* [JupiterOne documentation](https://docs.jupiterone.io/)
67+
* [JupiterOne n8n documentation](https://docs.jupiterone.io/integrations/outbound-directory/n8n-community-node)
6868
* [J1QL query language reference](https://docs.jupiterone.io/jupiterone-query-language/)
6969

7070
## Version history
7171

72+
73+
- 0.1.5
74+
- Removed Credential Test for J1 API
75+
7276
- 0.1.4
7377
- Added Credential Test for J1 API
7478

@@ -79,4 +83,4 @@ To obtain your API token, log in to JupiterOne and generate an access token from
7983
- Internal update - no customer impacting changes.
8084

8185
- 0.1.1
82-
- Initial release: JupiterOne Query node for running J1QL queries
86+
- Initial release: JupiterOne Query node for running J1QL queries

credentials/JupiterOneApi.credentials.ts

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon, ICredentialTestRequest } from 'n8n-workflow';
1+
import { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
22

33
export class JupiterOneApi implements ICredentialType {
44
name = 'jupiteroneApi';
55
displayName = 'JupiterOne API';
66
icon = 'file:jupiterone.svg' as Icon;
7-
documentationUrl = 'https://docs.jupiterone.io/integrations';
7+
documentationUrl = 'https://docs.jupiterone.io/integrations/outbound-directory/n8n-community-node';
88

99
properties: INodeProperties[] = [
1010
{
@@ -45,18 +45,4 @@ export class JupiterOneApi implements ICredentialType {
4545
},
4646
},
4747
};
48-
49-
test: ICredentialTestRequest = {
50-
request: {
51-
baseURL: '={{ $credentials.apiBaseUrl }}',
52-
url: '/graphql',
53-
method: 'POST',
54-
headers: {
55-
'JupiterOne-Account': '={{ $credentials.accountId }}',
56-
},
57-
body: {
58-
query: 'query TestQuery { queryV1(query: "FIND jupiterone_account LIMIT 1") { type data url } }',
59-
},
60-
},
61-
};
6248
}

0 commit comments

Comments
 (0)