これらの手順を使用して検出モデルをトリガーし、Azure VNet Flow LogsのWorkbenchアラートを作成します。
手順
- 次のPythonコードを含むスクリプトファイルを作成してください。
import socket def send_udp_message(): sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) try: # Target IP and port target_ip = "79.124.59.78" target_port = 9999 message = "test" # Send the message sock.sendto(message.encode('utf-8'), (target_ip, target_port)) print(f"Sent '{message}' to {target_ip}:{target_port}") except Exception as e: print(f"Error: {e}") finally: sock.close() if __name__ == "__main__": send_udp_message() - VNetフローログのクラウド検出をテストするために使用したいAzureアカウントにサインインしてください。
- Azure仮想マシン (VM) をセットアップします。
- Azure VMに接続してスクリプトファイルを実行してください。
- Trend Vision Oneコンソールで、生成されたアラートを表示するにはに移動します。
