Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/release-current-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: Release Current Version

on:
push:
branches: [ master, main ]
branches: [ master, main, support/v1 ]

jobs:
Run:
uses: polarityio/polarity-github-actions/.github/workflows/release-server-versions-for-int-store.yml@master
# with:
# use-integration-development-checklist: false
uses: polarityio/polarity-github-actions/.github/workflows/release-integration.yml@master
27 changes: 14 additions & 13 deletions .github/workflows/run-int-dev-checklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@ name: Run Integration Development Checklist

on:
pull_request:
branches: [ master, main, develop ]
branches: [ master, main, develop, support/v1 ]

jobs:
run-integration-development-checklist:
runs-on: ubuntu-latest
container: 'centos:7'

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Test NPM Install
id: test-npm-install
run: |
npm ci
- name: Polarity Integration Development Checklist
id: int-dev-checklist
uses: polarityio/polarity-integration-development-checklist@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Test NPM Install
id: test-npm-install
run: |
npm ci
- name: Polarity Integration Development Checklist
id: int-dev-checklist
uses: polarityio/polarity-integration-development-checklist@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ test-runner.js

.polarity.conf

data/
data/
dist/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist/
node_modules/
mocks/
package-lock.json
22 changes: 11 additions & 11 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 90,
"proseWrap": "preserve",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
{
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 100,
"proseWrap": "preserve",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
22 changes: 1 addition & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1 @@
MIT License

Copyright (c) 2022 Polarity.io, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Copyright 2026 Dataminr, Inc. All rights reserved.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* List of all detections associated with Host

<div style="display:flex; align-items: flex-start;">
<img width="370" style="margin-right: 7px" title="Host List Detections" alt="Host List Detections" src="./assets/Host List Detections.png">
<img width="370" style="margin-right: 7px" title="Host List Detections" alt="Host List Detections" src="./docs/Host List Detections.png">
</div>

## About Qualys
Expand All @@ -42,4 +42,4 @@ Installation instructions for integrations are provided on the [PolarityIO GitHu

## Polarity
Polarity is a memory-augmentation platform that improves and accelerates analyst decision making. For more information about the Polarity platform please see:
https://polarity.io/
https://polarity.io/
74 changes: 0 additions & 74 deletions components/block.js

This file was deleted.

65 changes: 0 additions & 65 deletions config/config.js

This file was deleted.

72 changes: 41 additions & 31 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,31 @@
"name": "Qualys",
"acronym": "QLS",
"description": "The Polarity Qualys Integration queries the Qualys Cloud Platform's Host Detection List and KnowledgeBase for IP Addresses, Domains, CVEs and QIDs.",
"entityTypes": [
"runtimeVersion": 2,
"defaultColor": "light-purple",
"onDemandOnly": true,
"dataTypes": [
"IPv4",
"IPv6"
],
"customTypes": [
{
"key": "qid",
"regex": "(?:QID|qid):\\s*\\d{1,8}"
}
],
"defaultColor": "light-purple",
"styles": [
"./styles/styles.less"
],
"onDemandOnly": true,
"block": {
"component": {
"file": "./components/block.js"
},
"template": {
"file": "./templates/block.hbs"
}
},
"request": {
"cert": "",
"key": "",
"passphrase": "",
"ca": "",
"proxy": ""
},
"logging": {
"level": "info"
},
"webComponents": {
"id": "512a1044-4cd2-4184-b120-48de15680389",
"moduleFilename": "web-components.mjs",
"components": [
{
"type": "details",
"element": "px-int-4szfuj42ymklnvnabm9q4yt1l-qls-details-v3-4-0"
}
]
},
"reducer": {
"details": {
"file": "./reducers/details.json"
}
},
"options": [
{
"key": "url",
Expand Down Expand Up @@ -63,11 +55,29 @@
"type": "password",
"userCanEdit": false,
"adminOnly": true
},
{
"key": "customTypeValueRegex",
"name": "Custom Type Value Regex",
"description": "A regular expression used to extract the numeric QID value from a matched Custom Type entity. The full regex match is used as the QID (no capture groups). Defaults to '\\d+$' which extracts trailing digits. Only applies when the Custom Type Data Type is enabled.",
"default": "\\d+$",
"type": "text",
"userCanEdit": false,
"adminOnly": true
}
],
"reducer": {
"details": {
"file": "./reducers/details.json"
"customTypes": [
{
"key": "qid",
"regex": "(?:QID|qid)(?:\\s*:\\s*|\\s+)\\d{1,8}"
},
{
"key": "customType",
"name": "Custom Type",
"description": "A customer-defined entity type. Set the regex to match your organization's QID format in the Polarity admin Data Types settings. The integration will extract a numeric QID from each match using the 'Custom Type Value Regex' option.",
"regex": "CUSTOM-\\d+",
"editable": true,
"enabled": false
}
}
]
}
File renamed without changes
File renamed without changes
22 changes: 22 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintConfigPrettier from 'eslint-config-prettier';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
eslintConfigPrettier,
{
ignores: ['dist/', 'node_modules/', 'mocks/', 'vite.config.js']
},
{
files: ['src/**/*.ts', 'web-components/**/*.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }
]
}
}
);
Loading