PageSourceSearch

https://www.anansihub.com/assets/js/f3c7381d.44130f6a.js

js anansihub.com collected 2026-10-08 07:45:28 UTC 9,738 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkanansi||=[]).push([[7762],{1495(e,t,n){n.r(t),n.d(t,{default:()=>l,metadata:()=>i});var i=n(4880),s=n(4848),r=n(8453);const a={authorsImageUrls:[void 0]};function o(e){const t={a:"a",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"In order to grant Anansi Read-only access to your Azure resources, here are the steps you need to follow:"}),"\n",(0,s.jsx)(t.h2,{id:"steps-to-perform-in-azure-portal",children:"Steps to perform in Azure Portal"}),"\n",(0,s.jsx)(t.h3,{id:"1-register-an-application-in-app-registration",children:"1. Register an Application in App Registration"}),"\n",(0,s.jsx)(t.p,{children:"Register your application in App Registration to obtain an Application ID (Client ID) and configure authentication settings. Follow these steps:"}),"\n",(0,s.jsx)(t.p,{children:"a. Go to the Azure Portal."}),"\n",(0,s.jsx)(t.p,{children:'b. Search for "App registrations."'}),"\n",(0,s.jsx)(t.p,{children:'c. Click "New registration" and provide a name for your application.'}),"\n",(0,s.jsx)(t.p,{children:'d. Note down the "Application (Client) ID" for future use.'}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Register_An_Application",src:n(3197).A+"",title:"Register_An_Application",width:"1190",height:"422"})}),"\n",(0,s.jsx)(t.h3,{id:"2-define-api-permissions",children:"2. Define API Permissions:"}),"\n",(0,s.jsx)(t.p,{children:'Specify the permissions your application needs to access Azure resources or APIs. To do this, navigate to the "API permissions" or "Permissions" section, select Microsoft Graph, and check all the boxes under OpenID permissions. Finally, click "Update permissions" for your application registration in Azure AD.'}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"API_Permissions",src:n(9404).A+"",title:"API_Permissions",width:"1810",height:"923"})}),"\n",(0,s.jsx)(t.h3,{id:"3-define-azure-role-based-access-control",children:"3. Define Azure role-based access control:"}),"\n",(0,s.jsx)(t.p,{children:"Azure RBAC is a cloud-based identity and access management (IAM) system provided by Microsoft Azure. It's a fundamental component of Azure's security model, enabling you to manage access to Azure resources, specify actions that users or applications can perform, and control what they can do."}),"\n",(0,s.jsx)(t.p,{children:"To grant RBAC to resource groups, follow these steps:"}),"\n",(0,s.jsx)(t.p,{children:"a. Navigate to the Azure Portal."}),"\n",(0,s.jsx)(t.p,{children:"b. Search for 'Resource groups.'"}),"\n",(0,s.jsx)(t.p,{children:"c. Select the desired resource group, and click on 'Access control (IAM).'"}),"\n",(0,s.jsx)(t.p,{children:"d. Click the '+' icon, and choose 'Add role assignment.'"}),"\n",(0,s.jsx)(t.p,{children:"e. Under 'Job function roles', select 'Reader', and click 'Next.'"}),"\n",(0,s.jsx)(t.p,{children:"f. Click '+Select members' to search for your application's name, then click 'Select.'"}),"\n",(0,s.jsx)(t.p,{children:"g. Proceed by clicking 'Next' and 'Review + create."}),"\n",(0,s.jsx)(t.h3,{id:"4-authentication",children:"4. Authentication:"}),"\n",(0,s.jsx)(t.p,{children:"a. Navigate to your registered application."}),"\n",(0,s.jsx)(t.p,{children:'b. Select "Certificates and secrets" under the "Manage" section.'}),"\n",(0,s.jsx)(t.p,{children:'c. Click "New client secret," provide a description, and click "Add."'}),"\n",(0,s.jsx)(t.p,{children:'d. A client_secret will be generated under "Value." Make sure to note down this value; it will be displayed only once.'}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"client_secret",src:n(6877).A+"",title:"client_secret",width:"1299",height:"463"})}),"\n",(0,s.jsx)(t.h2,{id:"prerequisite-steps-to-perform-in-anansi-tool",children:"Prerequisite Steps to perform in Anansi Tool"}),"\n",(0,s.jsx)(t.h3,{id:"import-csv-templates",children:"Import CSV templates"}),"\n",(0,s.jsxs)(t.p,{children:["To create the Metadata Catalog (Azure System), import templates from the provided ",(0,s.jsx)(t.a,{href:"https://github.com/data-lineage/catalog-templates#azure-import",children:"link"}),". Make the necessary changes to the catalog names in the CSV template."]}),"\n",(0,s.jsx)(t.h3,{id:"import-data-from-azure-portal",children:"Import data from azure portal"}),"\n",(0,s.jsx)(t.p,{children:"After setting up the tables as per the templates given above, navigate to the Anansi Tool, hover over 'Import,' and select 'Azure Resources.'"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"AZURE_IMPORT",src:n(1370).A+"",title:"AZURE_IMPORT",width:"1850",height:"599"})}),"\n",(0,s.jsx)(t.p,{children:"Enter these parameters into the tool:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Subscription Id: Your Azure subscription ID"}),"\n",(0,s.jsx)(t.li,{children:"Tenant Id: Your Directory ID (tenant ID)"}),"\n",(0,s.jsx)(t.li,{children:"Client_id: Your Application ID (Client ID)."}),"\n",(0,s.jsx)(t.li,{children:"Client_secret: Your application's client secret."}),"\n",(0,s.jsxs)(t.li,{children:["Resources: ",(0,s.jsx)(t.a,{href:"https://management.azure.com/",children:"https://management.azure.com/"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Click 'Next'."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"AZURE_CRED",src:n(5025).A+"",title:"AZURE_CRED",width:"655",height:"479"})}),"\n",(0,s.jsx)(t.p,{children:"Select the Catalog Name and Table Name from their respective dropdowns. Finally, click on the 'Submit' button."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"Azure_Data_Import_Wizard",src:n(851).A+"",title:"Azure_Data_Import_Wizard",width:"657",height:"263"})}),"\n",(0,s.jsx)(t.p,{children:"Navigate to the Metadata Catalog and open the respective table; you will see the imported data."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"AZ_RESOURCES_LIST",src:n(1423).A+"",title:"AZ_RESOURCES_LIST",width:"1790",height:"627"})})]})}function l(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}n.d(t,["assets",0,a,"contentTitle",0,void 0,"frontMatter",0,{title:"Import Azure resources into the Anansi Tool",description:"In this post we can find steps to fetch Azure resources in Json format.",slug:"azure-resources-in-json",authors:{name:"Vinay Kumar S P",title:"Devops Eng."},tags:["Anansi","Azure-AD","App-Registration","Postman","Azure","JSON"],hide_table_of_contents:!1},"toc",0,[{value:"Steps to perform in Azure Portal",id:"steps-to-perform-in-azure-portal",level:2},{value:"1. Register an Application in App Registration",id:"1-register-an-application-in-app-registration",level:3},{value:"2. Define API Permissions:",id:"2-define-api-permissions",level:3},{value:"3. Define Azure role-based access control:",id:"3-define-azure-role-based-access-control",level:3},{value:"4. Authentication:",id:"4-authentication",level:3},{value:"Prerequisite Steps to perform in Anansi Tool",id:"prerequisite-steps-to-perform-in-anansi-tool",level:2},{value:"Import CSV templates",id:"import-csv-templates",level:3},{value:"Import data from azure portal",id:"import-data-from-azure-portal",level:3}]])},9404(e,t,n){const i=n.p+"assets/images/API_Permissions-65c5e9dacec5901cfe87078b8b69c19c.png";n.d(t,["A",0,i])},5025(e,t,n){const i=n.p+"assets/images/AZURE_CRED-d8f3810180a5244e49a192ad99e0be97.png";n.d(t,["A",0,i])},1370(e,t,n){const i=n.p+"assets/images/AZURE_IMPORT-5216e25c393d015750baf3e661751380.png";n.d(t,["A",0,i])},1423(e,t,n){const i=n.p+"assets/images/AZ_RESOURCES_LIST-99351e4792faac3f0bc88fab9994a2c4.png";n.d(t,["A",0,i])},851(e,t,n){const i=n.p+"assets/images/Azure_Data_Import_Wizard-22dcdc8ee8ba6ad2d84446ad9f00cde9.png";n.d(t,["A",0,i])},6877(e,t,n){const i=n.p+"assets/images/client_secret-ae27ecf4451da411edf4a3c0bdbe359a.png";n.d(t,["A",0,i])},3197(e,t,n){const i=n.p+"assets/images/register_an_application-9aa5ce7aca61b2dc2273704c47913aa2.png";n.d(t,["A",0,i])},8453(e,t,n){n.d(t,{R:()=>a,x:()=>o});var i=n(6540);const s={},r=i.createContext(s);function a(e){const t=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(r.Provider,{value:t},e.children)}},4880(e){e.exports=JSON.parse('{"permalink":"/blog/azure-resources-in-json","source":"@site/blog/2023-10-17-azure-resources-in-json-format.md","title":"Import Azure resources into the Anansi Tool","description":"In this post we can find steps to fetch Azure resources in Json format.","date":"2023-10-17T00:00:00.000Z","tags":[{"inline":true,"label":"Anansi","permalink":"/blog/tags/anansi"},{"inline":true,"label":"Azure-AD","permalink":"/blog/tags/azure-ad"},{"inline":true,"label":"App-Registration","permalink":"/blog/tags/app-registration"},{"inline":true,"label":"Postman","permalink":"/blog/tags/postman"},{"inline":true,"label":"Azure","permalink":"/blog/tags/azure"},{"inline":true,"label":"JSON","permalink":"/blog/tags/json"}],"readingTime":2.42,"hasTruncateMarker":true,"authors":[{"name":"Vinay Kumar S P","title":"Devops Eng.","socials":{},"key":null,"page":null}],"frontMatter":{"title":"Import Azure resources into the Anansi Tool","description":"In this post we can find steps to fetch Azure resources in Json format.","slug":"azure-resources-in-json","authors":{"name":"Vinay Kumar S P","title":"Devops Eng."},"tags":["Anansi","Azure-AD","App-Registration","Postman","Azure","JSON"],"hide_table_of_contents":false},"unlisted":false,"prevItem":{"title":"Using the C4 Model Notations in the Anansi Tool","permalink":"/blog/anansi-c4-model"}}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.