File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
python-django-audit-logs-example/audit_logs Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 22
22
</ div >
23
23
</ a >
24
24
< div class ="flex sidebar-button selected ">
25
- < div > {% icon "settings " %}</ div >
25
+ < div > {% icon "edit " %}</ div >
26
26
< div >
27
27
< p > Audit Logs</ p >
28
28
</ div >
65
65
< div class ="flex flex-start ">
66
66
< div class ="flex-column flex-start ">
67
67
< div data-tab-target ="#send-events " name ='#send-events ' class ="flex space-evenly width-11vw content-button tab ">
68
- < div > {% icon "settings " %}</ div >
68
+ < div > {% icon "send " %}</ div >
69
69
< div >
70
70
< a href ="#send-events " class ="remove-style "> < button class ="remove-style "> Send Events</ button > </ a >
71
71
</ div >
72
72
</ div >
73
73
< div data-tab-target ="#export-events " name ='#export-events ' class ="flex space-evenly width-11vw content-button tab ">
74
- < div > {% icon "settings " %}</ div >
74
+ < div > {% icon "download " %}</ div >
75
75
< div >
76
76
< a href ="#export-events " class ="remove-style "> < button class ="remove-style "> Export Events</ button > </ a >
77
77
</ div >
78
78
</ div >
79
79
< div class ="flex space-evenly width-11vw content-button tab ">
80
- < div > {% icon "settings " %}</ div >
80
+ < div > {% icon "eye " %}</ div >
81
81
< div >
82
- < a href ="/events " class ="remove-style "> < button class ="remove-style "> Event Stream</ button > </ a >
82
+ < a href ="/events?intent=audit_logs " class ="remove-style "> < button class ="remove-style "> View Events</ button > </ a >
83
+ </ div >
84
+ </ div >
85
+ < div class ="flex space-evenly width-11vw content-button tab ">
86
+ < div > {% icon "share_2" %}</ div >
87
+ < div >
88
+ < a href ="/events?intent=log_streams " class ="remove-style "> < button class ="remove-style "> Configure Log Streams</ button > </ a >
83
89
</ div >
84
90
</ div >
85
91
</ div >
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def get_events(request):
171
171
@csrf_exempt
172
172
def events (request ):
173
173
link = workos .client .portal .generate_link (
174
- organization = request .session ["organization_id" ], intent = "audit_logs"
174
+ organization = request .session ["organization_id" ], intent = request . GET [ 'intent' ]
175
175
)
176
176
return redirect (link ["link" ])
177
177
You can’t perform that action at this time.
0 commit comments