{ "accountParams": { "connection": "acctAuth", "createUsers": false, "adminName": "admin", "processingType": "SequentialAndIterative", "call": { "call1": { "callOrder": 0, "stageNumber": 0, "http": { "url": "https://api.github.com/orgs//members?per_page=100&page=1", "httpHeaders": { "Authorization": "${access_token}" }, "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "keyField": "accountID", "colsToPropsMap": { "accountID": "id~#~char", "name": "login~#~char", "displayName": "login~#~char" }, "makeProcessingStatus": true, "disableDeletedAccounts": true, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } }, "call2": { "callOrder": 1, "stageNumber": 1, "http": { "url": "https://api.github.com/users/${accountName}", "httpHeaders": { "Authorization": "${access_token}" }, "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "keyField": "accountID", "colsToPropsMap": { "accountID": "id~#~char", "name": "login~#~char", "displayName": "login~#~char", "customproperty1": "avatar_url~#~char", "customproperty2": "gravatar_id~#~char", "customproperty3": "url~#~char", "customproperty10": "suspended_at~#~char", "customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char" }, "multiTrigger": { "multiTriggerType": "MultiTriggerByAccountBatching", "triggersCount": "20", "params": { "accountsoraccess": "accounts" } } } } }, "entitlementParams": { "connection": "acctAuth", "processingType": "SequentialAndIterative", "supportedEntitlementTypes": [ "Organization", "Team", "Repository" ], "entTypes": { "Organization": { "entTypeOrder": 0, "call": { "call1": { "callOrder": 0, "stageNumber": 3, "inputParams": { "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/orgs/", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "keyField": "entitlementID", "colsToPropsMap": { "entitlementID": "id~#~char", "entitlement_value": "login~#~char", "customproperty6": "url~#~char", "customproperty7": "description~#~char", "customproperty8": "public_repos~#~char", "customproperty9": "public_gists~#~char", "customproperty10": "followers~#~char" } }, "call2": { "callOrder": 1, "dummyCall": true, "stageNumber": 4, "inputParams": { "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "multiTrigger": { "multiTriggerType": "MultiTriggerByEntitlementBatching", "triggersCount": "20", "params": { "accountsoraccess": "access" } } } } }, "Team": { "entTypeOrder": 1, "entitlementOwnerConfig": { "maxNumberOfOwner": 4, "typeOfImportOwner": [ "maintainer" ] }, "call": { "call1": { "callOrder": 0, "stageNumber": 6, "inputParams": { "entitlementname": "Organization" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/orgs/${entitlementValue}/teams?per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } }, "listField": "", "keyField": "entitlementID", "colsToPropsMap": { "entitlementID": "id~#~char", "entitlement_value": "name~#~char", "customproperty1": "url~#~char", "customproperty6": "privacy~#~char", "customproperty7": "permission~#~char", "customproperty20": "STORE#ENT#MAPPINGINFO#PARENTID#TYPE##ENTMAP~#~char", "entitlementMappingJson": "STORE#ENT#MAPPINGINFO#PARENTID~#~char" } } } }, "Repository": { "entTypeOrder": 2, "call": { "call1": { "callOrder": 0, "stageNumber": 7, "inputParams": { "entitlementname": "Organization", "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/orgs/${entitlementValue}/repos?per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } }, "listField": "", "keyField": "entitlementID", "colsToPropsMap": { "entitlementID": "id~#~char", "entitlement_value": "name~#~char", "customproperty1": "url~#~char", "customproperty6": "private~#~char", "customproperty7": "size~#~char", "customproperty8": "permissions.admin~#~char", "customproperty9": "permissions.push~#~char", "customproperty10": "permissions.pull~#~char", "customproperty11": "owner.login~#~char", "customproperty20": "STORE#ENT#MAPPINGINFO#PARENTID#TYPE##ENTMAP~#~char", "entitlementMappingJson": "STORE#ENT#MAPPINGINFO#PARENTID~#~char" } } } } } }, "acctEntParams": { "processingType": "httpEntToAcct", "connection": "acctAuth", "initPrivigesMap": [ { "privName": "Permission", "attrType": 3, "entType": "Organization", "cfgType": 1, "attributeValues": "", "defaultValue": "" }, { "privName": "Permission", "attrType": 3, "entType": "Team", "cfgType": 1, "attributeValues": "", "defaultValue": "" }, { "privName": "Permission", "attrType": 3, "entType": "Repository", "cfgType": 1, "attributeValues": "", "defaultValue": "" } ], "entTypes": { "Organization": { "call": { "call1": { "callOrder": 0, "stageNumber": 8, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/orgs/${id}/members?per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "entKeyField": "entitlement_value", "acctIdPath": "id", "privilegeParams": { "attrName": "Permission", "attrValue": "member" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } }, "call2": { "callOrder": 0, "stageNumber": 9, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/orgs/${id}/members?role=admin&per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "entKeyField": "entitlement_value", "acctIdPath": "id", "privilegeParams": { "attrName": "Permission", "attrValue": "admin" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } }, "call3": { "callOrder": 0, "stageNumber": 10, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/orgs/${id}/outside_collaborators?per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "entKeyField": "entitlement_value", "acctIdPath": "id", "privilegeParams": { "attrName": "Permission", "attrValue": "outside_collaborator" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } } } }, "Team": { "call": { "call1": { "callOrder": 0, "stageNumber": 11, "inputParams": { "entitlementname": "Organization", "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/teams/${id}/members?role=member&per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "entKeyField": "entitlementID", "acctIdPath": "id", "privilegeParams": { "attrName": "Permission", "attrValue": "member" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } }, "call2": { "callOrder": 1, "stageNumber": 12, "inputParams": { "entitlementname": "Organization", "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://api.github.com/teams/${id}/members?role=maintainer&per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "entKeyField": "entitlementID", "acctIdPath": "id", "privilegeParams": { "attrName": "Permission", "attrValue": "maintainer" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } } } }, "Repository": { "call": { "call1": { "callOrder": 0, "stageNumber": 13, "inputParams": { "entitlementname": "Organization", "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "${id}/collaborators?per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "entKeyField": "customproperty1", "acctIdPath": "id", "privilegeParams": { "attrName": "Permission", "attrValue": "member" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } }, "call2": { "callOrder": 1, "stageNumber": 14, "inputParams": { "entitlementname": "Organization", "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "${id}/collaborators?permission=admin&per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "acctKeyField": "accountID", "acctIdPath": "id", "entKeyField": "customproperty1", "ownerIdPath": "login", "ownerKeyField": "username", "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } }, "call3": { "callOrder": 2, "stageNumber": 15, "inputParams": { "entitlementname": "Organization", "statusFilter": "(ev.status = 6 or ev.status = 1)" }, "acctEntMappingTypeParam": { "mappingType": "ENT2PRIVREVERSE", "entitlementName": "Team" }, "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "${id}/teams?per_page=100&page=1", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "", "entKeyField": "customproperty1", "entIdPath": "url", "privilegeParams": { "attrName": "Permission", "attrValuePath": "permission" }, "pagination": { "nextUrl": { "nextUrlPath": "${headers?.Link==null?'':headers?.Link?.contains('next')?headers?.Link?.split(',')?.size()==2?headers?.Link?.split(',')[0]?.replace('<', '')?.replace('>; rel=\"next\"','')?.trim():headers?.Link?.split(',')[1].replace('<', '').replace('>; rel=\"next\"','').trim():''}" } } } } } } }, "globalSettingParams": { "globalTriggerParams": { "maxLoopCountForLastTrigger": 500, "lastTriggerCompletionSleep": 50000, "lastTriggerCompletionIntermediateSleep": 50000 }, "supportedEntitlementTypes": [ { "Organization": { "custompropertyLabels": { "customproperty3": "Tags", "customproperty4": "ID", "customproperty6": "Provision VM Agent", "customproperty7": "Enable Automatic Updates" } }, "Team": { "custompropertyLabels": { "customproperty3": "Tags", "customproperty4": "ID", "customproperty6": "Provision VM Agent", "customproperty7": "Enable Automatic Updates" } }, "Repository": { "custompropertyLabels": { "customproperty3": "Tags", "customproperty4": "ID", "customproperty6": "Provision VM Agent", "customproperty7": "Enable Automatic Updates" } } } ] } }