diff --git a/README.md b/README.md index c2ab452..839da85 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ | 이름 | 아이피 | 상태 요약 | 상세 보기 | | --- | --- | --- | --- | -| cmoa-master-1 | 10.10.43.200 | 취약 | http://10.10.43.42:8080/cmoa-master-1.10.10.43.200.txt | +| cmoa-master-1 | 10.10.43.200 | 양호 | http://10.10.43.42:8080/cmoa-master-1.10.10.43.200.txt | diff --git a/roles/security_check/files/ubuntu.sh b/roles/security_check/files/ubuntu.sh index 1a6d551..e3c25d6 100644 --- a/roles/security_check/files/ubuntu.sh +++ b/roles/security_check/files/ubuntu.sh @@ -3616,78 +3616,78 @@ echo "# Copyright (c) 2023 Kim Jei echo "# #" >> $resultfile 2>&1 echo "##############################################################################" >> $resultfile 2>&1 -U_01 -U_02 -U_03 -U_04 -U_05 -U_06 -U_07 -U_08 -U_09 -U_10 -U_11 -U_12 -U_13 -U_14 -U_15 -U_16 -U_17 -U_18 -U_19 -U_20 -U_21 -U_22 -U_23 -U_24 -U_25 -U_26 -U_27 -U_28 -U_29 -U_30 -U_31 -U_32 -U_33 -U_34 -U_35 -U_36 -U_37 -U_38 -U_39 -U_40 -U_41 -U_42 -U_43 -U_44 -U_45 -U_46 -U_47 -U_48 -U_49 -U_50 -U_51 -U_52 -U_53 -U_54 -U_55 -U_56 -U_57 -U_58 -U_59 -U_60 -U_61 -U_62 -U_63 -U_64 -U_65 -U_66 -U_67 -U_68 -U_69 -U_70 -U_71 -U_72 +#U_01 +#U_02 +#U_03 +#U_04 +#U_05 +#U_06 +#U_07 +#U_08 +#U_09 +#U_10 +#U_11 +#U_12 +#U_13 +#U_14 +#U_15 +#U_16 +#U_17 +#U_18 +#U_19 +#U_20 +#U_21 +#U_22 +#U_23 +#U_24 +#U_25 +#U_26 +#U_27 +#U_28 +#U_29 +#U_30 +#U_31 +#U_32 +#U_33 +#U_34 +#U_35 +#U_36 +#U_37 +#U_38 +#U_39 +#U_40 +#U_41 +#U_42 +#U_43 +#U_44 +#U_45 +#U_46 +#U_47 +#U_48 +#U_49 +#U_50 +#U_51 +#U_52 +#U_53 +#U_54 +#U_55 +#U_56 +#U_57 +#U_58 +#U_59 +#U_60 +#U_61 +#U_62 +#U_63 +#U_64 +#U_65 +#U_66 +#U_67 +#U_68 +#U_69 +#U_70 +#U_71 +#U_72 echo "" >> $resultfile 2>&1 echo "================================ 진단 결과 요약 ================================" >> $resultfile 2>&1 diff --git a/roles/security_check/tasks/create_readme.yml b/roles/security_check/tasks/create_readme.yml index 34b57f5..0800ba3 100644 --- a/roles/security_check/tasks/create_readme.yml +++ b/roles/security_check/tasks/create_readme.yml @@ -36,12 +36,11 @@ ls -al git config --global user.email "sa_8001@ex-em.com" git config --global user.name "ByeonJungHun" - git clone https://{{ git_user }}:{{ git_key }}@github.com/CloudMOA/security_check.git - cp ./README.md ./security_check/README.md - cd ./security_check + git remote remove origin + git remote add origin https://{{ git_user }}:{{ git_key }}@github.com/CloudMOA/security_check.git git add . git commit -m "검사 결과 업데이트" - git push + git push -u origin main delegate_to: 127.0.0.1 when: "'nas' in group_names"