<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swx-sugaya</author_name>
  <author_url>https://blog.hatena.ne.jp/swx-sugaya/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>AWS CLI</anon>
  </categories>
  <description>はじめに CloudTrail を触っていると アカウント内で使われている全トレイルをリージョン超えて、一覧に出したいときってありますよね。 ということで、全トレイルの一覧をcsvファイルに吐き出すシェルスクリプトを書いてみました。 今回は最低限、トレイル名と、どのリージョンに属するかという情報だけ出します。 記事目安...10分 はじめに 全トレイルを抽出するシェルスクリプト まとめ 全トレイルを抽出するシェルスクリプト #!/bin/bash # trail-list.csv の生成および、ヘッダーの生成。csv ファイルには、Trail 名と、そのホームリージョンがそれぞれ格納される。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fextract-all-trail&quot; title=&quot;【CloudTrail】アカウント内で使われている全リージョンの証跡をCLIでぶっこ抜いてみる - サーバーワークスエンジニアブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/swx-sugaya/20201125/20201125160725.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-02 11:59:53</published>
  <title>【CloudTrail】アカウント内で使われている全リージョンの証跡をCLIでぶっこ抜いてみる</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/extract-all-trail</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
