Merge pull request #43 feature-NEWDWH2021-601 into develop-8sap
This commit is contained in:
commit
25c2956908
@ -5,7 +5,12 @@ ENV TZ="Asia/Tokyo"
|
||||
WORKDIR ${WORKDIR}
|
||||
|
||||
COPY Pipfile Pipfile.lock ${WORKDIR}
|
||||
RUN pip install pipenv --no-cache-dir && \
|
||||
RUN \
|
||||
apt update -y && \
|
||||
# パッケージのセキュリティアップデートのみを適用するコマンド
|
||||
apt install -y unattended-upgrades && \
|
||||
unattended-upgrades && \
|
||||
pip install pipenv --no-cache-dir && \
|
||||
pipenv install --system --deploy && \
|
||||
pip uninstall -y pipenv virtualenv-clone virtualenv
|
||||
COPY check-view-option ./
|
||||
|
||||
@ -185,6 +185,7 @@ def fetch_view_security_options(connection: Database, check_target_schemas: list
|
||||
try:
|
||||
with connection.query(select_view_security_option_sql) as cursor:
|
||||
result = cursor.fetchall()
|
||||
connection.close()
|
||||
return result
|
||||
except Exception as e:
|
||||
raise QueryExecutionException('E-04-01', f'Viewセキュリティオプションチェックに失敗しました エラー内容:{e}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user