Skip to content

Commit eb0088c

Browse files
authored
Merge pull request #461 from threatgrid/XDR-21205-add-observable
add new Device Insights observables
2 parents 334b25e + e98be5a commit eb0088c

32 files changed

+144
-77
lines changed

.github/workflows/build.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ on:
1111

1212
jobs:
1313
setup:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
timeout-minutes: 5
1616
outputs:
1717
matrix: ${{ steps.set-matrix.outputs.matrix }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
- name: Install clojure tools
22-
uses: DeLaGuardo/setup-clojure@3.7
22+
uses: DeLaGuardo/setup-clojure@main
2323
with:
24-
lein: 2.9.8
24+
lein: latest
2525
- name: Cache local Maven repository
26-
uses: actions/cache@v2
26+
uses: actions/cache@v4
2727
with:
2828
path: ~/.m2/repository
2929
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj') }}
@@ -36,13 +36,13 @@ jobs:
3636
strategy:
3737
matrix:
3838
jdk: ["21"]
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-22.04
4040
timeout-minutes: 10
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v2
43+
uses: actions/checkout@v4
4444
- name: Cache local Maven repository
45-
uses: actions/cache@v2
45+
uses: actions/cache@v4
4646
with:
4747
path: ~/.m2/repository
4848
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj') }}
@@ -54,12 +54,12 @@ jobs:
5454
distribution: 'temurin'
5555
java-version: ${{ matrix.jdk }}
5656
- name: Install clojure tools
57-
uses: DeLaGuardo/setup-clojure@12.5
57+
uses: DeLaGuardo/setup-clojure@main
5858
with:
5959
lein: latest
60-
- run: lein do clean, compile :all, doo phantom test once
60+
- run: lein do clean, compile :all, doo node node once
6161
all-pr-checks:
62-
runs-on: ubuntu-20.04
62+
runs-on: ubuntu-22.04
6363
timeout-minutes: 5
6464
needs: test
6565
steps:

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ This is a cljc project, it is intended to work both from clojure/clojurescript p
1010
You can run clojurescript tests with:
1111

1212
```bash
13-
lein doo phantom test once
1413
lein doo node node once
1514
```
1615

17-
(Requires phantom and node)
16+
(Requires node)
1817

1918
To generate the documentation
2019

doc/json/actor.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"motivation" : "Ego",
2727
"planning_and_operational_support" : "string",
2828
"revision" : 10,
29-
"schema_version" : "1.3.21",
29+
"schema_version" : "1.3.23",
3030
"short_description" : "string",
3131
"sophistication" : "Aspirant",
3232
"source" : "string",

doc/json/asset.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"id" : "string",
1313
"language" : "string",
1414
"revision" : 10,
15-
"schema_version" : "1.3.21",
15+
"schema_version" : "1.3.23",
1616
"short_description" : "string",
1717
"source" : "string",
1818
"source_uri" : "string",

doc/json/asset_mapping.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"value" : "1.2.3.4"
1818
},
1919
"revision" : 10,
20-
"schema_version" : "1.3.21",
20+
"schema_version" : "1.3.23",
2121
"source" : "string",
2222
"source_uri" : "string",
2323
"specificity" : "Low",

doc/json/asset_properties.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"value" : "string"
1616
} ],
1717
"revision" : 10,
18-
"schema_version" : "1.3.21",
18+
"schema_version" : "1.3.23",
1919
"source" : "string",
2020
"source_uri" : "string",
2121
"timestamp" : "2016-01-01T01:01:01.000Z",

doc/json/attack_pattern.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
} ],
1717
"language" : "string",
1818
"revision" : 10,
19-
"schema_version" : "1.3.21",
19+
"schema_version" : "1.3.23",
2020
"short_description" : "string",
2121
"source" : "string",
2222
"source_uri" : "string",

