Skip to content

Commit f2f1322

Browse files
authored
Merge branch 'main' into AlexanderHodicke-patch-9
2 parents e6b8fa5 + 9843167 commit f2f1322

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

security/security-design/shared-assets/bastion-session-script/files/bastion-session.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
###############################################################################
1212

1313
# Set default values.
14-
version="1.0.2"
14+
version="1.0.3"
1515
oci_profile="DEFAULT"
1616
session_name="Bastion-Session"
1717
session_check_counter=15 # times 10 seconds for maximum time while checking session creation status.
@@ -153,7 +153,7 @@ oci_create_bastion_session() {
153153
cmd="oci bastion session get --session-id ${session_id} ${oci_options}"
154154
until [ $session_check_counter == 0 ]
155155
do
156-
sleep 10
156+
sleep 5
157157
if ! run_oci_cmd; then
158158
echo "*** Problem retrieving OCI Bastion session status: ${session_id}"
159159
exit 1
@@ -165,6 +165,7 @@ oci_create_bastion_session() {
165165
else
166166
session_check_counter=0
167167
fi
168+
sleep 5
168169
done
169170
if [ "${session_status}" != "ACTIVE" ]; then
170171
echo "*** Problem creating OCI Bastion session. Failed on status: ${session_status}"

security/security-design/shared-assets/bastion-session-script/release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes
22

3+
## Feb 20, 2024 Release Notes - v1.0.3
4+
5+
- Fixed an issue where sometimes the bastion session resource was used before it was fully ready.
6+
37
## Jul 4, 2023 Release Notes - v1.0.2
48

59
- Documentation and textual improvements.

0 commit comments

Comments
 (0)