Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1192 from Hacker0x01/armorcode
Browse files Browse the repository at this point in the history
Armorcode
  • Loading branch information
jessiwright committed Oct 11, 2023
2 parents 892dda1 + 5471592 commit aec34c4
Show file tree
Hide file tree
Showing 17 changed files with 82 additions and 0 deletions.
72 changes: 72 additions & 0 deletions docs/organizations/armorcode-integration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
title: "ArmorCode Integration"
path: "/organizations/armorcode-integration.html"
id: "organizations/armorcode-integration"
---
### Configure integration with ArmorCode

1. Navigate to **Security Tools** and select **HackerOne**
![ArmorCode screen](/images/armorcode-integration-1.png)

2. Click on the **Add button**, and a form will appear that requires a configuration name, identifier, and token.
3. Steps to generate an Identifier and Token for Hackerone configuration.
![Generate identifier & token](/images/armorcode-integration-2.png)

* First user has to log in to their HackerOne account (https://hackerone.com/).
* Now go to **Organization Settings** and select **API Tokens**
* Click on **Create API token**.
* Provide an Identifier and select the Program access and permissions groups for the token
* Click on **Create API token**
* The token is created (this token should be stored as it will work as Hackerone credentials in the ArmorCode platform)
4. Back on ArmoreCode, enter the details including configuration name, identifier, and token mentioned in 2, and Save.
5. On the ArmorCode platform, a pop-up will appear that will ask to map the Product, Subproduct, and Environment on which your HackerOne projects will be.
![Map to HackerOne projects](/images/armorcode-integration-3.png)

6. Click on the **Save** button, and a scan will be triggered which you can check on the Scans page in the Analyze section.
7. After the scan is completed, click on **Scan ID** or **Result Details** and it will redirect to the findings that have been found for the project configured.

### Configure Webhook
* Select **Webhook**
![Configure webhook](/images/armorcode-integration-4.png)

* Provide a Secret and click **Generate URL**
![Provide a secret](/images/armorcode-integration-5.png)

* On HackerOne, navigate to **Engagements > Program > Settings > Program Settings**
* Scroll down to **Automation** and select **Webhooks**
![HackerOne automation webhooks](/images/armorcode-integration-6.png)

* At the bottom of the page, click on the **New webhook button**
* Provide webhook name, secret, and payload URL (generated in 2) and click **Add webhook**
![HackerOne automation webhooks](/images/armorcode-integration-7.png)

### Settings
Users can customize the alerts for the different tools along with their scan frequencies.
There are two tabs present; Notifications and General. The notification tab pertains to customizing the alerts for the tool whereas the settings tab is to adjust scan frequencies.

### Notifications
ArmorCode security tool settings allow users to set up and create notifications to be alerted of changes and updates related to the security tool.

Notify When Trigger Types:
1. When Operation Status Down
* Selecting Operation Status down will create an alert when a scan associated with the security tool fails.
![Notification preferences](/images/armorcode-integration-8.png)

2. When No New Reports
* Selecting When No New Reports trigger type will create an alert when no new findings were ingested from a scan based on the Scan Frequency set within security tool settings.
![Notification preferences](/images/armorcode-integration-9.png)

3. When Config Changed
* Selecting Config change will create an alert when changes are made to the Security tool configuration.
* **Example:** Enabling and Disabling individual Security Tool Configurations.
![Notification preferences](/images/armorcode-integration-10.png)

4. When Tool Configuration Got Disabled
* Selecting When Tool Configuration Got Disabled will create an alert when configurations are disabled and operations are performed against it.
* **Example:** Disabling an existing Push configuration.
![Notification preferences](/images/armorcode-integration-11.png)


### General
Users can set scan frequency and tool inactive status on both tool level and product level. After the set time, a scan will be triggered and if a tool inactive time has been set, the tool will be rendered inactive after.
![Notification preferences](/images/armorcode-integration-12.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/organizations/images/armorcode-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/organizations/supported-integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@ HackerOne currently supports these integrations:
<div class="logo-text">Zendesk</div>
</a>
</div>
<div class="int-button-container">
<a class="integration-button" href="armorcode-integration.html">
<div class="logo">
<img src="./images/armorcode_logo.png" />
</div>
<div class="logo-text">ArmorCode</div>
</a>
</div>

<br>

Expand Down
2 changes: 2 additions & 0 deletions src/pages/organizations/organizations-nav.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@
path: /organizations/webhooks.html
- title: API Tokens
path: /organizations/api-tokens.html
- title: ArmorCode Integration
path: /organizations/armorcode-integration.html
- title: Assembla
path: /organizations/assembla-integration.html
- title: AWS Security Hub
Expand Down

0 comments on commit aec34c4

Please sign in to comment.