doc/json/bundle.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"motivation" : "Ego",
2929
"planning_and_operational_support" : "string",
3030
"revision" : 10,
31-
"schema_version" : "1.3.21",
31+
"schema_version" : "1.3.23",
3232
"short_description" : "string",
3333
"sophistication" : "Aspirant",
3434
"source" : "string",
@@ -62,7 +62,7 @@
6262
"value" : "1.2.3.4"
6363
},
6464
"revision" : 10,
65-
"schema_version" : "1.3.21",
65+
"schema_version" : "1.3.23",
6666
"source" : "string",
6767
"source_uri" : "string",
6868
"specificity" : "Low",
@@ -92,7 +92,7 @@
9292
"value" : "string"
9393
} ],
9494
"revision" : 10,
95-
"schema_version" : "1.3.21",
95+
"schema_version" : "1.3.23",
9696
"source" : "string",
9797
"source_uri" : "string",
9898
"timestamp" : "2016-01-01T01:01:01.000Z",
@@ -119,7 +119,7 @@
119119
"id" : "string",
120120
"language" : "string",
121121
"revision" : 10,
122-
"schema_version" : "1.3.21",
122+
"schema_version" : "1.3.23",
123123
"short_description" : "string",
124124
"source" : "string",
125125
"source_uri" : "string",
@@ -151,7 +151,7 @@
151151
} ],
152152
"language" : "string",
153153
"revision" : 10,
154-
"schema_version" : "1.3.21",
154+
"schema_version" : "1.3.23",
155155
"short_description" : "string",
156156
"source" : "string",
157157
"source_uri" : "string",
@@ -185,7 +185,7 @@
185185
"language" : "string",
186186
"names" : [ "string" ],
187187
"revision" : 10,
188-
"schema_version" : "1.3.21",
188+
"schema_version" : "1.3.23",
189189
"short_description" : "string",
190190
"source" : "string",
191191
"source_uri" : "string",
@@ -259,7 +259,7 @@
259259
"source" : "string"
260260
} ],
261261
"revision" : 10,
262-
"schema_version" : "1.3.21",
262+
"schema_version" : "1.3.23",
263263
"short_description" : "string",
264264
"source" : "string",
265265
"source_uri" : "string",
@@ -297,7 +297,7 @@
297297
"revision" : 10,
298298
"row_count" : 10,
299299
"rows" : [ [ "anything" ] ],
300-
"schema_version" : "1.3.21",
300+
"schema_version" : "1.3.23",
301301
"short_description" : "string",
302302
"source" : "string",
303303
"source_uri" : "string",
@@ -335,7 +335,7 @@
335335
"language" : "string",
336336
"reason" : "string",
337337
"revision" : 10,
338-
"schema_version" : "1.3.21",
338+
"schema_version" : "1.3.23",
339339
"source" : "string",
340340
"source_uri" : "string",
341341
"timestamp" : "2016-01-01T01:01:01.000Z",
@@ -366,7 +366,7 @@
366366
},
367367
"language" : "string",
368368
"revision" : 10,
369-
"schema_version" : "1.3.21",
369+
"schema_version" : "1.3.23",
370370
"source" : "string",
371371
"source_uri" : "string",
372372
"timestamp" : "2016-01-01T01:01:01.000Z",
@@ -409,7 +409,7 @@
409409
},
410410
"promotion_method" : "Automated",
411411
"revision" : 10,
412-
"schema_version" : "1.3.21",
412+
"schema_version" : "1.3.23",
413413
"scores" : {
414414
"asset" : 10.0
415415
},
@@ -452,7 +452,7 @@
452452
"negate" : true,
453453
"producer" : "string",
454454
"revision" : 10,
455-
"schema_version" : "1.3.21",
455+
"schema_version" : "1.3.23",
456456
"severity" : "Critical",
457457
"short_description" : "string",
458458
"source" : "string",
@@ -501,7 +501,7 @@
501501
"reason" : "string",
502502
"reason_uri" : "string",
503503
"revision" : 10,
504-
"schema_version" : "1.3.21",
504+
"schema_version" : "1.3.23",
505505
"severity" : "Critical",
506506
"source" : "string",
507507
"source_uri" : "string",
@@ -534,7 +534,7 @@
534534
"labels" : [ "adware" ],
535535
"language" : "string",
536536
"revision" : 10,
537-
"schema_version" : "1.3.21",
537+
"schema_version" : "1.3.23",
538538
"short_description" : "string",
539539
"source" : "string",
540540
"source_uri" : "string",
@@ -564,7 +564,7 @@
564564
"entity_type" : "string"
565565
} ],
566566
"revision" : 10,
567-
"schema_version" : "1.3.21",
567+
"schema_version" : "1.3.23",
568568
"source" : "string",
569569
"source_uri" : "string",
570570
"timestamp" : "2016-01-01T01:01:01.000Z",
@@ -586,7 +586,7 @@
586586
"language" : "string",
587587
"relationship_type" : "attributed-to",
588588
"revision" : 10,
589-
"schema_version" : "1.3.21",
589+
"schema_version" : "1.3.23",
590590
"short_description" : "string",
591591
"source" : "string",
592592
"source_ref" : "string",
@@ -598,7 +598,7 @@
598598
"type" : "relationship"
599599
} ],
600600
"revision" : 10,
601-
"schema_version" : "1.3.21",
601+
"schema_version" : "1.3.23",
602602
"short_description" : "string",
603603
"sighting_refs" : [ "string" ],
604604
"sightings" : [ {
@@ -866,7 +866,7 @@
866866
} ],
867867
"resolution" : "detected",
868868
"revision" : 10,
869-
"schema_version" : "1.3.21",
869+
"schema_version" : "1.3.23",
870870
"sensor" : "endpoint",
871871
"sensor_coordinates" : {
872872
"observables" : [ {
@@ -913,7 +913,7 @@
913913
"id" : "string",
914914
"language" : "string",
915915
"revision" : 10,
916-
"schema_version" : "1.3.21",
916+
"schema_version" : "1.3.23",
917917
"short_description" : "string",
918918
"source" : "string",
919919
"source_uri" : "string",
@@ -959,7 +959,7 @@
959959
"labels" : [ "credential-exploitation" ],
960960
"language" : "string",
961961
"revision" : 10,
962-
"schema_version" : "1.3.21",
962+
"schema_version" : "1.3.23",
963963
"short_description" : "string",
964964
"source" : "string",
965965
"source_uri" : "string",
@@ -1100,7 +1100,7 @@
11001100
"last_modified_date" : "2016-01-01T01:01:01.000Z",
11011101
"published_date" : "2016-01-01T01:01:01.000Z",
11021102
"revision" : 10,
1103-
"schema_version" : "1.3.21",
1103+
"schema_version" : "1.3.23",
11041104
"short_description" : "string",
11051105
"source" : "string",
11061106
"source_uri" : "string",
@@ -1181,7 +1181,7 @@
11811181
"strategy" : "Attack Surface Reduction"
11821182
} ],
11831183
"revision" : 10,
1184-
"schema_version" : "1.3.21",
1184+
"schema_version" : "1.3.23",
11851185
"short_description" : "string",
11861186
"source" : "string",
11871187
"source_uri" : "string",

doc/json/campaign.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"language" : "string",
2020
"names" : [ "string" ],
2121
"revision" : 10,
22-
"schema_version" : "1.3.21",
22+
"schema_version" : "1.3.23",
2323
"short_description" : "string",
2424
"source" : "string",
2525
"source_uri" : "string",

0 commit comments

Comments
 (0)