Blame view

api/public/js/chunk-2d0e99de.fb0153a3.js.map 3.18 KB
fa297f23d   Chris Bellas   Added config fetc...
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
  {"version":3,"sources":["webpack:///./src/pages/panel/components/ceptd.vue?0e7c","webpack:///src/pages/panel/components/ceptd.vue","webpack:///./src/pages/panel/components/ceptd.vue?288a","webpack:///./src/pages/panel/components/ceptd.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticStyle","attrs","src","staticRenderFns","name","data","params","created","config","methods","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,CAAC,OAAS,SAAS,CAACF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,OAAO,OAAS,OAAO,IAAMP,EAAIQ,IAAI,YAAc,UACrNC,EAAkB,G,6CCQtB,GACEC,KAAM,QACNC,KAFF,WAGI,MAAO,CACLH,IAAK,GACLI,OAAQ,yHAGZC,QARF,WASIZ,KAAKa,UAEPC,QAAS,CACP,OADJ,WACA,yLAEA,mBAFA,gBAEA,EAFA,EAEA,KACA,4BAHA,mDAKA,+CALA,8DCrB6W,I,YCOzWC,EAAY,eACd,EACAjB,EACAU,GACA,EACA,KACA,WACA,MAIa,aAAAO,E","file":"js/chunk-2d0e99de.fb0153a3.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"height\":\"85vh\"}},[_c('iframe',{attrs:{\"width\":\"100%\",\"height\":\"100%\",\"src\":_vm.src,\"frameborder\":\"0\"}})])}
  var staticRenderFns = []
  
  export { render, staticRenderFns }","<template>
    <div style=\"height: 85vh\">
      <iframe width=\"100%\" height=\"100%\" :src=\"src\" frameborder=\"0\" />
    </div>
  </template>
  
  <script>
  import axios from 'axios'
  
  export default {
    name: 'CEPTD',
    data () {
      return {
        src: '',
        params: '/app/kibana#/dashboard/Suricata?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))'
      }
    },
    created () {
      this.config()
    },
    methods: {
      async config () {
        try {
          const { data } = await axios.get('/config')
          this.src = data.kibana_url + this.params
        } catch (e) {
          this.$toasted.error('Error fetching Kibana URL!')
        }
      }
    }
  }
  </script>
  
  <style scoped>
  </style>
  ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ceptd.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ceptd.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ceptd.vue?vue&type=template&id=3a9f78d0&scoped=true&\"
  import script from \"./ceptd.vue?vue&type=script&lang=js&\"
  export * from \"./ceptd.vue?vue&type=script&lang=js&\"
  
  
  /* normalize component */
  import normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"
  var component = normalizer(
    script,
    render,
    staticRenderFns,
    false,
    null,
    \"3a9f78d0\",
    null
    
  )
  
  export default component.exports"],"sourceRoot":""}