File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dashboards-reports/server/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ const createReportDefinitionNotebookInput: ReportDefinitionSchemaType = {
76
76
report_source : REPORT_TYPE . notebook ,
77
77
description : 'Hi this is your Notebook on demand' ,
78
78
core_params : {
79
- base_url : `/app/observability#/notebooks/${ SAMPLE_SAVED_OBJECT_ID } ` ,
79
+ base_url : `/app/observability-dashboards #/notebooks/${ SAMPLE_SAVED_OBJECT_ID } ` ,
80
80
window_width : 1300 ,
81
81
window_height : 900 ,
82
82
report_format : FORMAT . pdf ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export const isValidRelativeUrl = (relativeUrl: string) => {
37
37
export const regexDuration = / ^ ( - ? ) P (? = \d | T \d ) (?: ( \d + ) Y ) ? (?: ( \d + ) M ) ? (?: ( \d + ) ( [ D W ] ) ) ? (?: T (?: ( \d + ) H ) ? (?: ( \d + ) M ) ? (?: ( \d + (?: \. \d + ) ? ) S ) ? ) ? $ / ;
38
38
export const regexEmailAddress = / \S + @ \S + \. \S + / ;
39
39
export const regexReportName = / ^ [ \w \- \s \( \) \[ \] \, \_ \- + ] + $ / ;
40
- export const regexRelativeUrl = / ^ \/ ( _ p l u g i n \/ k i b a n a \/ | _ d a s h b o a r d s \/ ) ? a p p \/ ( d a s h b o a r d s | v i s u a l i z e | d i s c o v e r | o b s e r v a b i l i t y | n o t e b o o k s - d a s h b o a r d s \? v i e w = o u t p u t _ o n l y ) ( [ ? & ] s e c u r i t y _ t e n a n t = .+ | ) # \/ ( n o t e b o o k s \/ | v i e w \/ | e d i t \/ ) ? [ ^ \/ ] + $ / ;
40
+ export const regexRelativeUrl = / ^ \/ ( _ p l u g i n \/ k i b a n a \/ | _ d a s h b o a r d s \/ ) ? a p p \/ ( d a s h b o a r d s | v i s u a l i z e | d i s c o v e r | o b s e r v a b i l i t y - d a s h b o a r d s | n o t e b o o k s - d a s h b o a r d s \? v i e w = o u t p u t _ o n l y ) ( [ ? & ] s e c u r i t y _ t e n a n t = .+ | ) # \/ ( n o t e b o o k s \/ | v i e w \/ | e d i t \/ ) ? [ ^ \/ ] + $ / ;
41
41
42
42
export const validateReport = async (
43
43
client : ILegacyScopedClusterClient ,
You can’t perform that action at this time.
0 commit comments