Code Monkey home page Code Monkey logo

Comments (1)

buidav avatar buidav commented on August 25, 2024

2.1

ReportDetails2_1(Methods, OrgUnit) := Details if {
    Methods == "ONLY_SECURITY_KEY"
    Details := concat("", ["Allowable second factors is set to only security key for users in ", OrgUnit])
}

ReportDetails2_1(Methods, OrgUnit) := Details if {
    Methods == "ANY"
    Details := concat("", ["Allowable second factors is set to any for users in ", OrgUnit])
}

ReportDetails2_1(Methods, OrgUnit) := Details if {
    Methods == "NO_TELEPHONY"
    Details := concat("", ["Allowable second factors is set to any except verification codes via text/phone call for users in ", OrgUnit])
}
ReportDetails2_3(Status, OrgUnit) := Details if {
    Status == true
    Details := concat("", ["Post-SSO verification is enabled for users in ", OrgUnit])
}

ReportDetails2_3(Status, OrgUnit) := Details if {
    Status == false
    Details := concat("", ["Post-SSO verification is disabled for users in ", OrgUnit])
}

2.4,

"ReportDetails": concat(" ", ["Session duration is limited to", LastEvent.NewValue, "seconds for users in", TopLevelOU]),

2.5

"ReportDetails": concat("", ["Minimum password length is set to ", LastEvent.NewValue, " for users in ", LastEvent.OrgUnit]),

2.13

AppsAllowingTakout[App] {
    Events := FilterEvents("UserTakeoutSettingsProto User Takeout ")  
    App := Apps[_]
    Filtered := [Event | Event := Events[_]; Event.AppName == App]
    LastEvent := GetLastEvent(Filtered)
    LastEvent.NewValue != "Disabled"
}

ReportDetails2_13(Status) = Details if {
    Status == false
    Details := concat("", ["For apps with individual admin control: The following apps allow takeout: ", concat(", ", AppsAllowingTakout)])
}

from scubagoggles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.