File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
python-flask-audit-logs-example Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def get_events():
170170@app .route ("/events" , methods = ["GET" ])
171171def events ():
172172 link = workos .client .portal .generate_link (
173- organization = session ["organization_id" ], intent = "audit_logs"
173+ organization = session ["organization_id" ], intent = request . args . get ( "intent" )
174174 )
175175
176176 return redirect (link ["link" ])
Original file line number Diff line number Diff line change 7878 < div class ="flex space-evenly width-11vw content-button tab ">
7979 < div > {{ lucide.icon('eye', stroke_width=1) }}</ div >
8080 < div >
81- < a href ="/events " class ="remove-style "> < button class ="remove-style "> Event Stream</ button > </ a >
81+ < a href ="/events?intent=audit_logs " class ="remove-style "> < button class ="remove-style "> View Events</ button > </ a >
82+ </ div >
83+ </ div >
84+ < div class ="flex space-evenly width-11vw content-button tab ">
85+ < div > {{ lucide.icon('share_2', stroke_width=1) }}</ div >
86+ < div >
87+ < a href ="/events?intent=log_streams " class ="remove-style "> < button class ="remove-style "> Configure Log Streams</ button > </ a >
8288 </ div >
8389 </ div >
8490 </ div >
@@ -208,9 +214,6 @@ <h3>Export Events</h3>
208214 }
209215 }
210216 } )
211-
212-
213-
214217 </ script >
215218</ body >
216219
You can’t perform that action at this time.
0 commit comments