This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
dcm_log.json
executable file
·72 lines (72 loc) · 4.3 KB
/
dcm_log.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"script":{
"released":"2019-08-24",
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC",
"icon":"security",
"title":"CM360 Log Audit",
"description":"Downloads Campaign manager logs and allows audits.",
"image":"https://google.github.io/starthinker/static/barnacle.png",
"sample":"https://datastudio.google.com/open/1gjxHm0jUlQUd0jMuxaOlmrl8gOX1kyKT",
"test":"https://github.com/google/starthinker/blob/master/tests/dcm_log.json",
"from":["cm360"],
"to":["datastudio", "bigquery" ],
"pitches":[
"Meet contractual access reporting information.",
"Reduce unauthorized use of CM accounts and assets.",
"Audit user access within CM.",
"Prevent malicious user access / behavior."
],
"impacts":{
"spend optimization":0,
"spend growth":0,
"time savings":90,
"account health":100,
"csat improvement":90
},
"instructions":[
"Wait for **BigQuery->{field:recipe_project}->{field:recipe_slug}->CM_...** to be created.",
"Wait for **BigQuery->{field:recipe_project}->{field:recipe_slug}->Barnacle_...** to be created, then copy and connect the following data sources.",
"Join the [StarThinker Assets Group](https://groups.google.com/d/forum/starthinker-assets) to access the following assets",
"Copy [Barnacle Profile Advertiser Map](https://datastudio.google.com/open/1a6K-XdPUzCYRXZp1ZcmeOUOURc9wn2Jj) and connect.",
"Copy [Barnacle Profile Campaign Map](https://datastudio.google.com/open/1NEzrQWWnPjkD90iUwN-ASKbVBzoeBdoT) and connect.",
"Copy [Barnacle Profile Site Map](https://datastudio.google.com/open/1v_GRaitwPaHHKUzfJZYNBhzotvZ-bR7Y) and connect.",
"Copy [Barnacle Profiles Connections](https://datastudio.google.com/open/14tWlh7yiqzxKJIppMFVOw2MoMtQV_ucE) and connect.",
"Copy [Barnacle Report Delivery Profiles](https://datastudio.google.com/open/1mavjxvHSEPfJq5aW4FYgCXsBCE5rthZG) and connect.",
"Copy [Barnacle Roles Duplicates](https://datastudio.google.com/open/1Azk_Nul-auinf4NnDq8T9fDyiKkUWD7A) and connect.",
"Copy [Barnacle Roles Not Used](https://datastudio.google.com/open/1ogoofpKtqkLwcW9qC_Ju_JvJdIajsjNI) and connect.",
"Copy [Barnacle Site Contacts Profiles](https://datastudio.google.com/open/1xLgZPjOPDtmPyEqYMiMbWwMI8-WTslfj) and connect.",
"If reports checked, copy [Barnacle Profile Report Map](https://datastudio.google.com/open/1-YGDiQPDnk0gD78_QOY5XdTXRlTrLeEq) and connect.",
"Copy [Barnacle Report](https://datastudio.google.com/open/1gjxHm0jUlQUd0jMuxaOlmrl8gOX1kyKT).",
"When prompted choose the new data sources you just created.",
"Or give these intructions to the client."
],
"authors":["kenjora@google.com"]
},
"setup":{
"day":["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
"hour":[1, 2]
},
"tasks":[
{ "dataset":{
"description":"The dataset will hold log table, Create it exists.",
"hour":[1],
"auth":{"field":{ "name":"auth_write", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for writing data." }},
"dataset":{"field":{ "name":"recipe_slug", "kind":"string", "order":4, "default":"", "description":"Name of Google BigQuery dataset to create." }}
}},
{ "dcm_log":{
"description":"Will create tables with format CM_* to hold each endpoint via a call to the API list function. Exclude reports for its own task.",
"hour":[2],
"auth":{"field":{ "name":"auth_read", "kind":"authentication", "order":0, "default":"user", "description":"Credentials used for reading data." }},
"accounts":{
"single_cell":true,
"values":{"field":{ "name":"accounts", "kind":"integer_list", "order":2, "default":[], "description":"Comma separated CM account ids." }}
},
"days":{"field":{ "name":"days", "kind":"integer", "order":3, "default":7, "description":"Number of days to backfill the log, works on first run only." }},
"out":{
"auth":{"field":{ "name":"auth_write", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for writing data." }},
"dataset":{"field":{ "name":"recipe_slug", "kind":"string", "order":5, "default":"", "description":"Google BigQuery dataset to create tables in." }}
}
}}
]
}