Code Monkey home page Code Monkey logo

jupiterone's Introduction

JupiterOne

Publisher: JupiterOne Inc.
Connector Version: 1.0.1
Product Vendor: JupiterOne Inc.
Product Name: JupiterOne
Product Version Supported (regex): ".*"
Minimum Product Version: 5.2.0

This app integrates with JupiterOne to perform investigative actions

It is recommended to read the documentation for the app to understand the functioning of the actions and the asset configuration or the action parameters associated with it. For further details, refer to JupiterOne Docs .

Port Details

The app uses HTTP/ HTTPS protocol for communicating with the JupiterOne server. Below are the default ports used by the Splunk SOAR Connector.

SERVICE NAME TRANSPORT PROTOCOL PORT
http tcp 80
https tcp 443

Steps to Configure the JupiterOne Phantom app's asset

Follow these steps to create an asset for the app in Phantom Platform:

  • Log in to the JupiterOne platform.

    • Once logged in, a search box is shown where you can ask a question, enter a query, or run a full-text search.
    • Please enter the following query in the search box: FIND jupiterone_account as a return a._accountId and press Enter.
    • Copy the _accountId returned in output into any text editor.
    • Click on Settings gear found at the top right corner and select Account Parameters .
    • Select the USER API KEYS section by clicking on Key icon available at the left side bottom of the page and create an API key by providing Key name and Days before expiration .
    • The API Key would be created and would be displayed in a dialog box.
    • Copy the Token value from the dialog box and paste it into any text editor as backup, as it won't be visible again. Once copied, click on Done.
    • This token value is the API Key that will be used in the asset.
  • Log in to your Phantom platform.

    • Navigate to the Home dropdown and select Apps .
    • Search the JupiterOne App from the search box.
    • Click on the CONFIGURE NEW ASSET button.
    • Navigate to the Asset Info tab and enter the Asset name and Asset description.
    • Navigate to the Asset Settings tab.
    • Paste the API Key that was created from the JupiterOne UI and Account ID that was fetched by hitting a J1QL query from JupiterOne to its respective configuration parameter.
    • Save the asset.
    • Now, test the connectivity of the Phantom server to the JupiterOne instance by clicking on the TEST CONNECTIVITY button.

Explanation of the Asset Configuration Parameters

The asset configuration parameters affect 'test connectivity' and some other actions of the application. The parameters related to test connectivity action are JupiterOne Account ID and API Key.

  • JupiterOne Account ID: JupiterOne Account ID for asset authorization.
  • API Key : API Key for asset authorization.

Explanation of the JupiterOne Actions' Parameters

  • Test Connectivity (Action Workflow Details)

    • This action will test the connectivity of the Phantom server to the JupiterOne instance by making an initial API call to a minimal query using the provided asset configuration parameters.
    • The action validates the provided asset configuration parameters. Based on the API call response, the appropriate success and failure message will be displayed when the action gets executed.
  • Run Query

    Fetch the results from the JupiterOne platform for the given J1QL(JupiterOne Query Language) query. The pagination is implemented internally in this action which will paginate through the responses. The max results parameter can be used to limit the output responses. The data paths of the action contain the paths of response data that the queries (used for testing) returned.

    • Action Parameter: Query

      • This parameter will accept the J1QL query for a JupiterOne platform. An error message will be shown if the J1QL query is invalid.
    • Action Parameter: Max Results

      • This parameter allows the user to limit the number of results. It expects a numeric value as an input. The default value is 250 for which it will fetch the first 250 results for a particular query.
    • Action Parameter: Include Deleted

      • This parameter includes recently deleted information in the results, when set to true.
    • Examples:

      • Retrieve 10 results for the query 'find Record'.

        • Query = "find Record"
        • Max Results = 10
        • Include Deleted = false

        Note: Max Results value will be handled internally, which will paginate through the results for a particular query.

      • Retrieve the results for the query 'find Record'.

        • Query = "find Record"
        • Max Results = 250
        • Include Deleted = false

        Note: Max Results value will be handled internally, which will paginate through the results for a particular query.

      • Retrieve the results for the query 'find Record'. The results should include the deleted entities.

        • Query = "find Record"
        • Max Results = 250
        • Include Deleted = true

        Note: Max Results value will be handled internally, which will paginate through the results for a particular query.

Configuration Variables

The below configuration variables are required for this Connector to operate. These variables are specified when configuring a JupiterOne asset in SOAR.

VARIABLE REQUIRED TYPE DESCRIPTION
account_id required string JupiterOne Account ID
api_key required password API Key

