File tree Expand file tree Collapse file tree
frontend/src/app/data-management/alert-management/shared/components/alert-soc-ai Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 </ div >
4848</ div >
4949
50- < div *ngIf ="(isEmpty(socAiResponse) || socAiResponse && socAiResponse.status === indexSocAiStatus.Error) && !loading " class ="w-100 ">
50+ < div *ngIf ="socAiResponse && socAiResponse.status === indexSocAiStatus.Error && !loading " class ="w-100 ">
51+ < div class ="w-100 alert alert-danger alert-styled-right mb-3 alert-dismissible ">
52+ < span class ="font-weight-semibold "> Error! </ span >
53+ < span > The SOC-AI integration could not analyze this alert due to a processing error. Please try again.</ span >
54+ </ div >
55+ < button class ="btn utm-button utm-button-primary " (click) ="processAlert() " [disabled] ="loadingProcess || !alert ">
56+ < i class ="icon-brain mr-1 " *ngIf ="!loadingProcess "> </ i >
57+ < i class ="icon-spinner2 spinner mr-1 " *ngIf ="loadingProcess "> </ i >
58+ {{ loadingProcess ? 'Analyzing...' : 'Analyze with SOC AI' }}
59+ </ button >
60+ </ div >
61+
62+ < div *ngIf ="isEmpty(socAiResponse) && !loading " class ="w-100 ">
5163 < div class ="w-100 alert alert-info alert-styled-right mb-3 alert-dismissible ">
5264 < span class ="font-weight-semibold "> Info! </ span >
53- < span > The SOC-AI integration did not analyze this alert due to inactivity or a processing error .</ span >
65+ < span > This alert has not been analyzed by SOC-AI yet. You can start the analysis below .</ span >
5466 </ div >
5567 < button class ="btn utm-button utm-button-primary " (click) ="processAlert() " [disabled] ="loadingProcess || !alert ">
5668 < i class ="icon-brain mr-1 " *ngIf ="!loadingProcess "> </ i >
You can’t perform that action at this time.
0 commit comments