Sarmad
(Sarmad)
May 15, 2020, 10:50am
1
Hello Everyone,
I am installing an in-app waf for kibana security,
it's installation guide says that i should add *require('sqreen');*
in the main module of nodejs app .
Since kibana is nodejs based, where can I find its main nodejs module/file?
I need to add that piece of code in main nodejs file of kibana
And what would it's name be? kibana.js? index.js? server.js?
I will appreciate any help!!
1 Like
dosant
(Anton Dosov)
May 15, 2020, 12:54pm
2
Hi @Sarmad ,
scripts/kibana.js
would be the entry point
1 Like
Sarmad
(Sarmad)
May 15, 2020, 3:46pm
3
Hi @dosant thanks.
Where can I find the kibana.js? Should I add a new file?
And which scripts folder or directory I need to put it into?
/usr/share/kibana/node_modules/core-js-pure/scripts
?
asad_ali
(asad ali)
May 16, 2020, 1:02am
4
will really appreciate if you can disclose the full-path. Thanks.
dosant
(Anton Dosov)
May 16, 2020, 7:42am
5
What Kibana version are you looking at?
I was referring to this file: https://github.com/elastic/kibana/blob/master/scripts/kibana.js
asad_ali
(asad ali)
May 16, 2020, 1:06pm
7
Yes, but the same file with same content is not available i'm on 7.7 and my output of 'find' looks same as @Sarmad . All other kibanna.js are different in code content.
system
(system)
Closed
June 13, 2020, 1:06pm
8
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.