slack
-
codepipeline 승인 절차카테고리 없음 2023. 5. 3. 10:20
codepipeline 승인 slack codepipeline 수동승인 아래 출처 된 내용으로 진행했다. https://qiita.com/Macaron_Suke/items/17bcdae3fe4512e22eea codepipelineの承認をslack上で行う - Qiita Codepipeline上で承認を行っていた 今回、社内から要望が上がってきたので備忘録として記載しておく。これまではCodepipelineで本番環境にDeployする前段階で以下のような「承認」を経てデプロイ qiita.com #람다 환경변수 token channel_id code_name 람다 레이어 계층 설정 #slack 알람 람다함수 등록 https://github.com/assertible/lambda-cloudwatch-slack/ GitHub -..
-
AttributeError: 'module' object has no attribute 'WebClient'IT 2020. 7. 8. 11:01
client = slack.WebClient(token='xoxb-') response = client.files_upload( channels="#general", file='/home/onone/onone.png', title='capture1.png', filetype='capture1.png' ) assert response["ok"] ↓ 변경 import requests url = '' files = {'file': open('/home/one.png, 'rb')} r = requests.post(url, files=files) r.text
-
슬랙 윈도우 로그인 ScriptsIT 2020. 3. 26. 16:10
#로그인 완료 시 Add-Type -AssemblyName System.Net.Http $http = New-Object -TypeName System.Net.Http.Httpclient $message = "IP_원격접속" #$Events = Get-WinEvent -FilterHashtable @{Logname='Microsoft-Windows-TerminalServices-LocalSessionManager/Operational'; id=1149} -MaxEvents 1| Format-List -Property * | Out-File C:\1\login_ok.csv $Events = Get-WinEvent -FilterHashtable @{Logname='Microsoft-Windows-Termin..