forked from shaifali15/Devops-audit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
869 lines (793 loc) · 38.6 KB
/
index.html
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Nashtech DevOps Audit</title>
</head>
<body>
<nav class="navbar">
<div class="navbar-left">
<img src="/home/knoldus/Documents/devops-audit/assets/MicrosoftTeams-image.png" alt="Logo" style="width: 80px; height: auto;">
</div>
<div class="navbar-center">
<ul>
<li><a href="#">Services</a></li>
<li><a href="#">Accelerators</a></li>
<li><a href="#">Industries</a></li>
<li><a href="#">Insights</a></li>
<li><a href="#">Testimonials</a></li>
</ul>
</div>
<div class="navbar-right">
<button class="lets-talk-btn">Let's Talk</button>
</div>
</nav>
<div class="image-block">
<img src="https://www.future-processing.com/blog/wp-content/uploads/2022/09/What-are-Cloud-computing-advantages-and-disadvantages-launch-cover.jpg" alt="Devop-audit">
<div class="image-text">
<p>DevOps Audit</p>
</div>
</div>
<div class="content-block">
<div class="text-block">
<p>
DevOps Audit is the measurement to find the state of DevOps Culture and Practice in a Software development environment. Since it is increasingly becoming part of the IT industrial cycle of software development, it ought to have a proper measurement to boost the product cycle by improving through required points generated after an Audit. It aims to benchmark the current DevOps Practices to industry best practices as per the DevOps Maturity Model.
</p>
<p>
Knoldus Audit Practice allows you to ensure that the product you are building has the right architecture, design, code quality, process for development, and a CI/CD enabled DevOps process. Our analysis and recommendations report makes you and your product successful.
</p>
</div>
<div class="image-block-audit">
<img src="assets/d-1.png" alt="DevOps Audit Image">
</div>
</div>
<div class="container">
<div class="pillar-container">
<div class="pillar" onclick="jumpToPillar(1)">
Culture & Process <span class="question-indicator" id="questionIndicator1"
>0</span
>
</div>
<div class="pillar" onclick="jumpToPillar(2)">
Collaboration & Sharing<span class="question-indicator" id="questionIndicator2"
>0</span
>
</div>
<div class="pillar" onclick="jumpToPillar(3)">
Automation<span class="question-indicator" id="questionIndicator3"
>0</span
>
</div>
<div class="pillar" onclick="jumpToPillar(4)">
Monitoring<span class="question-indicator" id="questionIndicator4"
>0</span
>
</div>
<div class="pillar" onclick="jumpToPillar(5)">
Security & Governance<span class="question-indicator" id="questionIndicator5"
>0</span
>
</div>
<!-- <div class="pillar" onclick="jumpToPillar(6)">
Performance Efficiency<span class="question-indicator" id="questionIndicator6"
>0</span
>
</div> -->
<!-- Repeat for other pillars -->
</div>
<!-- Pillar container for side navigation -->
<!-- <div class="pillar-container">
<div class="pillar" onclick="jumpToPillar(1)">Pillar 1</div>
<div class="pillar" onclick="jumpToPillar(2)">Pillar 2</div>
<div class="pillar" onclick="jumpToPillar(3)">Pillar 3</div>
<div class="pillar" onclick="jumpToPillar(4)">Pillar 4</div>
<div class="pillar" onclick="jumpToPillar(5)">Pillar 5</div>
<div class="pillar" onclick="jumpToPillar(6)">Pillar 6</div>
</div> -->
<!-- Quiz container -->
<div id="quizContainer">
<!-- Pillar 1 -->
<div class="pillar" id="pillar1">
<h2>Pillar 1 : Culture & Process</h2>
<div class="question" id="pillar1_q1">
<h3>How much DevOps Awareness is there in the project?</h3>
<button onclick="showOptions('pillar1_q1')">Choose One</button>
<select
name="pillar1_q1"
id="pillar1_q1_select"
style="display: none"
onchange="enableNextButton('pillar1_indicator', 'pillar1_q1','1',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no understanding of DevOps.</option>
<option value="1">There is a basic understanding of DevOps.</option>
<option value="2">The team has a brief experience in DevOps</option>
<option value="3">There is an experienced DevOps team. </option>
<option value="4">There is an optimized DevOps Culture. </option>
</select>
</div>
<div class="question" id="pillar1_q2">
<h3>What is the level of DevOps skills of the project team? </h3>
<button onclick="showOptions('pillar1_q2')">Choose One</button>
<select
name="pillar1_q2"
id="pillar1_q2_select"
style="display: none"
onchange="enableNextButton('pillar1_indicator', 'pillar1_q2','1',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There are no skills of DevOps in the team. </option>
<option value="1">The team knows about basic tools used in DevOps. </option>
<option value="2">The team is skilled in DevOps tools. </option>
<option value="3">There is a particular DevOps tool team</option>
<option value="4">There are cross-functional teams</option>
</select>
</div>
<div class="question" id="pillar1_q3">
<h3>Are your Dev and Ops teams synchronous? </h3>
<button onclick="showOptions('pillar1_q3')">Choose One</button>
<select
name="pillar1_q3"
id="pillar1_q3_select"
style="display: none"
onchange="enableNextButton('pillar1_indicator', 'pillar1_q3','1',value)"
>
<option value="choose">Choose an option</option>
<option value="0">The Dev and Ops team work independently. </option>
<option value="1">There are periodical meetings of the Dev and Ops team.</option>
<option value="2">There is a feedback system between Dev and Ops teams. </option>
<option value="3">The Dev and Ops are aligned in a pipeline</option>
<option value="4">The Dev and Ops teams work in total sync</option>
</select>
</div>
<div class="question" id="pillar1_q4">
<h3>Do teams feel the need to adopt DevOps? </h3>
<button onclick="showOptions('pillar1_q4')">Choose One</button>
<select
name="pillar1_q4"
id="pillar1_q4_select"
style="display: none"
onchange="enableNextButton('pillar1_indicator', 'pillar1_q4','1',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no requirement for DevOps. </option>
<option value="1">Their DevOps is used optionally.</option>
<option value="2">The teams are enthusiastic about DevOps.</option>
<option value="3">There is proper implementation and use of DevOps</option>
<option value="4">There is a dedicated team for DevOps</option>
</select>
</div>
<div class="question" id="pillar1_q5">
<h3>Do teams feel the need to adopt DevOps? </h3>
<button onclick="showOptions('pillar1_q5')">Choose One</button>
<select
name="pillar1_q5"
id="pillar1_q5_select"
style="display: none"
onchange="enableNextButton('pillar1_indicator', 'pillar1_q5','1',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no requirement for DevOps.</option>
<option value="1">Their DevOps is used optionally</option>
<option value="2">The teams are enthusiastic about DevOps.</option>
<option value="3">There is proper implementation and use of DevOps</option>
<option value="4">There is a dedicated team for DevOps. </option>
</select>
</div>
<!-- Add more questions for Pillar 1 -->
<!-- Repeat this structure for Questions 2 to 5 in Pillar 1 -->
<!-- Add pillar indicator -->
<div class="pillar-indicator">
<span id="pillar1_indicator" style="font-size: 25px;font-weight: 700;">0</span><span style="font-size: 25px;font-weight: 700;">/5</span>
</div>
</div>
<!-- Pillar 2 -->
<div class="pillar" id="pillar2" style="display: none">
<h2>Pillar 2: Collaboration & Sharing </h2>
<div class="question" id="pillar2_q1">
<h3>How is the communication among your teams?</h3>
<button onclick="showOptions('pillar2_q1')">Choose One</button>
<select
name="pillar2_q1"
id="pillar2_q1_select"
style="display: none"
onchange="enableNextButton('pillar2_indicator', 'pillar2_q1','2',value)"
>
<option value="choose">Choose an option</option>
<option value="0">The communication is done at the individual level. </option>
<option value="1">Only the manager and client communicate. </option>
<option value="2">There is a common platform to report the work. </option>
<option value="3">There is a periodical meeting for teams. </option>
<option value="4">There is a communication channel for the teams. </option>
</select>
</div>
<div class="question" id="pillar2_q2">
<h3>How is knowledge shared? </h3>
<button onclick="showOptions('pillar2_q2')">Choose One</button>
<select
name="pillar2_q2"
id="pillar2_q2_select"
style="display: none"
onchange="enableNextButton('pillar2_indicator', 'pillar2_q2','2',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no knowledge sharing.</option>
<option value="1">There is limited sharing of knowledge. </option>
<option value="2">The knowledge is shared moderately among teams.</option>
<option value="3">Knowledge is shared at a team level.</option>
<option value="4">Effective sharing of knowledge at an individual level.</option>
</select>
</div>
<div class="question" id="pillar2_q3">
<h3>Are there regular meetings? </h3>
<button onclick="showOptions('pillar2_q3')">Choose One</button>
<select
name="pillar2_q3"
id="pillar2_q3_select"
style="display: none"
onchange="enableNextButton('pillar2_indicator', 'pillar2_q3','2',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There are no meetings. </option>
<option value="1">There is a regular meeting with the manager.</option>
<option value="2">There are daily standup meetings.</option>
<option value="3">There are meetings like Retrospective meet. </option>
<option value="4">The meetings are documented and shared. </option>
</select>
</div>
<div class="question" id="pillar2_q4">
<h3>How do people on the team share ideas/concern with others? </h3>
<button onclick="showOptions('pillar2_q4')">Choose One</button>
<select
name="pillar2_q4"
id="pillar2_q4_select"
style="display: none"style="display: none"
onchange="enableNextButton('pillar2_indicator', 'pillar2_q4','2',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no mechanism to share ideas/concerns.</option>
<option value="1">The team shares their points with the manager. </option>
<option value="2">There are meetings for concerns and ideas. </option>
<option value="3">There are channels to share ideas and concerns. </option>
<option value="4">There is direct communication between individuals. </option>
</select>
</div>
<div class="question" id="pillar2_q5">
<h3>Does your team follow proper documentation? </h3>
<button onclick="showOptions('pillar2_q5')">Choose One</button>
<select
name="pillar2_q5"
id="pillar2_q5_select"
style="display: none"
onchange="enableNextButton('pillar2_indicator', 'pillar2_q5','2',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no documentation.</option>
<option value="1">There is client-side documentation</option>
<option value="2">The documentation is provided for every silo work. </option>
<option value="3">The teams follow best practice guidelines. </option>
<option value="4">There is proper documentation for the whole project. </option>
</select>
</div>
<!-- Add more questions for Pillar 1 -->
<!-- Repeat this structure for Questions 2 to 5 in Pillar 1 -->
<!-- Add pillSustainabilityar indicator -->
<div class="pillar-indicator">
<span id="pillar2_indicator" style="font-size: 25px;font-weight: 700;">0</span><span style="font-size: 25px;font-weight: 700;">/5</span>
</div>
</div>
<!--Pillar 3 -->
<div class="pillar" id="pillar3" style="display: none">
<h2>Pillar 3: Automation </h2>
<div class="question" id="pillar3_q1">
<h3>How much automation is there in your project? </h3>
<button onclick="showOptions('pillar3_q1')">Choose One</button>
<select
name="pillar3_q1"
id="pillar3_q1_select"
style="display: none"
onchange="enableNextButton('pillar3_indicator', 'pillar3_q1','3',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no automation. </option>
<option value="1">There is automation in the build and testing processes.</option>
<option value="2">There is automation from code-commit to deployment. </option>
<option value="3">There is automation in monitoring and code review. </option>
<option value="4">There is full automation. </option>
</select>
</div>
<div class="question" id="pillar3_q2">
<h3>What is the branching strategy of the project? </h3>
<button onclick="showOptions('pillar3_q2')">Choose One</button>
<select
name="pillar3_q2"
id="pillar3_q2_select"
style="display: none"
onchange="enableNextButton('pillar3_indicator', 'pillar3_q2','3',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There are no branches.</option>
<option value="1">There are branches for dev and production. </option>
<option value="2">There are branches for feature and release branches. </option>
<option value="3">There are branches for Build, QA, Pre Production, Testing, and production. </option>
<option value="4">There is complete automation in branching for commit, review, and merge. </option>
</select>
</div>
<div class="question" id="pillar3_q3">
<h3>How are the builds managed? </h3>
<button onclick="showOptions('pillar3_q3')">Choose One</button>
<select
name="pillar3_q3"
id="pillar3_q3_select"
style="display: none"
onchange="enableNextButton('pillar3_indicator', 'pillar3_q3','3',value)"
>
<option value="choose">Choose an option</option>
<option value="0">The builds are done manually. </option>
<option value="1">The pipeline builds automatically.</option>
<option value="2">There are desired metrics for build's success or failure.</option>
<option value="3">The build artifacts are stored on the platform like Jfrog.</option>
<option value="4">The builds are in sync with previous and next builds. </option>
</select>
</div>
<div class="question" id="pillar3_q4">
<h3>How is the testing performed? </h3>
<button onclick="showOptions('pillar3_q4')">Choose One</button>
<select
name="pillar3_q4"
id="pillar3_q4_select"
style="display: none"style="display: none"
onchange="enableNextButton('pillar3_indicator', 'pillar3_q4','3',value)"
>
<option value="choose">Choose an option</option>
<option value="0">The testing is done by testers only. </option>
<option value="1">There are integration and unit tests. </option>
<option value="2">There is testing automation with pipeline servers. </option>
<option value="3">The testing reports are automatically created. </option>
<option value="4">The testing automation is in sync with each step. </option>
</select>
</div>
<div class="question" id="pillar3_q5">
<h3>What is the release process in the project? </h3>
<button onclick="showOptions('pillar3_q5')">Choose One</button>
<select
name="pillar3_q5"
id="pillar3_q5_select"
style="display: none"
onchange="enableNextButton('pillar3_indicator', 'pillar3_q5','3',value)"
>
<option value="choose">Choose an option</option>
<option value="0">The release process is manual. </option>
<option value="1">There is automation before release till a test.</option>
<option value="2">The release is automated.</option>
<option value="3">There are build checks before release. </option>
<option value="4">The commit to release process is fully automated. </option>
</select>
</div>
<!-- Add more questions for Pillar 1 -->
<!-- Repeat this structure for Questions 2 to 5 in Pillar 1 -->
<!-- Add pillar indicator -->
<div class="pillar-indicator">
<span id="pillar3_indicator" style="font-size: 25px;font-weight: 700;">0</span><span style="font-size: 25px;font-weight: 700;">/5</span>
</div>
</div>
<!-- pillar 4 -->
<div class="pillar" id="pillar4" style="display: none">
<h2>Pillar 4 : Monitoring </h2>
<div class="question" id="pillar4_q1">
<h3>How well is the monitoring implemented?</h3>
<button onclick="showOptions('pillar4_q1')">Choose One</button>
<select
name="pillar4_q1"
id="pillar4_q1_select"
style="display: none"
onchange="enableNextButton('pillar4_indicator', 'pillar4_q1','4',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no monitoring. </option>
<option value="1">There is the use of basic monitoring tools. </option>
<option value="2">There is in-depth monitoring as per the requirement. </option>
<option value="3">Automated monitoring system at every step.</option>
<option value="4">Centralized automated monitoring system.</option>
</select>
</div>
<div class="question" id="pillar4_q2">
<h3>How is traceability implemented? </h3>
<button onclick="showOptions('pillar4_q2')">Choose One</button>
<select
name="pillar4_q2"
id="pillar4_q2_select"
style="display: none"
onchange="enableNextButton('pillar4_indicator', 'pillar4_q2','4',value)"
>
<option value="choose">Choose an option</option>
<option value="0">The tracing is done manually.</option>
<option value="1">There is manual tracing after automatic testing. </option>
<option value="2">Error monitoring is used in Deployment.</option>
<option value="3">Tracing is done by different tracing tools in different environments.</option>
<option value="4">Tracing is automated using dashboard APIs.</option>
</select>
</div>
<div class="question" id="pillar4_q3">
<h3>How are logs monitored? </h3>
<button onclick="showOptions('pillar4_q3')">Choose One</button>
<select
name="pillar4_q3"
id="pillar4_q3_select"
style="display: none"
onchange="enableNextButton('pillar4_indicator', 'pillar4_q3','4',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no log monitoring. </option>
<option value="1">There is basic monitoring of logs.</option>
<option value="2">There is the use of log aggregation tools.</option>
<option value="3">There is an event trigger system on the basis of logs</option>
<option value="4">The log generation and monitor are fully connected. </option>
</select>
</div>
<div class="question" id="pillar4_q4">
<h3>What is used for alerting? </h3>
<button onclick="showOptions('pillar4_q4')">Choose One</button>
<select
name="pillar4_q4"
id="pillar4_q4_select"
style="display: none"style="display: none"
onchange="enableNextButton('pillar4_indicator', 'pillar4_q4','4',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no alerting system. </option>
<option value="1">There are alerts like warnings in a testing phase. </option>
<option value="2">There is an alert system with a monitor dashboard. </option>
<option value="3">There is a common platform for alerts. </option>
<option value="4">The alert system is fully automated with minimum manual interruptions.</option>
</select>
</div>
<div class="question" id="pillar4_q5">
<h3>How well is the project monitoring dashboard configured? </h3>
<button onclick="showOptions('pillar4_q5')">Choose One</button>
<select
name="pillar4_q5"
id="pillar4_q5_select"
style="display: none"
onchange="enableNextButton('pillar4_indicator', 'pillar4_q5','4',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no dashboard. </option>
<option value="1">There is a basic monitoring dashboard.</option>
<option value="2">The monitoring dashboard is dynamically updated.</option>
<option value="3">The monitoring dashboard is connected to every environment</option>
<option value="4">The monitoring dashboard is fully automated with zero-lag.</option>
</select>
</div>
<!-- Add more questions for Pillar 1 -->
<!-- Repeat this structure for Questions 2 to 5 in Pillar 1 -->
<!-- Add pillar indicator -->
<div class="pillar-indicator">
<span id="pillar4_indicator" style="font-size: 25px;font-weight: 700;">0</span><span style="font-size: 25px;font-weight: 700;">/5</span>
</div>
</div>
<!-- pillar 5 -->
<div class="pillar" id="pillar5" style="display: none">
<h2>Pillar 5 : Security & Governance </h2>
<div class="question" id="pillar5_q1">
<h3>What is the level of security management in the project? </h3>
<button onclick="showOptions('pillar5_q1')">Choose One</button>
<select
name="pillar5_q1"
id="pillar5_q1_select"
style="display: none"
onchange="enableNextButton('pillar5_indicator', 'pillar5_q1','5',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no security management. </option>
<option value="1">There are basic security checks. </option>
<option value="2">There is periodic auditing for security. </option>
<option value="3">Security is integrated into every step. </option>
<option value="4">The security is continuous and automated</option>
</select>
</div>
<div class="question" id="pillar5_q2">
<h3>How do you manage secrets? </h3>
<button onclick="showOptions('pillar5_q2')">Choose One</button>
<select
name="pillar5_q2"
id="pillar5_q2_select"
style="display: none"
onchange="enableNextButton('pillar5_indicator', 'pillar5_q2','5',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no management of secrets. </option>
<option value="1">There is manual management of secrets.</option>
<option value="2">The secrets are managed with tool assistance.</option>
<option value="3">The secrets are managed in sync with CM tools. </option>
<option value="4">The secrets are automated with a dedicated tool. </option>
</select>
</div>
<div class="question" id="pillar5_q3">
<h3>What guidelines are used for security? </h3>
<button onclick="showOptions('pillar5_q3')">Choose One</button>
<select
name="pillar5_q3"
id="pillar5_q3_select"
style="display: none"
onchange="enableNextButton('pillar5_indicator', 'pillar5_q3','5',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There are no security guidelines. </option>
<option value="1">There are periodic guidelines for security.</option>
<option value="2">The security guidelines are part of the testing phase.</option>
<option value="3">Security guidelines are part of the development phase. </option>
<option value="4">Security guidelines are automated at every level. </option>
</select>
</div>
<div class="question" id="pillar5_q4">
<h3>How well is encryption used?</h3>
<button onclick="showOptions('pillar5_q4')">Choose One</button>
<select
name="pillar5_q4"
id="pillar5_q4_select"
style="display: none"style="display: none"
onchange="enableNextButton('pillar5_indicator', 'pillar5_q4','5',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no use of encryption.</option>
<option value="1">Encryption is used in a specific environment.</option>
<option value="2">Encryption is used in production.</option>
<option value="3">Encryption is used in sensitive environments</option>
<option value="4"> Encryption is used for every communication.</option>
</select>
</div>
<div class="question" id="pillar5_q5">
<h3>Does the team monitor security regularly? </h3>
<button onclick="showOptions('pillar5_q5')">Choose One</button>
<select
name="pillar5_q5"
id="pillar5_q5_select"
style="display: none"
onchange="enableNextButton('pillar5_indicator', 'pillar5_q5','5',value)"
>
<option value="choose">Choose an option</option>
<option value="0">There is no security monitoring. </option>
<option value="1">There is periodic security monitoring.</option>
<option value="2">Security is monitored during deployments.</option>
<option value="3">There is an automated system for security monitoring.</option>
<option value="4">Security is monitored continuously. </option>
</select>
</div>
<!-- Add more questions for Pillar 1 -->
<!-- Repeat this structure for Questions 2 to 5 in Pillar 1 -->
<!-- Add pillar indicator -->
<div class="pillar-indicator">
<span id="pillar5_indicator" style="font-size: 25px;font-weight: 700;">0</span><span style="font-size: 25px;font-weight: 700;">/5</span>
</div>
</div>
<!-- pillar 6 -->
<button onclick="showNextPillar()" id="nextButton" disabled>
Next Pillar
</button>
<button
onclick="calculatePoints()"
id="calculateButton"
style="display: none"
>
Calculate Points
</button>
</div>
</div>
<footer class="simple-footer">
<div class="container">
<!-- Logo Section -->
<div class="logo-section">
<img src="assets/MicrosoftTeams-image.png" alt="NashTech Logo" class="logo">
</div>
<!-- Navigation Section -->
<div class="navigation">
<!-- NashTech -->
<div class="nav-section">
<p>NashTech</p>
<ul>
<li><a href="https://finops.ntglaunch.com/#">Contact us</a></li>
<li><a href="https://finops.ntglaunch.com/#">Careers</a></li>
<li><a href="https://finops.ntglaunch.com/#">Our locations</a></li>
</ul>
</div>
<!-- Home -->
<div class="nav-section">
<p>Home</p>
<ul>
<li><a href="https://finops.ntglaunch.com/#">Our Solutions</a></li>
<li><a href="https://finops.ntglaunch.com/#">Partners</a></li>
<li><a href="https://finops.ntglaunch.com/#">Our Thinking</a></li>
</ul>
</div>
<!-- Useful Links -->
<div class="nav-section">
<p>Useful Links</p>
<ul>
<li><a href="https://finops.ntglaunch.com/#">Privacy Notices</a></li>
<li><a href="https://finops.ntglaunch.com/#">Modern Slavery</a></li>
<li><a href="https://finops.ntglaunch.com/#">Nash Accelerators</a></li>
</ul>
</div>
<!-- Support -->
<div class="nav-section">
<p>Support</p>
<ul>
<li><a href="https://finops.ntglaunch.com/#">Knowledge Base</a></li>
<li><a href="https://finops.ntglaunch.com/#">Contact Support</a></li>
<li><a href="https://finops.ntglaunch.com/#">Privacy Policy</a></li>
<li><a href="https://finops.ntglaunch.com/#">TOS</a></li>
</ul>
</div>
</div>
</div>
<!-- Social Links -->
<div class="social-links">
<a href="https:/#" class="social-link" target="_blank">
<img src="assets/social-icons/facebook.png" alt="Facebook">
</a>
<a href="https:/#" class="social-link" target="_blank">
<img src="assets/social-icons/twitter.png" alt="Twitter">
</a>
<a href="https:/#" class="social-link" target="_blank">
<img src="assets/social-icons/youtube.png" alt="YouTube">
</a>
<a href="https:/#" class="social-link" target="_blank">
<img src="assets/social-icons/linkedin.png" alt="LinkedIn">
</a>
</div>
<!-- Copyright Section -->
<div class="copyright-section">
<p>© 2023 · <a href="https://finops.ntglaunch.com/" target="_self" rel="home" aria-current="page">NashFinOpsNex</a> · All rights reserved</p>
</div>
</div>
</footer>
<script>
let currentPillar = 1;
var previousSelectedValues = {};
let questionCounters = [0, 0, 0, 0, 0]; // Initialize counters for each pillar
const calculateButton = document.getElementById("calculateButton");
const nextButton = document.getElementById("nextButton");
function showNextPillar() {
document.getElementById(`pillar${currentPillar}`).style.display = "none";
if (currentPillar <= 4) {
currentPillar++;
}
const nextPillar = document.getElementById(`pillar${currentPillar}`);
if (nextPillar) {
nextPillar.style.display = "block";
}
// Toggle the visibility of buttons based on the current pillar
if (currentPillar === 5) {
nextButton.style.display = "none";
calculateButton.style.display = "inline-block";
} else {
nextButton.style.display = "inline-block";
calculateButton.style.display = "none";
}
// Disable next button until an option is selected
nextButton.disabled = true;
}
// Show Pillar 1 initially
document.getElementById("pillar1").style.display = "block";
function showOptions(questionId) {
const button = document.querySelector(`#${questionId} button`);
const select = document.querySelector(`#${questionId}_select`);
if (button && select) {
button.style.display = "none";
select.style.display = "inline-block";
}
}
function enableNextButton(indicatorId, questionId, index, value) {
nextButton.disabled = false;
const questionIndicator = document.getElementById(indicatorId);
const currentCount = parseInt(questionIndicator.textContent);
const questionIndicator1 = document.getElementById(
`questionIndicator${index}`
);
if (value === "choose") {
previousSelectedValues = "";
questionIndicator.textContent = (currentCount - 1).toString();
questionIndicator1.textContent = (currentCount - 1).toString();
return false;
}
if (previousSelectedValues !== questionId) {
if (!isNaN(currentCount) && currentCount < 4) {
questionIndicator.textContent = (currentCount + 1).toString();
questionIndicator1.textContent = (currentCount + 1).toString();
}
}
previousSelectedValues = questionId;
}
function jumpToPillar(pillarNumber) {
// Hide all pillars
for (let i = 1; i <= 5; i++) {
document.getElementById(`pillar${i}`).style.display = "none";
}
// Show the selected pillar
currentPillar = pillarNumber;
const selectedPillar = document.getElementById(`pillar${currentPillar}`);
if (selectedPillar) {
selectedPillar.style.display = "block";
}
// Toggle the visibility of buttons based on the current pillar
if (currentPillar === 5) {
nextButton.style.display = "none";
calculateButton.style.display = "inline-block";
} else {
nextButton.style.display = "inline-block";
calculateButton.style.display = "none";
}
// Disable next button until an option is selected
nextButton.disabled = true;
}
function calculatePoints() {
let totalPoints = 0;
for (let pillarIndex = 1; pillarIndex <= 5; pillarIndex++) {
for (let questionIndex = 1; questionIndex <= 4; questionIndex++) {
const questionName = `pillar${pillarIndex}_q${questionIndex}`;
const selectedOption = document.querySelector(
`select[name="${questionName}"]`
);
if (selectedOption && selectedOption.value !== "choose") {
totalPoints += parseInt(selectedOption.value);
}
}
}
// Create a custom popup with the score message and buttons
let message;
if (totalPoints >= 0 && totalPoints <= 50) {
message = `Your Audit and Assessment score is: ${totalPoints} points. Poor score`;
} else if (totalPoints >= 50 && totalPoints <= 100) {
message = `Your Audit and Assessment score is: ${totalPoints} points. Good score`;
} else if (totalPoints > 100 && totalPoints <= 150) {
message = `Your Audit and Assessment score is: ${totalPoints} points. Excellent score`;
} else {
message = `Your Total Points: ${totalPoints}`;
}
const popup = document.createElement('div');
popup.className = 'custom-popup';
popup.innerHTML = `
<p>${message}</p>
<div class="details-text">For more details : </div>
<div class="button-container">
<a href="https://staging.knoldus.com/" target="_blank"><button>Contact Us</button></a>
<button onclick="closePopup()">Close</button>
</div>
`;
document.body.appendChild(popup);
}
function closePopup() {
const popup = document.querySelector('.custom-popup');
if (popup) {
popup.remove();
}
}
</script>
<style>
.custom-popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 30px;
background-color: #f9f9f9;
text-align: center; /* Center the text */
}
.custom-popup .details-text {
text-align: left; /* Align text to the left */
font-style: italic; /* Italicize the text */
margin-bottom: 10px; /* Add margin for spacing */
color:rgb(108, 105, 105);
}
.custom-popup .button-container {
margin-top: 20px; /* Add margin to create a gap */
}
.custom-popup .button-container button {
margin: 0 10px; /* Add margin to create a gap */
}
</style>
</body>
</html>