Skip to content

Commit

Permalink
Add control's GCP name (path) to UI
Browse files Browse the repository at this point in the history
This could come in helpful for debugging.
  • Loading branch information
csutter committed Feb 6, 2025
1 parent 2884990 commit f9e19e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/controls/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
field: t_model_attr(:display_name),
value: @control.display_name,
},
{
field: t_model_attr(:name),
value: tag.code(@control.name),
}
]
} %>

Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ en:
control:
display_name: Name
action: Action
name: Google Cloud identifier
control/boost_action:
boost_factor: Boost factor
filter_expression: Filter expression
Expand Down

0 comments on commit f9e19e7

Please sign in to comment.