-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathcheck_uncheckAll.js
More file actions
60 lines (60 loc) · 3.15 KB
/
check_uncheckAll.js
File metadata and controls
60 lines (60 loc) · 3.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
function uncheckAll() {
$("input[id='mitigations']:checked").prop("checked", false)
$("input[id='nist']:checked").prop("checked", false)
$("input[id='cis']:checked").prop("checked", false)
$("input[id='d3fend']:checked").prop("checked", false)
$("input[id='engage']:checked").prop("checked", false)
$("input[id='splunk']:checked").prop("checked", false)
$("input[id='splunk_threatHunting']:checked").prop("checked", false)
$("input[id='elastic']:checked").prop("checked", false)
$("input[id='eql_analytics']:checked").prop("checked", false)
$("input[id='sentinel_defender']:checked").prop("checked", false)
$("input[id='azure_sentinel']:checked").prop("checked", false)
$("input[id='logpoint']:checked").prop("checked", false)
$("input[id='car']:checked").prop("checked", false)
$("input[id='atc']:checked").prop("checked", false)
$("input[id='sigma']:checked").prop("checked", false)
$("input[id='th_playbook']:checked").prop("checked", false)
$("input[id='proofpoint_emergingThreats']:checked").prop("checked", false)
$("input[id='tanium_threatResponse']:checked").prop("checked", false)
$("input[id='azure_fullStack']:checked").prop("checked", false)
$("input[id='aws']:checked").prop("checked", false)
$("input[id='gcp']:checked").prop("checked", false)
$("input[id='art']:checked").prop("checked", false)
$("input[id='car_red']:checked").prop("checked", false)
$("input[id='rta']:checked").prop("checked", false)
$("input[id='prelude']:checked").prop("checked", false)
$("input[id='stockpile']:checked").prop("checked", false)
$("input[id='scythe']:checked").prop("checked", false)
}
$('#uncheck-box').on('click', uncheckAll)
function checkAll() {
$("input[id='mitigations']").prop("checked", true)
$("input[id='nist']").prop("checked", true)
$("input[id='cis']").prop("checked", true)
$("input[id='d3fend']").prop("checked", true)
$("input[id='engage']").prop("checked", true)
$("input[id='splunk']").prop("checked", true)
$("input[id='splunk_threatHunting']").prop("checked", true)
$("input[id='elastic']").prop("checked", true)
$("input[id='eql_analytics']").prop("checked", true)
$("input[id='sentinel_defender']").prop("checked", true)
$("input[id='azure_sentinel']").prop("checked", true)
$("input[id='logpoint']").prop("checked", true)
$("input[id='car']").prop("checked", true)
$("input[id='atc']").prop("checked", true)
$("input[id='sigma']").prop("checked", true)
$("input[id='th_playbook']").prop("checked", true)
$("input[id='proofpoint_emergingThreats']").prop("checked", true)
$("input[id='tanium_threatResponse']").prop("checked", true)
$("input[id='azure_fullStack']").prop("checked", true)
$("input[id='aws']").prop("checked", true)
$("input[id='gcp']").prop("checked", true)
$("input[id='art']").prop("checked", true)
$("input[id='car_red']").prop("checked", true)
$("input[id='rta']").prop("checked", true)
$("input[id='prelude']").prop("checked", true)
$("input[id='stockpile']").prop("checked", true)
$("input[id='scythe']").prop("checked", true)
}
$('#check-all').on('click', checkAll)