mihari 5.3.0 → 5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +8 -2
- data/frontend/package-lock.json +657 -576
- data/frontend/package.json +23 -20
- data/frontend/src/ace-config.ts +6 -0
- data/frontend/src/components/Loading.vue +1 -1
- data/frontend/src/components/alert/Alert.vue +1 -1
- data/frontend/src/components/alert/AlertsWrapper.vue +1 -1
- data/frontend/src/components/alert/Form.vue +2 -2
- data/frontend/src/components/artifact/Artifact.vue +3 -3
- data/frontend/src/components/config/Configs.vue +2 -2
- data/frontend/src/components/rule/EditRule.vue +4 -3
- data/frontend/src/components/rule/Form.vue +2 -2
- data/frontend/src/components/rule/InputForm.vue +18 -59
- data/frontend/src/components/rule/NewRule.vue +1 -1
- data/frontend/src/components/rule/Rule.vue +3 -3
- data/frontend/src/components/rule/RulesWrapper.vue +1 -1
- data/frontend/src/components/rule/YAML.vue +21 -28
- data/frontend/src/main.ts +33 -3
- data/frontend/src/views/Artifact.vue +3 -8
- data/frontend/src/views/EditRule.vue +2 -7
- data/frontend/src/views/Rule.vue +3 -8
- data/lib/mihari/analyzers/base.rb +6 -0
- data/lib/mihari/analyzers/binaryedge.rb +1 -1
- data/lib/mihari/analyzers/censys.rb +1 -1
- data/lib/mihari/analyzers/onyphe.rb +1 -1
- data/lib/mihari/analyzers/rule.rb +4 -7
- data/lib/mihari/analyzers/shodan.rb +1 -1
- data/lib/mihari/analyzers/urlscan.rb +1 -1
- data/lib/mihari/analyzers/virustotal_intelligence.rb +1 -1
- data/lib/mihari/analyzers/zoomeye.rb +2 -2
- data/lib/mihari/commands/rule.rb +3 -3
- data/lib/mihari/commands/search.rb +3 -3
- data/lib/mihari/constants.rb +3 -0
- data/lib/mihari/emitters/base.rb +2 -2
- data/lib/mihari/emitters/misp.rb +3 -3
- data/lib/mihari/emitters/slack.rb +1 -1
- data/lib/mihari/emitters/the_hive.rb +1 -1
- data/lib/mihari/emitters/webhook.rb +1 -1
- data/lib/mihari/mixins/configurable.rb +5 -0
- data/lib/mihari/mixins/falsepositive.rb +1 -1
- data/lib/mihari/mixins/retriable.rb +0 -2
- data/lib/mihari/{structs → services}/rule.rb +16 -16
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/endpoints/rules.rb +9 -8
- data/lib/mihari/web/public/assets/index-116033d0.js +1737 -0
- data/lib/mihari/web/public/assets/index-33165282.css +1 -0
- data/lib/mihari/web/public/assets/mode-yaml-a21faa53.js +8 -0
- data/lib/mihari/web/public/index.html +2 -2
- data/lib/mihari.rb +3 -2
- data/mihari.gemspec +5 -4
- metadata +15 -21
- data/lib/mihari/web/public/assets/fa-brands-400-20c4a58b.ttf +0 -0
- data/lib/mihari/web/public/assets/fa-brands-400-74833209.woff2 +0 -0
- data/lib/mihari/web/public/assets/fa-regular-400-528d022d.ttf +0 -0
- data/lib/mihari/web/public/assets/fa-regular-400-8e7e5ea1.woff2 +0 -0
- data/lib/mihari/web/public/assets/fa-solid-900-67a65763.ttf +0 -0
- data/lib/mihari/web/public/assets/fa-solid-900-7152a693.woff2 +0 -0
- data/lib/mihari/web/public/assets/fa-v4compatibility-0515a423.ttf +0 -0
- data/lib/mihari/web/public/assets/fa-v4compatibility-694a17c3.woff2 +0 -0
- data/lib/mihari/web/public/assets/index-2ba8f0a6.css +0 -5
- data/lib/mihari/web/public/assets/index-71285b15.js +0 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '047794de8be5ea80f2db5802c6889c6dbaed085a311925752861db3305367867'
|
4
|
+
data.tar.gz: b1f257bf766e0680b5c2afa38c06ead0ab0e0d526520901efc2dc093a56aaca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4a2219a68497062f8645a01c7f96c461398f65ecc028cb7f6b1a0b39d8295f532fcd19fa769c8935fc2ade6845328ed6fe1154de9c89a52084cc2955f14d6c
|
7
|
+
data.tar.gz: 9495566cf17410773565db9b510202dd6055e6ea4ccc08eb9e50fc61f963224610b6934a0d387d21e7177988beb531b49cf84cd0b20aa476c36b09acda8cacad
|
data/Rakefile
CHANGED
@@ -12,8 +12,14 @@ task :rackup do
|
|
12
12
|
sh "rerun --pattern '{Gemfile.lock,lib/**/*.rb,lib/*.rb}' -- rackup config.ru"
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
def ci?
|
16
|
+
ENV.fetch("CI", false)
|
17
|
+
end
|
18
|
+
|
19
|
+
unless ci?
|
20
|
+
task :build do
|
21
|
+
sh "./build_frontend.sh"
|
22
|
+
end
|
17
23
|
end
|
18
24
|
|
19
25
|
# require it later enables doing pre-build step (= build the frontend app)
|