Forsetti like library for other cloud service providers

I am doing a survey on various security implementations implemented by Cloud Service providers for end users.

I came across Forseti intelligent agents an open source anomaly detection module in Google. Google uses a open source tool forsetti intelligent agents https://cloud.google.com/solutions/partners/forseti-firewall-rules-anomalies

I wanted to understand if this is module is for end user or for the platform provider. If this module is used by the customers of Google then is there a module or library like Forsetti equivalent for Microsoft Azure ,Oracle and Amazon. If they are then I want to know what are they.

Moving Document Library to a subsite in SharePoint

Currently, we have Document Libraries created in SharePoint Online and would like to move them using Powershell to its own Subsite. The reason we would like to move them is that we would like to keep the version history. Since we are dealing with 1000s of files, I would like to use Powershell to complete this task.

I am currently connecting to my SharePoint site using:

Connect-PnPOnline -Url “Sitename” -UseWebLogin

Here is where I need assistance. I am trying to use Move-PnPFolder but I am not sure how to write a command that would define the source, destination, and move of all files in the document library to a subsite that I have manually created.

Help please?

Open SharePoint Library file directly through hyperlink

I need to open the first pdf file in a library through a hyperlink on my homepage. Currently I have set the URL to the Library view so that the end user can see the file in library and open it, however I need to open the first file directly rather then going to library and clicking it.

In the library there will be multiple files, I have created a view to get only the last uploaded file.

Now how do I get the URL for the file to open directly since the file name can change.

Working on Sharepoint online

SPO – Set Document Library as Site’s Homepage

I want users to automatically be directed to the Document Library when visiting a Sharepoint Site (sites/sitename/Shared%20Documents/Forms/AllItems.aspx). These are Office 365 group sites being used primarily for file sharing/syncing.

Using a page that contains the document library web part does not suffice as the web part does not include all the file and folder functions.

If I use Pages > +New > Link and use the document library URL, the resulting link opens a download of the URL shortcut when set as the homepage.

I see no available SPO cmdlets or parameters of existing cmdlets that allow setting the home page similar to Set-SPOHomeSite. This cmdlet seems to only set the global home site for the tenant, not for a specific site, and if I try to use Connect-SPOService on a specific /sites/ it fails to authenticate. I was hoping for something like:

Set-SPOSite -Identity https://tenant.sharepoint.com/sites/sitename -HomePageURL https://tenant.sharepoint.com/sites/sitename/Shared%20Documents/Forms/AllItems.aspx

Set-PnPGroupPermissions library still accessible

I want to break inheritance to a library and then remove members and visitors group. The code below works apart from the fact the library is still accessible but the content is not. The Quick launch also shows the link to the library, but no documents are visible. When I use the UI to break inheritance and remove the said groups, the library is not visible, so can’t see why the code is not doing the same. Any ideas please?

# Break permissions inheritance for the library $  list.BreakRoleInheritance($  true, $  true) $  list.Update() $  list.Context.Load($  list) $  list.Context.ExecuteQuery() Write-Host -ForegroundColor GReen "Unique permissions set on library" $  listTitle  # Remove Member and Visitor Groups foreach ($  y in $  SiteGroups) { #$  MemberGroup = $  title + " Members" #$  VisitorGroup = $  Title + " Visitors"     if ($  y.loginname -like "*Members") {         $  SiteMembers = $  y.loginname         Set-PnPGroupPermissions -Identity $  SiteMembers -List $  listTitle -RemoveRole "Contribute" -ErrorAction silentlycontinue         Write-Host -ForegroundColor Green "Member Group removed!"     }     If ($  y.loginname -like "*Visitors") {         $  SiteVisitors = $  y.loginname         Set-PnPGroupPermissions -Identity $  SiteVisitors -List $  listTitle -RemoveRole "Read" -erroraction silentlycontinue         Write-Host -ForegroundColor Green "Visitor Group removed!"     }  }        

In a Sharepoint Wiki Page Library can I make a custom numbered list or bulleted list format?

In a Sharepoint Wiki Page Library the bullet and numbered list formats appear to be locked down to one specific, uneditable format.

Is there anyway to change this and create a custom format? Specifically I would like to chage the numbering from

  1. List item 1
  2. List item 2
    1. First sub list item
    2. Second sub list item
  3. List item 3

to

  1. List item 1
  2. List item 2

    a. First sub list item

    b. Second sub list item

  3. List item 3

I’m using

Office 365 Business v 1804 build 9226.2114

Google chrome Version 65.0.3325.181 (Official Build) (64-bit)

SP 2013 document library custom view webpart

We have a requirement to display most recent uploaded file in a document repository in a separate view on the home page.

For example we have Document_Library_1 with files file_new, file_old1, file_old2… we need to have a custom custom view or dashboard on homepage, where the user can access the most recent reports.

enter image description here

Could someone please point me in the right direction on how to achieve this, is custom webpart a solution or the standard view could be customized?

Get the FieldValues of a Document in a Document Library (SharePoint Online) c#

connecting to a SharePoint online tenant (ctx works fine) I want to get all items which match a certain criteria ([“Status”] == “Out of Synch”) then load the ListItem Property “JobReference” at the same time but I keep getting Value does not fall within the expected range.

List sourceLibary = web.Lists.GetByTitle("Timer Job Source Library");         string camlString = @"<View><ViewFields>< FieldRef Name = 'Status' />< FieldRef Name='JobReference' /></ViewFields><Query><Where><Eq>             <FieldRef Name='Status' /><Value Type='Text'>Out of Synch</Value>         </Eq></Where></Query></View>";         CamlQuery query = new CamlQuery();         query.ViewXml = camlString;         ListItemCollection sourceItems = sourceLibary.GetItems(query);         ctx.Load(sourceItems, si => si.Include(i => i.File, i => i["JobReference"]));         ctx.ExecuteQuery(); 

I create the field myself earlier in the code with no issues

string jobNameFieldXml = "<Field ID='{620CF30A-7551-4D8C-8FE6-75C0C96FA764}' Type='Text' Name='JobReference' StaticName='JobReference' DisplayName='Job Reference' />"; 

I have then tried changing ctx.Load() to the below but I always get errors?

ctx.Load(sourceItems, si => si.Include(i => i.File, i => i.File.ListItemAllFields.FieldValues["JobReference"])); 

or

ctx.Load(sourceItems, si => si.Include(i => i.File, i => i.File.ListItemAllFields["JobReference"])); 

or

ctx.Load(sourceItems, si => si.Include(i => i.File, i => i.FieldValues["JobReference"])); 

EDIT

So I found if I load the parts on the item separate it works? This makes the whole process very chatty? does anyone know why, maybe I misunderstand the return of the getItems() query or how .Include() works?

Working

foreach (ListItem item in sourceItems)         {             ctx.Load(item, i => i.File, i => i["JobReference"]);             ctx.ExecuteQuery();         } 

Tia!