Supported Actions

test connectivity - Validate the asset configuration for connectivity using supplied configuration parameters
run query - Run a search query

action: 'test connectivity'

Validate the asset configuration for connectivity using supplied configuration parameters

Type: test
Read only: True

Action Parameters

No parameters are required for this action

Action Output

No Output

action: 'run query'

Run a search query

Type: investigate
Read only: True

The query parameter accepts J1QL query (eg: find Record) as well as the full-text search. The full-text search query needs to enclosed in double-quotes("") (eg: "assets"). Please refer JupiterOne Query Language Tutorial for J1QL reference. The max_results parameter overwrites the LIMIT if mentioned in the J1QL. (For instance, if query parameter has value "find Record LIMIT 20" and max_results parameter has value "10", the action would return 10 records. This implementation was added because the LIMIT in query accept values only between 1 and 250.).

Action Parameters

PARAMETER REQUIRED DESCRIPTION TYPE CONTAINS
query required J1QL query to run string jupiterone query
max_results optional Maximum number of results to fetch for the query. The default value is 250 numeric
include_deleted optional Include recently deleted entities in query/search boolean

Action Output

DATA PATH TYPE CONTAINS
action_result.parameter.query string jupiterone query
action_result.parameter.max_results numeric
action_result.parameter.include_deleted boolean
action_result.data.*.id string
action_result.data.*.entity._id string
action_result.data.*.entity._key string
action_result.data.*.entity._source string
action_result.data.*.entity._beginOn string
action_result.data.*.entity._deleted boolean
action_result.data.*.entity._version numeric
action_result.data.*.entity._accountId string
action_result.data.*.entity._createdOn string
action_result.data.*.properties.name string
action_result.data.*.properties.DisplayName string
action_result.data.*.entity.displayName string
action_result.data.*.entity._integrationName string
action_result.data.*.entity._integrationType string
action_result.data.*.entity._integrationInstanceId string
action_result.data.*.entity._integrationDefinitionId string
action_result.data.*.properties.tag.Production boolean
action_result.data.*.properties.tag.AccountName string
action_result.data.*.properties.tags string
action_result.data.*.properties.website string
action_result.data.*.properties.emailDomain string
action_result.data.*.properties.id string
action_result.data.*.properties.accountId string
action_result.data.*.properties.privacyPolicy boolean
action_result.data.*.properties.accountFullName string
action_result.data.*.properties.companyFullName string
action_result.data.*.properties.companyOverview string
action_result.data.*.properties.termsConditions boolean
action_result.data.*.properties.companyShortName string
action_result.data.*.properties.companyWebsiteURL string
action_result.data.*.properties.accountCompanyRole string
action_result.data.*.properties.companyEmailDomain string
action_result.data.*.properties.onboardingComplete boolean
action_result.data.*.properties.currentOnboardingStep numeric
action_result.data.*.properties.iconWebLink string
action_result.data.*.entity._scope string
action_result.data.*.properties.type string
action_result.data.*.properties.deleteProtected boolean
action_result.data.*.properties.endpoints string
action_result.data.*.properties.projectId string
action_result.data.*.properties.dummy_column string
action_result.data.*.properties.column1 numeric
action_result.data.*.properties.Test string
action_result.data.*.properties.email string
action_result.data.*.properties.active boolean
action_result.data.*.properties.picture string
action_result.data.*.properties.username string
action_result.data.*.properties.createdOn string
action_result.data.*.properties.givenName string
action_result.data.*.properties.familyName string
action_result.data.*.properties.mfaEnabled boolean
action_result.data.*.properties.emailVerified boolean
action_result.data.*.properties.instanceId string
action_result.data.*.properties.state string
action_result.data.*.properties.output string
action_result.data.*.properties.severity string
action_result.data.*.properties.plugin.id numeric
action_result.data.*.properties.port.port numeric
action_result.data.*.properties.scan.uuid string
action_result.data.*.properties.asset.uuid string
action_result.data.*.properties.lastSeenOn string
action_result.data.*.properties.last_found string
action_result.data.*.properties.firstSeenOn string
action_result.data.*.properties.first_found string
action_result.data.*.properties.severity_id numeric
action_result.data.*.properties.port.protocol string
action_result.data.*.properties.scan.started_at string
action_result.data.*.properties.scan.completed_at string
action_result.data.*.properties.severity_default_id numeric
action_result.data.*.properties.severity_modification_type string
action_result.data.*.properties.port.service string
action_result.data.*.properties.exception boolean
action_result.data.*.properties.@exception string
action_result.data.*.properties.exceptionReason string
action_result.data.*.properties.@exceptionReason string
action_result.data.*.properties.priority string
action_result.data.*.properties.numericPriority numeric
action_result.data.*.properties.updatedOn string
action_result.data.*.properties.description string
action_result.data.*.properties.uuid string
action_result.data.*.properties.uuidId string
action_result.data.*.properties.enabled boolean
action_result.data.*.properties.userName string
action_result.data.*.properties.permissions numeric
action_result.data.*.properties.containerUuid string
action_result.data.*.properties.loginFailCount numeric
action_result.data.*.properties.loginFailTotal numeric
action_result.data.*.properties.lastlogin numeric
action_result.data.*.properties.@dummy_column string
action_result.data.*.properties.impact string
action_result.data.*.properties.category string
action_result.data.*.properties.reporter string
action_result.data.*.properties.reportable boolean
action_result.data.*.properties.resolvedAt string
action_result.data.*.properties.open boolean
action_result.data.*.properties.level string
action_result.data.*.properties.status string
action_result.data.*.properties.webLink string
action_result.data.*.properties.numericSeverity numeric
action_result.data.*.properties.version numeric
action_result.data.*.properties.specVersion numeric
action_result.data.*.properties.column2 numeric
action_result.data.*.properties.column3 string
action_result.data.*.properties.column4 numeric
action_result.data.*.properties.column5 string
action_result.data.*.properties.function string
action_result.data.*.properties.hasAgent boolean
action_result.data.*.properties.lastSeen string
action_result.data.*.properties.createdAt string
action_result.data.*.properties.firstSeen string
action_result.data.*.properties.networkId string
action_result.data.*.properties.updatedAt string
action_result.data.*.properties.networkName string
action_result.data.*.properties.macAddresses string
action_result.data.*.properties.netbiosNames string
action_result.data.*.properties.tag.Scan Group string
action_result.data.*.properties.operatingSystems string
action_result.data.*.properties.servicenowSysid string
action_result.data.*.properties.hasPluginResults boolean
action_result.data.*.properties.fqdns string
action_result.data.*.properties.ipv4s string
action_result.data.*.properties.lastScanTime string
action_result.data.*.properties.firstScanTime string
action_result.data.*.properties.lastLicensedScanDate string
action_result.data.*.properties.lastScanId string
action_result.data.*.properties.lastScheduleId string
action_result.data.*.count(Record) numeric
action_result.data.*.properties.awsVpcId string
action_result.data.*.properties.awsRegion string
action_result.data.*.properties.awsOwnerId string
action_result.data.*.properties.awsSubnetId string
action_result.data.*.properties.awsEc2InstanceId string
action_result.data.*.properties.awsEc2ProductCode string
action_result.data.*.properties.awsEc2InstanceType string
action_result.data.*.properties.awsAvailabilityZone string
action_result.data.*.properties.awsEc2InstanceAmiId string
action_result.data.*.properties.awsEc2InstanceState string
action_result.data.*.properties.awsEc2InstanceGroupName string
action_result.data.*.properties.lastAuthenticatedScanDate string
action_result.data.*.properties.azureVmId string
action_result.data.*.properties.azureResourceId string
action_result.data.*.properties.tag.bob string
action_result.data.*.properties.tag.Nick string
action_result.data.*.properties.tag.Test string
action_result.data.*.properties.agentUuid string
action_result.data.*.properties.terminatedAt string
action_result.data.*.properties.terminatedBy string
action_result.data.*.properties.ipv6s string
action_result.data.*.properties.awsEc2Name string
action_result.data.*.properties.installedSoftware string
action_result.data.*.properties.tag.foo string
action_result.data.*.properties.biosUuid string
action_result.data.*.properties.gcpZone string
action_result.data.*.properties.gcpProjectId string
action_result.data.*.properties.gcpInstanceId string
action_result.data.*.properties.tag.sample string
action_result.data.*.properties.agentNames string
action_result.data.*.entity._endOn string
action_result.status string
action_result.message string
action_result.summary.total_results numeric
summary.total_objects numeric
summary.total_objects_successful numeric

jupiterone's People

Contributors

mishalp-crest avatar austinkelleher avatar pzhou-splunk avatar

Watchers

 avatar  avatar

jupiterone's Issues

Reporting a vulnerability

Hello!

I hope you are doing well!

We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.

Can you enable it, so that we can report it?

Thanks in advance!

PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.