From 3b56dde27163831b5cea8f8a93469aa6afeda036 Mon Sep 17 00:00:00 2001 From: Petr Shevtsov Date: Wed, 11 Mar 2020 17:22:01 +0300 Subject: [PATCH] Add Cloud IAP (Identity-Aware Proxy) (#56) * Initial commit * feat(gcp): add identity-aware proxy Co-authored-by: McSly --- config.py | 2 +- diagrams/gcp/security.py | 4 ++++ docs/nodes/gcp.md | 1 + resources/gcp/security/iap.png | Bin 0 -> 7168 bytes 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 resources/gcp/security/iap.png diff --git a/config.py b/config.py index 59b95c7..e79b1fe 100644 --- a/config.py +++ b/config.py @@ -49,7 +49,7 @@ TMPL_MODULE = "module.tmpl" UPPER_WORDS = { "aws": ("aws", "api", "ebs", "ec2", "efs", "emr", "rds", "ml", "mq", "nat", "vpc", "waf"), "azure": ("ad", "b2c", "ai", "api", "cdn", "ddos", "dns", "fxt", "hana", "hd", "id", "sap", "sql", "vm"), - "gcp": ("gcp", "ai", "api", "cdn", "dns", "gke", "gpu", "ml", "nat", "os", "sdk", "sql", "tpu", "vpn"), + "gcp": ("gcp", "ai", "api", "cdn", "dns", "gke", "gpu", "iap", "ml", "nat", "os", "sdk", "sql", "tpu", "vpn"), "k8s": ( "api", "cm", "ccm", "crb", "crd", "ds", "etcd", "hpa", "k8s", "ns", "psp", "pv", "pvc", "rb", "rs", "sa", "sc", "sts", "svc", diff --git a/diagrams/gcp/security.py b/diagrams/gcp/security.py index 227b730..4b6ff5d 100644 --- a/diagrams/gcp/security.py +++ b/diagrams/gcp/security.py @@ -12,6 +12,10 @@ class Iam(_Security): _icon = "iam.png" +class IAP(_Security): + _icon = "iap.png" + + class KeyManagementService(_Security): _icon = "key-management-service.png" diff --git a/docs/nodes/gcp.md b/docs/nodes/gcp.md index da784b3..20c5645 100644 --- a/docs/nodes/gcp.md +++ b/docs/nodes/gcp.md @@ -17,6 +17,7 @@ Node classes list of gcp provider. ## gcp.security - **diagrams.gcp.security.Iam** +- **diagrams.gcp.security.IAP** - **diagrams.gcp.security.KeyManagementService**, **KMS** (alias) - **diagrams.gcp.security.ResourceManager** - **diagrams.gcp.security.SecurityCommandCenter**, **SCC** (alias) diff --git a/resources/gcp/security/iap.png b/resources/gcp/security/iap.png new file mode 100644 index 0000000000000000000000000000000000000000..722a7f2f759b3da10d33177985154f07ad918394 GIT binary patch literal 7168 zcmaJ`bzGBC_kT7RA<{4q$)O_BN(+t}5(IN&y6kI$@^x9e)h5!Hozd`^SDsV7& zD|ieJv@TjE?f?M4c=~~88(!D~fb-w9HB|5UjIU?eJDB|mY|l|QL^uw>*PCU^{V?I3 z!gXThQF#qW9uC)d?* zrVys$AUXel5rQ&MJEbV?k`F}Hll_6!Q8F#M7VxU-r}r^8KB|S7+iWKzRsnOC2`U(N zwr!@3sQ069QI>hDbf4C>gr>@dA-7zxo&xJVRuK&)f0cs=#6zu5=A5y3HKtbw(JUL# zryFrFXIC0)=NgkE4Vb6R#4I?Y=r=M#RH9^3v|Nl32~i;ab?yRbapY| zBx7@)O0&t|qP8xXZiHZOS6I9gh||kt@+hQ`|3%ap{b;@nw0e@$M=hfnl$Oelp?V&` zl*6ZRaqJ6d-+1DUv({o0!u`?oHs|M=u%T_eqw$;}?`>3t6wvaqIh-n4qr=O9=pacB zjp37m-)s%la|M^jhdcgy0p)kvUGxjKk$&6O`37oz)%>seGIa7XP|UL;&q-n?7~Ag| z_f;gLUmi!HNBhStttLmURD)yB zE?d)4V{IFv=rJhKrySHwPy7+GEpTz{4iq~P7&^O-7(mrs`P1s|cNQ|B>yfTp zX&#U?RzQk4fhDSOw?D=>y3-is?fd@ZaJ`xq3oBj%=0t<$tVKEKOxq!nL_zT;LriWe zw~E{Zl`AA|TkmGYESfJ^s4w!HY%mYzzBz@>jfT}2+5qi+8M8OY;h>lRr>*#sWAhjPh``ZsA6o9XLLK?CWZK0Zq zX!%AXwMYHy1p{87Zncs@|Cr87E-dX`Es&H&{r;Ut76z!7r;FXx+fpf;b+^_t$7_FlBsqEp9J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